lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 14 Oct 2016 12:46:38 -0700 From: Ben Greear <greearb@...delatech.com> To: netdev <netdev@...r.kernel.org> Subject: ethtool.h compile warning on c++ I am getting warnings about sign missmatch. Maybe make SPEED_UNKNOWN be ((__u32)(0xFFFFFFFF)) ? from ethtool.h: #define SPEED_UNKNOWN -1 static inline int ethtool_validate_speed(__u32 speed) { return speed <= INT_MAX || speed == SPEED_UNKNOWN; } Thanks, Ben -- Ben Greear <greearb@...delatech.com> Candela Technologies Inc http://www.candelatech.com