Search Linux Wireless

Re: [RFC] zd1211rw: remove zd_addr_t typedef for a simple u16

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

 



Luis R. Rodriguez wrote:
The __nocast attribute is used to shut sparse up but we
don't need it, lets just use u16 directly.

Which warning does this remove?

The purpose of this system was (I think) to make it so that if you got addr and value in the wrong order in calls to e.g. zd_ioread16() then sparse would tell you about it. Looks like your patch would remove that protection?

Admittedly it is a bit of a strange thing and no excuse for programmers getting parameters in the wrong order.. if it needs to go then I'm happy with whatever you decide.

Daniel
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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