Tejun Heo wrote:
* No internal function uses const ata_port. Drop const from @ap.
* Make ata_acpi_stm() copy @stm before using it and change @stm to
const.
for the record, I -would- use const ata_port where feasible; its just so
rarely feasible, since members of that struct are often being
Tejun Heo wrote:
* No internal function uses const ata_port. Drop const from @ap.
* Make ata_acpi_stm() copy @stm before using it and change @stm to
const.
Signed-off-by: Tejun Heo <[EMAIL PROTECTED]>
---
drivers/ata/libata-acpi.c |7 ---
include/linux/libata.h|4 ++--
2 fil
* No internal function uses const ata_port. Drop const from @ap.
* Make ata_acpi_stm() copy @stm before using it and change @stm to
const.
Signed-off-by: Tejun Heo <[EMAIL PROTECTED]>
---
drivers/ata/libata-acpi.c |7 ---
include/linux/libata.h|4 ++--
2 files changed, 6 inser