aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2017-09-22 20:48:08 +0000
committerMark Brown <[email protected]>2017-09-25 16:09:44 +0000
commitb0d6e097b922ac7f538623c52794d9d63d6ee378 (patch)
tree09fbbd7b76de5daf5ec73b85db9cd514ba714cfb /net/unix/af_unix.c
parentspi: sprd-adi: checking for NULL instead of IS_ERR() (diff)
downloadkernel-b0d6e097b922ac7f538623c52794d9d63d6ee378.tar.gz
kernel-b0d6e097b922ac7f538623c52794d9d63d6ee378.zip
spi: sprd-adi: silence an uninitialized variable warning
If of_get_property() fails then "size" is uninitialized and it leads to a static checker warning: drivers/spi/spi-sprd-adi.c:288 sprd_adi_hw_init() error: uninitialized symbol 'size'. We can silence the warning by re-arranging the order of these checks. It obviously doesn't affect runtime at all. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions