aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJingoo Han <[email protected]>2013-08-08 17:29:48 +0900
committerGreg Kroah-Hartman <[email protected]>2013-08-12 11:35:31 -0700
commit9fdedf5d16d04238833d1d45a8e303fdb86bee3a (patch)
tree05214db88d9f18072598a1a4f55d93ea4f13596b /tools/perf/scripts/python
parentada1f443d11464468a06646939bb1aed60f5f2dd (diff)
serial: samsung: fix casting warning
port->membase is (unsigned char __iomem *), not (unsigned long *) __set_bit() uses (unsigned long *) as the second argument. Thus, casting (unsigned long *)(unsigned long) is necessary to fix the following sparse warnings. drivers/tty/serial/samsung.c:142:33: warning: cast removes address space of expression drivers/tty/serial/samsung.c:161:33: warning: cast removes address space of expression drivers/tty/serial/samsung.c:176:33: warning: cast removes address space of expression drivers/tty/serial/samsung.c:526:40: warning: cast removes address space of expression Signed-off-by: Jingoo Han <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions