summaryrefslogtreecommitdiff
path: root/scripts/kernel-doc
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2016-08-21 11:28:25 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2016-08-31 05:22:52 +0300
commit51f9039ffd751dee54fe26609df645bfd128b1d0 (patch)
treec954f7ab943546be5a309f298fa7c62bf181a68b /scripts/kernel-doc
parentf8630bd7e2185d175f76b38b36609c45144e2d15 (diff)
downloadlinux-51f9039ffd751dee54fe26609df645bfd128b1d0.tar.xz
scsi: megaraid_sas: Fix the search of first memory bar
The 2nd parameter of 'find_first_bit' is the number of bits to search. In this case, we are passing 'sizeof(unsigned long)' which is likely to be 4. It is likely that the number of bits in a long was expected here, so use BITS_PER_LONG instead. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Acked-by: Sumit Saxena <sumit.saxena@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/kernel-doc')
0 files changed, 0 insertions, 0 deletions