diff options
author | M Chetan Kumar <m.chetan.kumar@linux.intel.com> | 2022-11-24 13:37:46 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-11-28 14:31:59 +0300 |
commit | 985a02e75881b73a43c9433a718b49d272a9dd6b (patch) | |
tree | 004f099563f08c7ac976123c26a5886acfe10482 /drivers/net/wwan/iosm/iosm_ipc_protocol.h | |
parent | 7642cc28fd37a15feacff0ccf0e5a8466630df5d (diff) | |
download | linux-985a02e75881b73a43c9433a718b49d272a9dd6b.tar.xz |
net: wwan: iosm: fix kernel test robot reported error
sparse warnings - iosm_ipc_mux_codec.c:1474 using plain
integer as NULL pointer.
Use skb_trim() to reset skb tail & len.
Fixes: 9413491e20e1 ("net: iosm: encode or decode datagram")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: M Chetan Kumar <m.chetan.kumar@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_protocol.h')
0 files changed, 0 insertions, 0 deletions