OSDN Git Service

FROMLIST: staging: vsoc: Fix a i386-randconfig warning.
authorAlistair Strachan <astrachan@google.com>
Wed, 2 May 2018 19:03:20 +0000 (12:03 -0700)
committerAlistair Strachan <astrachan@google.com>
Thu, 3 May 2018 19:34:11 +0000 (12:34 -0700)
commit935b28af56e372b7440d0f3392b560d01f0c8daa
treeff09209ae244c0baaf9e12d4f866a022f47e6328
parentc4fd9a102b05e14f6ea927b1e5551d72533e68e5
FROMLIST: staging: 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.

Signed-off-by: Alistair Strachan <astrachan@google.com>
[sent upstream via staging https://patchwork.kernel.org/patch/10376967/]
Bug: 702147120
Change-Id: Ibb0c32b461821235155c464bfd5c5963db512734
drivers/staging/android/vsoc.c