summaryrefslogtreecommitdiffstats
path: root/net/rds
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-10-25 11:51:26 -0700
committerJakub Kicinski <kuba@kernel.org>2022-10-26 19:07:43 -0700
commite0b3ef17f45eb8a6860189306cf0ce5f509a043b (patch)
tree54931c0b1bfa303b7e6b9a56dcf9567f765698a5 /net/rds
parentd1e96cc4fbe031c19d6fd9d8d2e63c03452fa290 (diff)
downloadlinux-stable-e0b3ef17f45eb8a6860189306cf0ce5f509a043b.tar.gz
linux-stable-e0b3ef17f45eb8a6860189306cf0ce5f509a043b.tar.bz2
linux-stable-e0b3ef17f45eb8a6860189306cf0ce5f509a043b.zip
phylink: require valid state argument to phylink_validate_mask_caps()
state is deferenced earlier in the function, the NULL check is pointless. Since we don't have any crash reports presumably it's safe to assume state is not NULL. Fixes: f392a1846489 ("net: phylink: provide phylink_validate_mask_caps() helper") Reviewed-by: Sean Anderson <sean.anderson@seco.com> Link: https://lore.kernel.org/r/20221025185126.1720553-1-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/rds')
0 files changed, 0 insertions, 0 deletions