test/scsi: Fix uninitialized variable
dev_ut.c:667:30: error: ‘prev_lun’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 667 | struct spdk_scsi_lun *lun, *prev_lun; | ^~~~~~~~ gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 aarch64 Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com> Change-Id: Id6608620ef6f18002ff7b7cc6de3e1361be762d0 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9860 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
9efad7468f
commit
d47893607b
@ -3,6 +3,7 @@
|
||||
*
|
||||
* Copyright (c) Intel Corporation.
|
||||
* All rights reserved.
|
||||
* Copyright (c) 2021 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
Loading…
Reference in New Issue
Block a user