]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging: octeon: fix restricted __be16 degrades to integer
authorWambui Karuga <wambui.karugax@gmail.com>
Tue, 15 Oct 2019 08:47:31 +0000 (11:47 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Oct 2019 16:35:01 +0000 (18:35 +0200)
commitd9cceb24b407d57229d45853f9c399623e768d39
tree8b650c56763d58819e9d29abfc6f3313fb55b272
parentf57ff0a9b806ebce507e699e4a4ee2c6f06178fc
staging: octeon: fix restricted __be16 degrades to integer

Add cast to fix the following sparse warning:
warning: restricted __be16 degrades to integer

Signed-off-by: Wambui Karuga <wambui.karugax@gmail.com>
Link: https://lore.kernel.org/r/20191015084731.8514-1-wambui.karugax@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/ethernet-tx.c