diff options
| author | Yang Yingliang <[email protected]> | 2022-03-05 09:04:30 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2022-03-16 17:38:15 +0000 |
| commit | 2b1d0a242a0038f65e10d77261b7cbcb6bb5b18a (patch) | |
| tree | b1d1e9d89d5a14634cab6a6e944e5bc26eeb3d42 /net/unix/af_unix.c | |
| parent | ice: Fix inconsistent indenting in ice_switch (diff) | |
| download | kernel-2b1d0a242a0038f65e10d77261b7cbcb6bb5b18a.tar.gz kernel-2b1d0a242a0038f65e10d77261b7cbcb6bb5b18a.zip | |
ice: fix return value check in ice_gnss.c
kthread_create_worker() and tty_alloc_driver() return ERR_PTR()
and never return NULL. The NULL test in the return value check
should be replaced with IS_ERR().
Fixes: 43113ff73453 ("ice: add TTY for GNSS module for E810T device")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Yang Yingliang <[email protected]>
Tested-by: Gurucharan <[email protected]> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
