]> Gentwo Git Trees - linux/.git/commit
floppy: Replace custom SZ_64K constant
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 25 Aug 2025 16:32:56 +0000 (18:32 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Aug 2025 20:46:42 +0000 (14:46 -0600)
commit8e7ee0f6fa33934373c1c37e8cfb71cff2acea09
treed98dcc3b7df21ce5a350ea0ac64f6f01a666eca3
parentd74968780bf287958e2815be5f088dd6c7b7aa19
floppy: Replace custom SZ_64K constant

There are only two headers using the K_64 custom constant. Moreover,
its usage tangles a code because the constant is defined in the C
file, while users are in the headers. Replace it with well defined
SZ_64K from sizes.h.

Acked-by: Helge Deller <deller@gmx.de>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20250825163545.39303-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
arch/parisc/include/asm/floppy.h
arch/x86/include/asm/floppy.h
drivers/block/floppy.c