[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190927.102106.1025434748772068784.davem@davemloft.net>
Date: Fri, 27 Sep 2019 10:21:06 +0200 (CEST)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: mdf@...nel.org, andrew@...n.ch, alex.williams@...com,
mcgrof@...nel.org, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net] net: nixge: Fix a signedness bug in nixge_probe()
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Wed, 25 Sep 2019 14:05:24 +0300
> The "priv->phy_mode" is an enum and in this context GCC will treat it
> as an unsigned int so it can never be less than zero.
>
> Fixes: 492caffa8a1a ("net: ethernet: nixge: Add support for National Instruments XGE netdev")
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied.
Powered by blists - more mailing lists