summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2011-09-01 17:17:24 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-09-02 20:12:11 +0200
commit38369f6611561ec2557d71416f65aed4ff646308 (patch)
tree40225024efefc5a4910382a0895ce9e7435a1a51 /linux
parent75e215f2cf53d3f85413e333573560458d89f7f1 (diff)
Change argument name to match function body usage
Otherwise the function wrongly uses the global symbol. * linux/src/drivers/scsi/ppa.c (ppa_nibble_in): Rename `str_p' argument to `base'.
Diffstat (limited to 'linux')
-rw-r--r--linux/src/drivers/scsi/ppa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/src/drivers/scsi/ppa.c b/linux/src/drivers/scsi/ppa.c
index e5e0cb8..fd224f9 100644
--- a/linux/src/drivers/scsi/ppa.c
+++ b/linux/src/drivers/scsi/ppa.c
@@ -517,7 +517,7 @@ static inline int ppa_byte_in(unsigned short base, char *buffer, int len)
" shrb $4,%%al\n" \
" orb %%al," #reg "\n"
-static inline int ppa_nibble_in(unsigned short str_p, char *buffer, int len)
+static inline int ppa_nibble_in(unsigned short base, char *buffer, int len)
{
for (; len; len--) {
unsigned char h;