diff options
author | Wambui Karuga <wambui.karugax@gmail.com> | 2019-10-10 07:38:15 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-10 11:00:59 +0200 |
commit | fbf12784d3434ebd35a9712e649b52fd14d2fbb2 (patch) | |
tree | ad7e745409eadeddb2938c2f69e846dc73b64731 /drivers/staging/clocking-wizard | |
parent | 06f9c65a8dd46f375de62868e89eb645a76eb0fc (diff) |
staging: octeon: Fix incorrect type in assignment
Fix the following warning generated by sparse in
drivers/staging/octeon/ethernet-tx.c:
drivers/staging/octeon/ethernet-tx.c:563:50: warning: incorrect type in assignment (different base types)
drivers/staging/octeon/ethernet-tx.c:563:50: expected unsigned short [usertype] hw_chksum
drivers/staging/octeon/ethernet-tx.c:563:50: got restricted __wsum [usertype] csum
Warning generated by running:
make C=2 CF="-D__CHECK_ENDIAN__" drivers/staging/octeon/
Signed-off-by: Wambui Karuga <wambui.karugax@gmail.com>
Link: https://lore.kernel.org/r/20191010043815.14027-1-wambui.karugax@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/clocking-wizard')
0 files changed, 0 insertions, 0 deletions