Re: [PATCH v1 1/1] floppy: Replace custom SZ_64K constant

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/21/25 19:50, Andy Shevchenko wrote:
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.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
---

This should be placed on top of
https://lore.kernel.org/r/20250521174152.1339379-1-andriy.shevchenko@xxxxxxxxxxxxxxx
for the dependency reason. In case some changes are needed there,
this one may be attached to v2 of the series.

  arch/parisc/include/asm/floppy.h | 5 +++--
  arch/x86/include/asm/floppy.h    | 3 ++-
  drivers/block/floppy.c           | 2 --
  3 files changed, 5 insertions(+), 5 deletions(-)

Acked-by: Helge Deller <deller@xxxxxx>






[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux