]> Gentwo Git Trees - linux/.git/commit
powerpc/ps3: Use str_write_read() in ps3stor_read_write_sectors()
authorThorsten Blum <thorsten.blum@linux.dev>
Tue, 19 Aug 2025 16:58:29 +0000 (18:58 +0200)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Sat, 6 Sep 2025 11:31:26 +0000 (17:01 +0530)
commit6dc5d0770dc99d6bf9b786fa3c8fc04be2091648
treec9b71974fe1b4fe80fa6d6b403a56b1ce828a5c1
parente7a6475cc0c32213e87ec190d90b8f1440ff05ae
powerpc/ps3: Use str_write_read() in ps3stor_read_write_sectors()

Remove hard-coded strings by using the str_write_read() helper function
and silence the following Coccinelle/coccicheck warning reported by
string_choices.cocci:

  opportunity for str_write_read(write)

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20250819165829.714344-2-thorsten.blum@linux.dev
drivers/ps3/ps3stor_lib.c