diff options
author | Javier Rodriguez <jrodbar@yahoo.es> | 2017-02-14 18:16:22 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-06 09:16:58 +0100 |
commit | efe96779e55eb59c1d22c9b89b655b639aea6c99 (patch) | |
tree | 09a08f58a8a14fa22d5ea556f2228e757f0c6a98 /drivers/staging/gdm724x/gdm_endian.h | |
parent | Staging: comedi: drivers: comedi_test: Avoid multiple line dereference (diff) | |
download | linux-dev-efe96779e55eb59c1d22c9b89b655b639aea6c99.tar.xz linux-dev-efe96779e55eb59c1d22c9b89b655b639aea6c99.zip |
staging: gdm724x: modify icmp6_checksum for returning a correct data type.
The icmp6_checksum was returning an invalid data type as the expected type
is __sum16. For returning such data type, icmp6_checksum, now, is using
the kernel functions for computing the checksum.
Here, the sparse message:
drivers/staging/gdm724x/gdm_lte.c:311:39: warning: incorrect type in assignment (different base types)
drivers/staging/gdm724x/gdm_lte.c:311:39: expected restricted __sum16 [addressable] [assigned] [usertype] icmp6_cksum
drivers/staging/gdm724x/gdm_lte.c:311:39: got int
Signed-off-by: Javier Rodriguez <jrodbar@yahoo.es>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/gdm724x/gdm_endian.h')
0 files changed, 0 insertions, 0 deletions