Re: Antw: [EXT] Re: [PATCH] scsi scsi_transport_iscsi.c: fix misuse of %llu in scsi_transport_iscsi.c

2021-10-15 Thread Guo Zhi
On 2021/10/11 23:29, Mike Christie wrote: On 10/11/21 1:35 AM, Ulrich Windl wrote: Joe Perches schrieb am 09.10.2021 um 05:14 in Nachricht <5daf69b365e23ceecee911c4d0f2f66a0b9ec95c.ca...@perches.com>: On Sat, 2021-10-09 at 11:02 +0800, Guo Zhi wrote: Pointers should be printed w

[PATCH] scsi scsi_transport_iscsi.c: fix misuse of %llu in scsi_transport_iscsi.c

2021-10-12 Thread Guo Zhi
Pointers should be printed with %p or %px rather than cast to (unsigned long long) and printed with %llu. Change %llu to %p to print the pointer into sysfs. Signed-off-by: Guo Zhi --- drivers/scsi/scsi_transport_iscsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] scsi scsi_transport_iscsi.c: fix misuse of %llu in scsi_transport_iscsi.c

2021-10-12 Thread Guo Zhi
I will send a V2 patch. - 原始邮件 - 发件人: "Joe Perches" 收件人: "Guo Zhi" , "Lee Duncan" , "Chris Leech" , "James E.J. Bottomley" , "Martin K. Petersen" 抄送: open-iscsi@googlegroups.com, linux-s...@vger.kernel.org, "linux-ker

[PATCH v2] scsi scsi_transport_iscsi.c: fix misuse of %llu in scsi_transport_iscsi.c

2021-10-12 Thread Guo Zhi
Pointers should be printed with %p or %px rather than cast to (unsigned long long) and printed with %llu. Change %llu to %p to print the pointer into sysfs. Signed-off-by: Guo Zhi --- drivers/scsi/scsi_transport_iscsi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git