aboutsummaryrefslogtreecommitdiff
path: root/drivers/ata/libahci.c
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2010-08-30 17:37:05 +0200
committerJeff Garzik <jgarzik@redhat.com>2010-09-09 14:19:18 -0400
commit673424c0890a00e22398017c9adf999577526220 (patch)
tree8c6744075b71624f03c409e0cfb1c15f51951f4c /drivers/ata/libahci.c
parentd56557af19867edb8c0e96f8e26399698a08857f (diff)
pata_artop: Fix device ID parity check
x % 1 always evaluates to 0, which clearly isn't the intent. The author probably had "% 2" or "& 1" in mind, and mispelled it. Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Jeff Garzik <jgarzik@pobox.com> Cc: Alan Cox <alan@linux.intel.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/libahci.c')
0 files changed, 0 insertions, 0 deletions