From: Simon Glass Date: Wed, 14 Jun 2017 21:28:29 -0600 Subject: [U-Boot] [PATCH v2 10/29] dm: scsi: Rename struct SCSI_cmd_block to struct scsi_cmd In-Reply-To: <20170615032848.9343-1-sjg@chromium.org> References: <20170615032848.9343-1-sjg@chromium.org> Message-ID: <20170615032848.9343-11-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This name should be lower case. Also the _block suffix is superfluous. Rename it. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None drivers/usb/emul/sandbox_flash.c | 2 +- include/scsi.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/emul/sandbox_flash.c b/drivers/usb/emul/sandbox_flash.c index 73fa82b8e6..98d20c0bc1 100644 --- a/drivers/usb/emul/sandbox_flash.c +++ b/drivers/usb/emul/sandbox_flash.c @@ -244,7 +244,7 @@ static int handle_ufi_command(struct sandbox_flash_plat *plat, struct sandbox_flash_priv *priv, const void *buff, int len) { - const struct SCSI_cmd_block *req = buff; + const struct scsi_cmd *req = buff; switch (*req->cmd) { case SCSI_INQUIRY: { diff --git a/include/scsi.h b/include/scsi.h index f94b2ef514..182665dd0c 100644 --- a/include/scsi.h +++ b/include/scsi.h @@ -7,7 +7,7 @@ #ifndef _SCSI_H #define _SCSI_H -typedef struct SCSI_cmd_block{ +typedef struct scsi_cmd{ unsigned char cmd[16]; /* command */ /* for request sense */ unsigned char sense_buf[64] -- 2.13.1.518.g3df882009-goog