From f85736549a8cd33502ebc1eedadc1d5f125bf279 Mon Sep 17 00:00:00 2001 From: Gleb Chesnokov Date: Tue, 5 Aug 2025 13:11:49 +0300 Subject: [PATCH] iscsi-scst: Remove access to page->index There is no need to print out page->index as part of the debug message. --- iscsi-scst/kernel/nthread.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/iscsi-scst/kernel/nthread.c b/iscsi-scst/kernel/nthread.c index e4e74193e..a2e8669f0 100644 --- a/iscsi-scst/kernel/nthread.c +++ b/iscsi-scst/kernel/nthread.c @@ -1231,10 +1231,9 @@ static int write_data(struct iscsi_conn *conn) iov_iter_bvec(&msg.msg_iter, ITER_SOURCE, &bvec, 1, sendsize); res = sock_sendmsg(sock, &msg); #endif - TRACE_WRITE("sid %#Lx cid %u: res %d (page[%p] index %lu, offset %u, sendsize %lu, size %lu, cmd %p)", + TRACE_WRITE("sid %#Lx cid %u: res %d (page[%p] offset %u, sendsize %lu, size %lu, cmd %p)", (unsigned long long)conn->session->sid, conn->cid, - res, page, page->index, offset, sendsize, size, - write_cmnd); + res, page, offset, sendsize, size, write_cmnd); if (unlikely(res <= 0)) { if (res == -EINTR)