[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <160262862435.3018.4642298428321942870.b4-ty@oracle.com>
Date: Tue, 13 Oct 2020 18:42:46 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: "James E . J . Bottomley" <jejb@...ux.ibm.com>,
Matthew Wilcox <willy@...radead.org>,
Colin King <colin.king@...onical.com>,
linux-scsi@...r.kernel.org
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] scsi: sym53c8xx_2: fix sizeof mismatch
On Tue, 6 Oct 2020 12:02:52 +0100, Colin King wrote:
> An incorrect sizeof is being used, struct sym_ccb ** is not correct,
> it should be struct sym_ccb *. Note that since ** is the same size as
> * this is not causing any issues. Improve this fix by using the
> idiom sizeof(*np->ccbh) as this allows one to not even reference the
> type of the pointer.
>
> [ Note: this is an ancient 2005 buglet, the sha is from the
> tglx/history repo ]
Applied to 5.10/scsi-queue, thanks!
[1/1] scsi: sym53c8xx_2: Fix sizeof() mismatch
https://git.kernel.org/mkp/scsi/c/1725ba8d6ff1
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists