diff options
| author | Lorenzo Stoakes <[email protected]> | 2015-03-20 15:22:14 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-03-26 13:04:48 +0100 |
| commit | 35fb80b9de08024b375d76f08591ec5b7cc57995 (patch) | |
| tree | ee15fac9a20c21b4da51e2fd6198290dd7a96e93 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 2ffbc9c6aa2c36cbdc584ef9669b9ef97c1283c1 (diff) | |
staging: sm750fb: Fix __iomem pointer types
This patch annotates pointers as referring to I/O mapped memory where they ought
to be, removes now unnecessary ugly casts, eliminates an incorrect deref on I/O
mapped memory by using iowrite16 instead, and updates the pointer arithmetic
accordingly to take into account that the pointers are now byte-sized. This
fixes the following sparse warnings:-
drivers/staging/sm750fb/sm750_cursor.c:113:19: warning: cast removes address space of expression
drivers/staging/sm750fb/sm750_cursor.c:204:19: warning: cast removes address space of expression
Signed-off-by: Lorenzo Stoakes <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions