summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vme
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2010-11-12 11:15:21 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2010-11-16 11:40:16 -0800
commitc949231838006d7de4ad38be38d9e112826862da (patch)
treead84f28fa3428564a79c892186ec61a9c77072f2 /drivers/staging/vme
parentb9cc293486e27f4d29a9813da6ebcb8574071dfa (diff)
downloadblackbird-op-linux-c949231838006d7de4ad38be38d9e112826862da.tar.gz
blackbird-op-linux-c949231838006d7de4ad38be38d9e112826862da.zip
staging: vme_user: use an unsigned int for counting the number of kparams
unsigned int is what struct kparam_array internally uses. Signed-off-by: Emilio G. Cota <cota@braap.org> Acked-by: Martyn Welch <martyn.welch@ge.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vme')
-rw-r--r--drivers/staging/vme/devices/vme_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vme/devices/vme_user.c b/drivers/staging/vme/devices/vme_user.c
index f7fa02d0d87b..7c61adc8eb79 100644
--- a/drivers/staging/vme/devices/vme_user.c
+++ b/drivers/staging/vme/devices/vme_user.c
@@ -44,7 +44,7 @@ static DEFINE_MUTEX(vme_user_mutex);
static char driver_name[] = "vme_user";
static int bus[USER_BUS_MAX];
-static int bus_num;
+static unsigned int bus_num;
/* Currently Documentation/devices.txt defines the following for VME:
*
OpenPOWER on IntegriCloud