linux-stable/drivers/scsi/esas2r
Ilpo Järvinen 5532f24951 scsi: esas2r: Use FIELD_GET() to extract PCIe capability fields
Use FIELD_GET() to extract PCIe capability register fields instead of
custom masking and shifting. Also remove the unnecessary cast to u8, the
value in those fields always fits to u8.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20230913122748.29530-8-ilpo.jarvinen@linux.intel.com
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2023-09-13 21:01:59 -04:00
..
Kconfig
Makefile
atioctl.h scsi: esas2r: Use flex array destination for memcpy() 2022-09-06 22:24:37 -04:00
atvda.h
esas2r.h
esas2r_disc.c
esas2r_flash.c scsi: esas2r: Fix typo in comment 2022-05-23 23:24:09 -04:00
esas2r_init.c
esas2r_int.c
esas2r_io.c
esas2r_ioctl.c scsi: esas2r: Use FIELD_GET() to extract PCIe capability fields 2023-09-13 21:01:59 -04:00
esas2r_log.c
esas2r_log.h
esas2r_main.c scsi: esas2r: Declare SCSI host template const 2023-03-24 19:19:22 -04:00
esas2r_targdb.c
esas2r_vda.c