diff options
author | Quinn Tran <qutran@marvell.com> | 2022-01-10 06:02:13 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-01-25 05:57:31 +0100 |
commit | 73825fd7a37c1a685e9e9e27c9dc91ef1f3e2971 (patch) | |
tree | 64b698c4173cc63b7f71a55c4633f38a37bddcbb /drivers/scsi/qla2xxx/qla_def.h | |
parent | scsi: qla2xxx: Fix warning for missing error code (diff) | |
download | linux-73825fd7a37c1a685e9e9e27c9dc91ef1f3e2971.tar.xz linux-73825fd7a37c1a685e9e9e27c9dc91ef1f3e2971.zip |
scsi: qla2xxx: edif: Fix clang warning
Silence compile warning due to unaligned memory access.
qla_edif.c:713:45: warning: taking address of packed member 'u' of class or
structure 'auth_complete_cmd' may result in an unaligned pointer value
[-Waddress-of-packed-member]
fcport = qla2x00_find_fcport_by_pid(vha, &appplogiok.u.d_id);
Link: https://lore.kernel.org/r/20220110050218.3958-13-njavali@marvell.com
Cc: stable@vger.kernel.org
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
0 files changed, 0 insertions, 0 deletions