diff options
| author | Szymon Janc <[email protected]> | 2012-02-10 21:05:43 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2012-02-13 20:08:56 -0800 |
| commit | 5f01f7f301db567a7a2b99d012db1c408ce0e9de (patch) | |
| tree | 557b13d3e7800ced072d6b5bc92220b22494fa52 /scripts | |
| parent | af5728e08afab1baeb97cc881e2d6158c69bae19 (diff) | |
Staging: quickstart: Fix compilation warning on 64 bit arch
acpi_size is u32 or u64 depending on architecture. Cast it to
unsigned long and use %lu for printing.
This fix following build warning:
drivers/staging/quickstart/quickstart.c: In function ‘quickstart_acpi_ghid’:
drivers/staging/quickstart/quickstart.c:212:5: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘acpi_size’ [-Wformat]
Signed-off-by: Szymon Janc <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions