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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <2f8c5516-210e-83a4-669f-9bd9316a845f@candelatech.com>
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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ