Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
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

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.