aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorBrian Norris <[email protected]>2014-05-12 23:41:46 +0000
committerBrian Norris <[email protected]>2014-05-28 07:05:24 +0000
commit3a9f76bdf365efdc869125f9f2386643007f997b (patch)
treefc3301b513a7d8d431bb865494d0baf8f2ec9806 /tools/perf/scripts/python/futex-contention.py
parentmtd: slram: fix unused variable warning (diff)
downloadkernel-3a9f76bdf365efdc869125f9f2386643007f997b.tar.gz
kernel-3a9f76bdf365efdc869125f9f2386643007f997b.zip
mtd: maps: sc520cdp: fix warnings
On m86k, and maybe a few other architectures, we get this kind of warning, due to misuse of volatile: drivers/mtd/maps/sc520cdp.c: In function 'sc520cdp_setup_par': >> drivers/mtd/maps/sc520cdp.c:223:2: warning: passing argument 1 of 'iounmap' discards 'volatile' qualifier from pointer target type [enabled by default] arch/m68k/include/asm/raw_io.h:22:13: note: expected 'void *' but argument is of type 'volatile long unsigned int *' Rather than annotating the variable declaration, let's just use the proper accessors, which add the 'volatile' qualifier to the operation. Signed-off-by: Brian Norris <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions