]> err.no Git - linux-2.6/commit
[PATCH] libata: update ata_do_simple_cmd()
authorTejun Heo <htejun@gmail.com>
Sat, 24 Jun 2006 11:30:19 +0000 (20:30 +0900)
committerJeff Garzik <jeff@garzik.org>
Tue, 27 Jun 2006 00:59:27 +0000 (20:59 -0400)
commit977e6b9f3a9b17f1c608a9d1e5a7b5c46a5f7d4a
tree1fd0d589a3588cf8fb204b47d811272e9793d454
parente58eb583969ff662c8c337e9b3b50ab5ef37e27e
[PATCH] libata: update ata_do_simple_cmd()

* the function has always returned AC_ERR_* masks not -errno but its
  return type was int.  Make return type unsigned int.

* don't print error message automatically.  it's the caller's
  responsibility.

* add header comment

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/libata-core.c