[U-Boot] [RFC PATCH 4/5] scsi: Move pccb buffer initalization directly to scsi_detect_dev

Simon Glass sjg at chromium.org
Sat Nov 19 14:49:02 CET 2016


On 18 November 2016 at 08:44, Michal Simek <michal.simek at xilinx.com> wrote:
> pccb is pointer to temporary buffer which is used only for sending
> command. Make it local as is done in scsi_read/scsi_write.
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  common/scsi.c | 9 ++++-----
>  1 file changed, 4 insertions(+), 5 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list