[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180623.104452.2046865225678747132.davem@davemloft.net>
Date: Sat, 23 Jun 2018 10:44:52 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: antoine.tenart@...tlin.com
Cc: f.fainelli@...il.com, andrew@...n.ch, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, thomas.petazzoni@...tlin.com,
alexandre.belloni@...tlin.com, quentin.schulz@...tlin.com,
allan.nielsen@...rosemi.com
Subject: Re: [PATCH net] net: mscc: make sparse happy
From: Antoine Tenart <antoine.tenart@...tlin.com>
Date: Fri, 22 Jun 2018 11:50:52 +0200
> This patch fixes a sparse warning about using an incorrect type in
> argument 2 of ocelot_write_rix(), as an u32 was expected but a __be32
> was given. The conversion to u32 is forced, which is safe as the value
> will be written as-is in the hardware without any modification.
>
> Fixes: 08d02364b12f ("net: mscc: fix the injection header")
> Signed-off-by: Antoine Tenart <antoine.tenart@...tlin.com>
Applied.
Powered by blists - more mailing lists