[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq14jzdq01g.fsf@ca-mkp.ca.oracle.com>
Date:   Mon, 18 Jul 2022 23:00:38 -0400
From:   "Martin K. Petersen" <martin.petersen@...cle.com>
To:     Justin Stitt <justinstitt@...gle.com>
Cc:     linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org,
        llvm@...ts.linux.dev, martin.petersen@...cle.com,
        mgurtovoy@...dia.com, michael.christie@...cle.com,
        mingzhe.zou@...ystack.cn, nathan@...nel.org,
        ndesaulniers@...gle.com, target-devel@...r.kernel.org,
        trix@...hat.com
Subject: Re: [PATCH v2] target: iscsi: fix clang -Wformat warnings
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
Powered by blists - more mailing lists
 
