[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH gnumach 6/6] Change argument name to match function body usage
From: |
Guillem Jover |
Subject: |
[PATCH gnumach 6/6] Change argument name to match function body usage |
Date: |
Thu, 1 Sep 2011 17:17:24 +0200 |
Otherwise the function wrongly uses the global symbol.
* linux/src/drivers/scsi/ppa.c (ppa_nibble_in): Rename `str_p' argument
to `base'.
---
linux/src/drivers/scsi/ppa.c | 2 +-
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;
--
1.7.5.4