aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins
diff options
context:
space:
mode:
authorJustin Tee <[email protected]>2024-03-05 20:04:59 +0000
committerMartin K. Petersen <[email protected]>2024-03-10 22:56:44 +0000
commit18f7fe44bc79e67eccd4c118f10aa16647d446f8 (patch)
tree0f73f89109b745e763a9244b121213a1af0ff875 /scripts/gcc-plugins
parentscsi: lpfc: Use a dedicated lock for ras_fwlog state (diff)
downloadkernel-18f7fe44bc79e67eccd4c118f10aa16647d446f8.tar.gz
kernel-18f7fe44bc79e67eccd4c118f10aa16647d446f8.zip
scsi: lpfc: Define lpfc_nodelist type for ctx_ndlp ptr
In LPFC_MBOXQ_t data structure, the ctx_ndlp ptr shouldn't be defined as a generic void *ptr. It is named ctx_ndlp and it should only be used as an lpfc_nodelist *ptr. Due to the void* declaration, there have been abuses of ctx_ndlp for things not related to ndlp. So, set the ptr type for *ctx_ndlp as lpfc_nodelist. Remove all type casts on ctx_ndlp because it is no longer a void *ptr. Convert the abuse of ctx_ndlp for things not related to ndlps to use the void *context3 ptr. Signed-off-by: Justin Tee <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions