[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180522181512.39316-1-keescook@chromium.org>
Date: Tue, 22 May 2018 11:15:06 -0700
From: Kees Cook <keescook@...omium.org>
To: Jens Axboe <axboe@...nel.dk>
Cc: Kees Cook <keescook@...omium.org>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
James Bottomley <James.Bottomley@...senpartnership.com>,
Tejun Heo <tj@...nel.org>, Borislav Petkov <bp@...en8.de>,
"David S. Miller" <davem@...emloft.net>,
"Manoj N. Kumar" <manoj@...ux.vnet.ibm.com>,
"Matthew R. Ochs" <mrochs@...ux.vnet.ibm.com>,
Uma Krishnan <ukrishn@...ux.vnet.ibm.com>,
linux-block@...r.kernel.org, linux-ide@...r.kernel.org,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 0/6] block: Consolidate scsi sense buffer usage
This is a follow-up to commit f7068114d45e ("sr: pass down correctly
sized SCSI sense buffer") which further cleans up and removes needless
sense character array buffers and "struct request_sense" usage in favor
of the common "struct scsi_sense_hdr".
First, drop a bunch of unused sense buffers:
[PATCH 1/6] ide-cd: Drop unused sense buffers
[PATCH 2/6] scsi: cxlflash: Drop unused sense buffers
Next, split out struct scsi_sense_hdr:
[PATCH 3/6] block: Create scsi_sense.h for SCSI and ATAPI
Then move all request_sense usage to scsi_sense_hdr:
[PATCH 4/6] block: Consolidate scsi sense buffer usage
Finally add a build-time check to make sure we don't pass bad buffer sizes:
[PATCH 5/6] libata-scsi: Move sense buffers onto stack
[PATCH 6/6] scsi: Check sense buffer size at build time
-Kees
Powered by blists - more mailing lists