diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-21 04:56:23 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-21 04:56:23 +0100 |
commit | 7be5cb14611945044306ecb7444678c43df21135 (patch) | |
tree | aa381f5a5ecdb7f0f144bb2afa919b44782de0b8 /include | |
parent | Remove empty file remnants that were left in the tree by mistake (diff) | |
parent | libata: fix kernel-doc parameter warning (diff) | |
download | linux-7be5cb14611945044306ecb7444678c43df21135.tar.xz linux-7be5cb14611945044306ecb7444678c43df21135.zip |
Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev
* 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev:
libata: fix kernel-doc parameter warning
sata_mv: remove iounmap in mv_platform_remove and use devm_iomap
ata: fix sparse warning in libata.h
libata: implement libata.force module parameter
sata_mv: use hpriv->base instead of the host->iomap
sata_mv: Define module alias for platform device
ata: fix sparse warnings in pata_legacy.c
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/libata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 2e098f940cec..ce7603a73156 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -1197,7 +1197,7 @@ static inline struct ata_link *ata_port_next_link(struct ata_link *link) return ap->pmp_link; } - if (++link - ap->pmp_link < ap->nr_pmp_links) + if (++link < ap->nr_pmp_links + ap->pmp_link) return link; return NULL; } |