“8afd34f2d890749fe3036d2d804a3c18d647bafd”上不存在“tests/qemuxml2argvdata/shmem.args”
  • T
    libata: kill port_info->sht and ->irq_handler · 95947193
    Tejun Heo 提交于
    libata core layer doesn't care about sht or ->irq_handler.  Those are
    only of interest to the LLD during initialization.  This is confusing
    and has caused several drivers to have duplicate unused initializers
    for these fields.
    
    Currently only sata_nv uses these fields.  Make sata_nv use
    ->private_data, which is supposed to carry LLD-specific information,
    instead and kill ->sht and ->irq_handler.  nv_pi_priv structure is
    defined and struct literals are used to initialize private_data.
    Notational overhead is negligible.
    Signed-off-by: NTejun Heo <htejun@gmail.com>
    95947193
libata.h 46.3 KB