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 modified. However in a small query-style function, I could see some const-ness perhaps...

        Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to