diff options
author | Bartlomiej Zolnierkiewicz <[email protected]> | 2020-03-26 16:58:02 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-03-26 10:28:18 -0600 |
commit | 8ba5a45c998cdbfb565fb7670782407c3e4a25ba (patch) | |
tree | c6dd359a2cc071a121386332996ba710ef456f7c /drivers/usb/cdns3/cdns3-pci-wrap.c | |
parent | bbf5a0976dc3d0369ca4e6051ba09d681e3f7d7b (diff) |
ata: optimize struct ata_force_param size
Optimize struct ata_force_param size by:
- using u8 for cbl and spd_limit fields
- using u16 for lflags field
Code size savings on m68k arch using (modified) atari_defconfig:
text data bss dec hex filename
before:
41064 573 40 41677 a2cd drivers/ata/libata-core.o
after:
40654 573 40 41267 a133 drivers/ata/libata-core.o
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions