[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq18t2xr0tf.fsf@oracle.com>
Date: Tue, 16 Oct 2018 18:20:12 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Nathan Chancellor <natechancellor@...il.com>
Cc: qla2xxx-upstream@...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
Subject: Re: [PATCH] scsi: qla2xxx: Remove unnecessary self assignment
Nathan,
> Clang warns when a variable is assigned to itself.
>
> drivers/scsi/qla2xxx/qla_mbx.c:1514:4: warning: explicitly assigning
> value of variable of type 'uint64_t' (aka 'unsigned long long') to
> itself [-Wself-assign]
> l = l;
> ~ ^ ~
> 1 warning generated.
Applied to 4.20/scsi-queue, thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists