[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <32130f556f09408686626c50c70b39c9@AcuMS.aculab.com>
Date: Thu, 15 Mar 2018 11:40:05 +0000
From: David Laight <David.Laight@...LAB.COM>
To: "'Martin K. Petersen'" <martin.petersen@...cle.com>,
Stephen Kitt <steve@....org>
CC: "hare@...e.com" <hare@...e.com>,
"linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
"kernel-hardening@...ts.openwall.com"
<kernel-hardening@...ts.openwall.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] bfa: remove VLA
> > - sizeof(wwn_t[iocmd->nports])) != BFA_STATUS_OK) {
> > + sizeof(wwn_t) * iocmd->nports) != BFA_STATUS_OK) {
>
> These parentheses made me blurry eyed but it's actually OK.
iocmd->nports * sizeof(wwn_t)) != BFA_STATUS_OK) {
is easier to focus on :-)
David
Powered by blists - more mailing lists