diff options
| author | Russ Cox <[email protected]> | 2007-03-26 15:23:56 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-03-26 21:23:52 +0000 |
| commit | 04a395233089ed160ef87a6c2155e5dedc6f7d15 (patch) | |
| tree | bef0b7fc8d245c9cb5299aaa151beb66f74c75b3 /scripts/basic/docproc.c | |
| parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/eri... (diff) | |
| download | kernel-04a395233089ed160ef87a6c2155e5dedc6f7d15.tar.gz kernel-04a395233089ed160ef87a6c2155e5dedc6f7d15.zip | |
[PATCH] Add const to pointer qualifiers for __chk_user_ptr and __chk_io_ptr.
Change prototypes for __chk_user_ptr and __chk_io_ptr to take const
void* instead of void*, so that code can pass "const void *" to them.
(Right now sparse does not warn about passing const void* to void*
functions, but that is a separate bug that I believe Josh is working on,
and once sparse does check this, the changed prototypes will be
necessary.)
Signed-off-by: Russ Cox <[email protected]>
Signed-off-by: Josh Triplett <[email protected]>
Acked-by: Christopher Li <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions
