Search Linux Wireless

Build warning: net/wireless/reg.c:244:2: warning: the comparison will always evaluate as 'true'

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

 



Hi All,

While trying to build latest compat-drivers with old kernel version
3.0.60 build generates a warning:

/compat-drivers/net/wireless/reg.c:244:2: warning: the comparison will
always evaluate as 'true' for the address of 'core_request_world' will
never be NULL [-Waddress]

As a workaround this warning can be suppressed with pragma:
#pragma GCC diagnostic ignored "-Waddress"

but it is not a solution. Is it a known bug or maybe somebody has a
solution to this warning? Any suggestion is really appreciated.

--
Best regards,
Eugene
--
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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux