From: Nihar Panda <niharp@linux.ibm.com>
To: "James E . J . Bottomley" <James.Bottomley@HansenPartnership.com>,
"Martin K . Petersen" <martin.petersen@oracle.com>
Cc: linux-scsi@vger.kernel.org, linux-s390@vger.kernel.org,
Heiko Carstens <hca@linux.ibm.com>,
Vasily Gorbik <gor@linux.ibm.com>,
Alexander Gordeev <agordeev@linux.ibm.com>,
Christian Borntraeger <borntraeger@de.ibm.com>
Subject: [PATCH 0/1] zfcp: simplify workqueue allocation
Date: Wed, 7 May 2025 06:28:06 +0200 [thread overview]
Message-ID: <20250507042854.3607038-2-niharp@linux.ibm.com> (raw)
In-Reply-To: <20250507042854.3607038-1-niharp@linux.ibm.com>
`alloc_ordered_workqueue()` accepts a format string and format arguments
as part of the call, so there is no need for the indirection of first
using `snprintf()` to print the name into an local array, and then
passing that array to the allocation call.
Benjamin Block (1):
zfcp: simplify workqueue allocation
drivers/s390/scsi/zfcp_aux.c | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
base-commit: 20b97acc4cafa2be8ac91a777de135110e58a90b
--
2.45.2
next prev parent reply other threads:[~2025-05-07 4:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-07 4:28 zfcp: simplify workqueue allocation Nihar Panda
2025-05-07 4:28 ` Nihar Panda [this message]
2025-05-07 4:28 ` [PATCH] " Nihar Panda
2025-05-13 2:26 ` Martin K. Petersen
2025-05-21 2:19 ` Martin K. Petersen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250507042854.3607038-2-niharp@linux.ibm.com \
--to=niharp@linux.ibm.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=agordeev@linux.ibm.com \
--cc=borntraeger@de.ibm.com \
--cc=gor@linux.ibm.com \
--cc=hca@linux.ibm.com \
--cc=linux-s390@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox