[U-Boot] [PATCH 22/29] dm: scsi: Document and rename the scsi_scan() parameter

Bin Meng bmeng.cn at gmail.com
Tue Jun 13 03:14:24 UTC 2017


On Tue, Jun 6, 2017 at 3:15 AM, Simon Glass <sjg at chromium.org> wrote:
> The 'mode' parameter is actually a flag to determine whether to display
> a list of devices found during the scan. Rename it to reflect this, add a
> function comment and adjust callers to use a boolean.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  arch/arm/cpu/armv7/ls102xa/ls102xa_sata.c |  2 +-
>  arch/arm/cpu/armv8/fsl-layerscape/soc.c   |  4 ++--
>  board/highbank/highbank.c                 |  2 +-
>  cmd/scsi.c                                |  4 ++--
>  common/spl/spl_sata.c                     |  2 +-
>  drivers/scsi/scsi.c                       | 20 ++++++++++----------
>  include/scsi.h                            |  8 +++++---
>  7 files changed, 22 insertions(+), 20 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list