Re: [PATCH] cmd: scsi: Drop duplicate leading scsi prefix
David Lechner <[email protected]> Mon, 3 Aug 2026 15:59:25 -0500
| Newsgroups | gmane.comp.boot-loaders.u-boot |
|---|---|
| Message-ID | <[email protected]> |
On 8/2/26 5:08 PM, Marek Vasut wrote:
> The SCSI command currently prints the following duplicate prefix:
>
> "
> => scsi
> scsi - SCSI sub-system
>
> Usage:
> scsi scsi info - show available SCSI devices
> ^^^^^^^^^
> scsi scan - (re-)scan SCSI bus
> "
>
> Drop one copy of the scsi prefix.
>
> Fixes: 460c322f13ec ("(re)enabled scsi commands do_scsi() and do_scsiboot() Patch by Denis Peter, 06 Dec 2004")
> Signed-off-by: Marek Vasut <[email protected]>
> ---
> Cc: David Lechner <[email protected]>
> Cc: Tom Rini <[email protected]>
> Cc: [email protected]
> ---
> cmd/scsi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/cmd/scsi.c b/cmd/scsi.c
> index ad7d8a4b664..5e732c1e50a 100644
> --- a/cmd/scsi.c
> +++ b/cmd/scsi.c
> @@ -45,7 +45,7 @@ static int do_scsi(struct cmd_tbl *cmdtp, int flag, int argc,
> U_BOOT_CMD(
> scsi, 5, 1, do_scsi,
> "SCSI sub-system",
> - "scsi info - show available SCSI devices\n"
> + "info - show available SCSI devices\n"
> "scsi scan - (re-)scan SCSI bus\n"
> "scsi device [dev] - show or set current device\n"
> "scsi part [dev] - print partition table of one or all SCSI devices\n"
Reviewed-by: David Lechner <[email protected]>