Search Linux Wireless

Re: [PATCH] rfkill: detect bogus double-registering

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +	list_for_each_entry(p, &rfkill_list, node) {
> +		if (p == rfkill)
> +			return -EEXIST;
> +		set_bit(p->type, &seen);

You should WARN_ON so it can get fixed.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux