linux_dsm_epyc7002/drivers/scsi/qedf
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
..
drv_fcoe_fw_funcs.c
drv_fcoe_fw_funcs.h
drv_scsi_fw_funcs.c
drv_scsi_fw_funcs.h
Kconfig
Makefile
qedf_attr.c
qedf_dbg.c
qedf_dbg.h scsi: Fix various misspellings of "connect" 2019-10-24 21:22:32 -04:00
qedf_debugfs.c
qedf_els.c
qedf_fip.c
qedf_hsi.h
qedf_io.c
qedf_main.c scsi: qedf: Use pci_get_dsn() 2020-03-05 17:36:24 -08:00
qedf_version.h
qedf.h