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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sun, 1 Apr 2018 16:57:22 +0200
From:   Madarassy László <madar@....hu>
To:     netdev@...r.kernel.org
Subject: include/uapi/linux/ethtool.h problem

Hi,

I have the following problem:

I included include/uapi/linux/mii.h from my source and when I compiled I
got this error:

ethtool.h:1556:35: error: comparison between signed and unsigned integer
expressions [-Werro
   return speed <= INT_MAX || speed == SPEED_UNKNOWN;

speed declared as unsigned int32, but SPEED_UNKNOWN defined to -1.

Without -Wno-sign-compare I can't compile.

Regards,
Laszlo

Powered by blists - more mailing lists