diff options
| author | Justin Tee <[email protected]> | 2023-06-14 17:59:44 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2023-06-15 01:57:48 +0000 |
| commit | 9cefd6e7e0a77b0fbca5c793f6fb6821b0962775 (patch) | |
| tree | 667912bc46d5cc886bd128539040f62a24b7db16 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | scsi: target: core: Fix error path in target_setup_session() (diff) | |
| download | kernel-9cefd6e7e0a77b0fbca5c793f6fb6821b0962775.tar.gz kernel-9cefd6e7e0a77b0fbca5c793f6fb6821b0962775.zip | |
scsi: lpfc: Fix incorrect big endian type assignment in bsg loopback path
The kernel test robot reported sparse warnings regarding incorrect type
assignment for __be16 variables in bsg loopback path.
Change the flagged lines to use the be16_to_cpu() and cpu_to_be16() macros
appropriately.
Signed-off-by: Justin Tee <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
