pktcdvd: replace sscanf() by kstrtoul()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 10 Mar 2023 16:45:42 +0000 (18:45 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 7 Jun 2023 20:26:32 +0000 (14:26 -0600)
commit1a0ddd56e545b743af510b5a1b8dbdfe7d35cd3b
tree79e4213856368698f823a6b46d88c4ba7f0dbf43
parent3a41db531e5124adaa3a9ab9ca0c724aee85b10c
pktcdvd: replace sscanf() by kstrtoul()

The checkpatch.pl warns: "Prefer kstrto<type> to single variable sscanf".
Fix the code accordingly.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230310164549.22133-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/pktcdvd.c