aboutsummaryrefslogtreecommitdiff
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2021-01-22 10:33:10 +0800
committerMartin K. Petersen <[email protected]>2021-03-04 17:36:59 -0500
commit2d13b1ea9f4affdaa7af0e0e4a1358d28f80c54f (patch)
tree696d93ba7b70a2c7b7e631e1e9ac5d500c5f95c4 /include/linux/overflow.h
parentcbb9950b41dd9dfb7c2be3429ba09f83b8b1ff98 (diff)
scsi: sbitmap: Add sbitmap_calculate_shift() helper
Move code for calculating default shift into a public helper which can be used by SCSI. Link: https://lore.kernel.org/r/[email protected] Cc: Omar Sandoval <[email protected]> Cc: Kashyap Desai <[email protected]> Cc: Sumanesh Samanta <[email protected]> Cc: Ewan D. Milne <[email protected]> Tested-by: Sumanesh Samanta <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Ming Lei <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions