staging: Android: vsoc: Fix a i386-randconfig warning.
authorAlistair Strachan <astrachan@google.com>
Thu, 3 May 2018 04:45:56 +0000 (21:45 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 May 2018 20:53:04 +0000 (13:53 -0700)
commitdc5b113391ece5a8e74c1033535982174637c3da
treebb1fb235224202dca99b0acb7c11eba1fa268373
parent085f88710f6eb7c6438bf4d99460dff91161aa47
staging: Android: vsoc: Fix a i386-randconfig warning.

Fix "warning: cast to pointer from integer of different size" when
printing the region shm physical address. Use the %pa conversion
specifier and pass the resource by reference.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Arve Hjønnevåg <arve@android.com>
Cc: Todd Kjos <tkjos@android.com>
Cc: Martijn Coenen <maco@android.com>
Cc: Greg Hartman <ghartman@google.com>
Cc: devel@driverdev.osuosl.org
Cc: kernel-team@android.com
Signed-off-by: Alistair Strachan <astrachan@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/vsoc.c