diff options
| author | Lorenzo Stoakes <[email protected]> | 2015-03-20 15:22:11 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-03-26 13:02:28 +0100 |
| commit | 3de08a2d14ff8c771b5f806d6186b4601b770f6f (patch) | |
| tree | 3e35757ff558522816837a69af80cf2172b7e886 /tools/perf/scripts/python | |
| parent | 855fe6ea9600a6d4b406b0d66e86e6e60ace4ef4 (diff) | |
staging: sm750fb: Use memset_io instead of memset
This patch takes into account that cursor->vstart, crtc->vScreen and
share->pvMem are pointers to memory-mapped I/O and thus we should use memset_io
to make this explicit. In addition, some architectures require special treatment
of memory-mapped I/O so the previous code could actually break without this
change.
This fixes the following sparse warnings:-
drivers/staging/sm750fb/sm750.c:489:17: warning: incorrect type in argument 1 (different address spaces)
drivers/staging/sm750fb/sm750.c:490:17: warning: incorrect type in argument 1 (different address spaces)
drivers/staging/sm750fb/sm750.c:501:17: warning: incorrect type in argument 1 (different address spaces)
drivers/staging/sm750fb/sm750.c:502:17: warning: incorrect type in argument 1 (different address spaces)
drivers/staging/sm750fb/sm750.c:833:5: warning: incorrect type in argument 1 (different address spaces)
drivers/staging/sm750fb/sm750.c:1154:9: warning: incorrect type in argument 1 (different address spaces)
Signed-off-by: Lorenzo Stoakes <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions