Re: [PATCH v2] target: iscsi: fix clang -Wformat warnings

From: Martin K. Petersen
Date: Mon Jul 18 2022 - 23:01:14 EST



Justin,

> For all warnings, the format specifier is `%hu` which describes an
> unsigned short. The resulting type of atomic_read is an int. The
> proposed fix is to listen to Clang and swap the format specifier.

Applied to 5.20/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering