Files
android_kernel_xiaomi_sm8450/drivers/scsi
Jacob Keller dbce64cbee scsi: qedf: Use pci_get_dsn()
Replace the open-coded implementation for reading the PCIe DSN with
pci_get_dsn().

The original code used a for-loop that looped over each of the 8 bytes
and copied them into a temporary buffer. pci_get_dsn() uses two calls to
pci_read_config_dword, and correctly bitwise ORs them into a u64. Thus,
we can simplify the snprintf significantly using %016llX on a u64 value.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-03-05 17:36:24 -08:00
..
2019-09-30 23:59:53 -04:00
2020-03-05 17:36:24 -08:00
2017-12-04 20:32:53 -05:00
2018-06-19 22:02:25 -04:00
2019-11-12 22:21:35 -05:00
2018-12-18 23:19:21 -05:00
2019-01-08 21:58:35 -05:00
2019-01-08 21:58:35 -05:00
2019-06-18 19:46:18 -04:00
2018-11-06 21:31:28 -05:00
2020-01-06 20:59:04 -07:00
2018-06-19 22:02:25 -04:00
2018-12-18 23:19:21 -05:00