[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190927.101753.1158854931167184949.davem@davemloft.net>
Date: Fri, 27 Sep 2019 10:17:53 +0200 (CEST)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: radhey.shyam.pandey@...inx.com, alvaro.gamez@...ent.com,
michal.simek@...inx.com, linux@...linux.org.uk,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net] net: axienet: fix a signedness bug in probe
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Wed, 25 Sep 2019 13:59:11 +0300
> The "lp->phy_mode" is an enum but in this context GCC treats it as an
> unsigned int so the error handling is never triggered.
>
> Fixes: ee06b1728b95 ("net: axienet: add support for standard phy-mode binding")
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied.
Powered by blists - more mailing lists