Re: Broadcom-sta (aka wl) -- Error! Bad return status for module build on kernel

2015-02-28 Thread Andrey Skvortsov
installĀ“ i get this error: Error! Bad return status for module build on kernel: 4.0.0-rc1-eudyptula-20150228+ (x86_64) Consult /var/lib/dkms/broadcom-sta/5.100.82.112/build/make.log for more information. the make.log says: ... CFG80211 API is prefered for this kernel version

Broadcom-sta (aka wl) -- Error! Bad return status for module build on kernel

2015-02-28 Thread Lukas Singer
return status for module build on kernel: 4.0.0-rc1-eudyptula-20150228+ (x86_64) Consult /var/lib/dkms/broadcom-sta/5.100.82.112/build/make.log for more information. the make.log says: ... CFG80211 API is prefered for this kernel version Makefile:80: Neither CFG80211 nor Wireless Extension

Re: Broadcom-sta (aka wl) -- Error! Bad return status for module build on kernel

2015-02-28 Thread Andrey Skvortsov
build the kernel and i am able to boot it but i have issues with my wlan driver. when i run `$ sudo make installĀ“ i get this error: Error! Bad return status for module build on kernel: 4.0.0-rc1-eudyptula-20150228+ (x86_64) Consult /var/lib/dkms/broadcom-sta/5.100.82.112/build

ACCESS_ONCE usage inside llist_add_batch function

2015-02-28 Thread Cihangir Akturk
Reading the lib/llist.c file in the kernel sources, I came across the llist_add_bach function defined like this; bool llist_add_batch(struct llist_node *new_first, struct llist_node *new_last, struct llist_head *head) { struct llist_node *first; do {