[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2424620c-7e8f-43ad-498f-966f26dc7e9f@gmail.com>
Date: Wed, 25 Sep 2019 20:18:05 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: Dan Carpenter <dan.carpenter@...cle.com>,
Florian Fainelli <f.fainelli@...il.com>
Cc: "David S. Miller" <davem@...emloft.net>,
bcm-kernel-feedback-list@...adcom.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net] net: broadcom/bcmsysport: Fix signedness in
bcm_sysport_probe()
On 9/25/2019 3:56 AM, Dan Carpenter wrote:
> The "priv->phy_interface" variable is an enum and in this context GCC
> will treat it as unsigned so the error handling will never be
> triggered.
>
> Fixes: 80105befdb4b ("net: systemport: add Broadcom SYSTEMPORT Ethernet MAC driver")
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Acked-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists