Search Linux Wireless

Re: [PATCH] hostap: Fix sparse warnings

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

 



On Thu, 2008-10-16 at 08:46 -0700, Larry Finger wrote:

> -	set_bit(PRISM2_INFO_PENDING_LINKSTATUS, &local->pending_info);
> +	set_bit(PRISM2_INFO_PENDING_LINKSTATUS, (ulong *)&local->pending_info);

Shouldn't you just do this instead?


--- hostapd_wlan.h
+++ hostapd_wlan.h
@@ ... @@
-	long pending_info;
+	unsigned long pending_info;

?

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