]> git.baikalelectronics.ru Git - uboot.git/commit
scsi: Correct allocation of block-device name
authorSimon Glass <sjg@chromium.org>
Tue, 17 Jan 2023 17:47:43 +0000 (10:47 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 23 Jan 2023 23:11:40 +0000 (18:11 -0500)
commitaa7c0f1e895d7e6256724a82f913c788ef9a8862
tree1e112c23b31392915f16f01dc183aeb52a31dc99
parentabb44647b57a53d6fc9ec83c8b1428c1b4b593e8
scsi: Correct allocation of block-device name

This should be allocated so that it does not go out of scope. Fix this and
set the log category while we are here.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/scsi/scsi.c