[<prev] [next>] [day] [month] [year] [list]
Message-ID: <d16fde19-04fe-63e2-686e-316a4efc1dbf@cjb.hu>
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