diff options
author | Ming Lei <ming.lei@redhat.com> | 2021-01-22 10:33:10 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-03-04 17:36:59 -0500 |
commit | 2d13b1ea9f4affdaa7af0e0e4a1358d28f80c54f (patch) | |
tree | 696d93ba7b70a2c7b7e631e1e9ac5d500c5f95c4 /samples/acrn | |
parent | cbb9950b41dd9dfb7c2be3429ba09f83b8b1ff98 (diff) | |
download | linux-2d13b1ea9f4affdaa7af0e0e4a1358d28f80c54f.tar.gz linux-2d13b1ea9f4affdaa7af0e0e4a1358d28f80c54f.tar.bz2 linux-2d13b1ea9f4affdaa7af0e0e4a1358d28f80c54f.zip |
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/20210122023317.687987-7-ming.lei@redhat.com
Cc: Omar Sandoval <osandov@fb.com>
Cc: Kashyap Desai <kashyap.desai@broadcom.com>
Cc: Sumanesh Samanta <sumanesh.samanta@broadcom.com>
Cc: Ewan D. Milne <emilne@redhat.com>
Tested-by: Sumanesh Samanta <sumanesh.samanta@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'samples/acrn')
0 files changed, 0 insertions, 0 deletions