[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190927.100405.1303962323198385596.davem@davemloft.net>
Date: Fri, 27 Sep 2019 10:04:05 +0200 (CEST)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: jaswinder.singh@...aro.org, ilias.apalodimas@...aro.org,
ast@...nel.org, daniel@...earbox.net, jakub.kicinski@...ronome.com,
hawk@...nel.org, john.fastabend@...il.com, kafai@...com,
songliubraving@...com, yhs@...com, netdev@...r.kernel.org,
bpf@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net] net: netsec: Fix signedness bug in netsec_probe()
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Wed, 25 Sep 2019 13:56:38 +0300
> The "priv->phy_interface" variable is an enum and in this context GCC
> will treat it as an unsigned int so the error handling is never
> triggered.
>
> Fixes: 533dd11a12f6 ("net: socionext: Add Synquacer NetSec driver")
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied.
Powered by blists - more mailing lists