]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerJiri Slaby <jslaby@suse.cz>
Wed, 19 Nov 2014 22:44:30 +0000 (23:44 +0100)
commitff286b4678fd95286afef33e5b740a2e0d5f9983
treeca0673030982dffc165225a34f2e1ea355981ecf
parent8a8f33b2f640e1e7d0486888293817f56505aa4f
vme_tsi148: Fix typo in tsi148_slave_get()

commit 098ced8fefe4a4e4240fa47b1ed9b00d65b6cd21 upstream.

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/vme/bridges/vme_tsi148.c