[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1a7ndpcqh.fsf@oracle.com>
Date: Tue, 16 Oct 2018 21:45:42 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Nathan Chancellor <natechancellor@...il.com>
Cc: Anil Gurumurthy <anil.gurumurthy@...gic.com>,
Sudarsana Kalluru <sudarsana.kalluru@...gic.com>,
"James E.J. Bottomley" <jejb@...ux.vnet.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
Nick Desaulniers <ndesaulniers@...gle.com>
Subject: Re: [PATCH v2] scsi: bfa: Avoid implicit enum conversion in bfad_im_post_vendor_event
Nathan,
> Clang warns when one enumerated type is implicitly converted to another.
>
> drivers/scsi/bfa/bfa_fcs_lport.c:379:26: warning: implicit conversion
> from enumeration type 'enum bfa_lport_aen_event' to different
> enumeration type 'enum bfa_ioc_aen_event' [-Wenum-conversion]
> BFA_AEN_CAT_LPORT, event);
> ^~~~~
Applied to 4.20/scsi-queue.
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists