]> git.baikalelectronics.ru Git - kernel.git/commit
vme_tsi148: Fix typo in tsi148_slave_get()
authorJoe Schultz <jschultz@xes-inc.com>
Thu, 3 Apr 2014 19:47:55 +0000 (14:47 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Apr 2014 21:08:37 +0000 (14:08 -0700)
commit767651664c2ccc250b1e3915f18dfef37b1b8b8d
treef75b93b89324683cb3de073e53799ec0420c3a3b
parent4d345cb64a905944b479bb96c1fa06055e50426f
vme_tsi148: Fix typo in tsi148_slave_get()

This patch corrects a typo where "vme_base" was used instead of
"*vme_base". The typo resulted in an incorrect value being returned
to userspace (via vme_user).

It also removes the following compile warning on some platforms:

warning: cast from pointer to integer of different size

[asierra: commit title/log rewording]
Signed-off-by: Joe Schultz <jschultz@xes-inc.com>
Signed-off-by: Aaron Sierra <asierra@xes-inc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/vme/bridges/vme_tsi148.c