On Thu, 3 Dec 2020 23:31:26 +0100, Arnd Bergmann wrote: > clang complains about a possible code path in which a variable is > used without an initialization: > > drivers/scsi/ufs/ufshcd.c:7690:3: error: variable 'sdp' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized] > BUG_ON(1); > ^~~~~~~~~ > include/asm-generic/bug.h:63:36: note: expanded from macro 'BUG_ON' > #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) > ^~~~~~~~~~~~~~~~~~~ > > [...] Applied to 5.11/scsi-queue, thanks! [1/1] ufshcd: fix Wsometimes-uninitialized warning https://git.kernel.org/mkp/scsi/c/4c60244dc372 -- Martin K. Petersen Oracle Linux Engineering