diff options
| author | Arnd Bergmann <[email protected]> | 2017-03-23 16:08:08 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-04-08 15:37:20 +0000 |
| commit | 8ff0c5664a634bab05c646960c1730b7fd33ed90 (patch) | |
| tree | 45bf58fbf0419febdb07620d4e08f6bdd7ce3634 /drivers/fpga/xilinx-spi.c | |
| parent | Merge 4.11-rc4 into char-misc-next (diff) | |
| download | kernel-8ff0c5664a634bab05c646960c1730b7fd33ed90.tar.gz kernel-8ff0c5664a634bab05c646960c1730b7fd33ed90.zip | |
drivers/misc: aspeed-lpc-ctrl: fix printk format warning again
The format string is still broken after the first attempt to fix it:
drivers/misc/aspeed-lpc-ctrl.c: In function 'aspeed_lpc_ctrl_probe':
drivers/misc/aspeed-lpc-ctrl.c:232:17: error: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'resource_size_t {aka long long unsigned int}' [-Werror=format=]
We can actually just print the resource structure directly here.
Fixes: 132c93d4215c ("drivers/misc: Aspeed LPC control fix compile error and warning")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions
