mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-12 16:58:53 +00:00
scsi: aic7xxx: fix order of arguments in function prototype
The vendor/device and subvendor/subdevice arguments to the function prototype ahc_9005_subdevinfo_valid are in the wrong order and need to be swapped to fix this. Detected with PVS-Studio studio. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
c7c3524ce7
commit
7ecaeaffd7
@ -601,8 +601,8 @@ static const u_int ahc_num_pci_devs = ARRAY_SIZE(ahc_pci_ident_table);
|
|||||||
#define STA 0x08
|
#define STA 0x08
|
||||||
#define DPR 0x01
|
#define DPR 0x01
|
||||||
|
|
||||||
static int ahc_9005_subdevinfo_valid(uint16_t vendor, uint16_t device,
|
static int ahc_9005_subdevinfo_valid(uint16_t device, uint16_t vendor,
|
||||||
uint16_t subvendor, uint16_t subdevice);
|
uint16_t subdevice, uint16_t subvendor);
|
||||||
static int ahc_ext_scbram_present(struct ahc_softc *ahc);
|
static int ahc_ext_scbram_present(struct ahc_softc *ahc);
|
||||||
static void ahc_scbram_config(struct ahc_softc *ahc, int enable,
|
static void ahc_scbram_config(struct ahc_softc *ahc, int enable,
|
||||||
int pcheck, int fast, int large);
|
int pcheck, int fast, int large);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user