From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?TWFkYXJhc3N5IEzDoXN6bMOz?= Subject: include/uapi/linux/ethtool.h problem Date: Sun, 1 Apr 2018 16:57:22 +0200 Message-ID: References: <82efe0c7-c000-fea1-984b-f549de269aac@cjb.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2; format=flowed Content-Transfer-Encoding: 8bit To: netdev@vger.kernel.org Return-path: Received: from tube9.cjb.hu ([104.192.169.94]:40634 "EHLO tube9.cjb.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753578AbeDAP0P (ORCPT ); Sun, 1 Apr 2018 11:26:15 -0400 Received: from 92-249-135-148.pool.digikabel.hu ([92.249.135.148] helo=[192.168.0.105]) by tube9.cjb.hu with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1f2eQD-0008Ih-PQ for netdev@vger.kernel.org; Sun, 01 Apr 2018 09:57:30 -0500 In-Reply-To: <82efe0c7-c000-fea1-984b-f549de269aac@cjb.hu> Content-Language: hu Sender: netdev-owner@vger.kernel.org List-ID: 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