aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorThor Thayer <[email protected]>2018-05-14 12:04:01 -0500
committerBorislav Petkov <[email protected]>2018-05-15 11:01:26 +0200
commit9ef20753e044f7468c4113e5aecd785419b0b3cc (patch)
treead7550292349416d6198efecfcdecffa71f1de89 /tools/perf/scripts/python
parentde245ae073e72d47304fda3db13b24dacda204ee (diff)
EDAC, altera: Fix ARM64 build warning
The kbuild test robot reported the following warning: drivers/edac/altera_edac.c: In function 'ocram_free_mem': drivers/edac/altera_edac.c:1410:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gen_pool_free((struct gen_pool *)other, (u32)p, size); ^ After adding support for ARM64 architectures, the unsigned long parameter is 64 bits and causes a build warning on 64-bit configs. Fix by casting to the correct size (unsigned long) instead of u32. Reported-by: kbuild test robot <[email protected]> Signed-off-by: Thor Thayer <[email protected]> Cc: [email protected] Cc: linux-edac <[email protected]> Fixes: c3eea1942a16 ("EDAC, altera: Add Altera L2 cache and OCRAM support") Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions