]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[SCSI] aic7xxx: fix swapped arguments in ahc_find_pci_device
authorDave Jones <davej@redhat.com>
Thu, 5 Sep 2013 02:33:09 +0000 (22:33 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 10 Sep 2013 21:48:16 +0000 (14:48 -0700)
commit6f8f8e4d313a47e3f8aa7eeb5201d1b02ffa0951
tree8fd7bc9d21623d182bc5847516ddad973768b170
parente481cce8b0c1f0a685f50e19a8016f24031865a0
[SCSI] aic7xxx: fix swapped arguments in ahc_find_pci_device

The prototype for ahc_9005_subdevinfo_valid shows that the caller has the
arguments in the wrong order.

 637 ahc_9005_subdevinfo_valid(uint16_t device, uint16_t vendor,
 638                           uint16_t subdevice, uint16_t subvendor)

Signed-off-by: Dave Jones <davej@fedoraproject.org>
Acked-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/aic7xxx/aic7xxx_pci.c