aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorBaolin Wang <[email protected]>2017-10-25 11:25:09 +0000
committerMark Brown <[email protected]>2017-10-25 12:00:03 +0000
commit54e2fc28d9cf1be7dd2ebe74b20dc20cc2a3e55d (patch)
tree0529a9106aefb1366c480348b81e446e3db585a3 /net/unix/af_unix.c
parentspi: sprd-adi: fix platform_no_drv_owner.cocci warnings (diff)
downloadkernel-54e2fc28d9cf1be7dd2ebe74b20dc20cc2a3e55d.tar.gz
kernel-54e2fc28d9cf1be7dd2ebe74b20dc20cc2a3e55d.zip
spi: sprd: Fix the possible negative value of BIT()
When enabling the ADI hardware channels, if the channel id is 31, then we will get one negative value -1 for BIT() macro, which will write incorrect value to register. Fixes: 7e2903cb91df ("spi: Add ADI driver for Spreadtrum platform") Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Baolin Wang <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions