staging: unisys: Solve sparse warning
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>
Wed, 3 May 2017 03:28:10 +0000 (00:28 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 May 2017 05:41:58 +0000 (07:41 +0200)
commit789bf45ace8045ed53cf5d2c53185edf0db28e73
treea4b2aced0abda97e0b5e9ba49b995408cdf004e5
parent25b20f6d83d3a80f42cc092df404b640217746a7
staging: unisys: Solve sparse warning

The following commit fixes the following sparse report:

drivers/staging//unisys/visorhba/visorhba_main.c:660:29: warning: cast to restricted __le64

by casting readq (which is unsigned long on x86) to u64, as expected by the seq_printf call.

Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Acked-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorhba/visorhba_main.c