Skip to contentSkip to conversation

more type cleanups and fixes

PATCH In review Al Viro 2 participants 2 messages Jul 13, 2007 – Jul 14, 2007 Sparse checker

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 more type cleanups and fixes

Getting the handling of qualifiers/address spaces right on the
pointer operations, type_difference sanitized and taken closer to sanity (in particular, kernel ARRAY_SIZE() works now), SYM_BASENAME and SYM_TYPEOF handling sanitized.

That takes us about halfway to getting rid of very brittle
dependencies between evaluate.c and type-handling details in symbol.c.

The series can be pulled from branch type_difference2 in
git://git.kernel.org/pub/scm/linux/kernel/git/viro/sparse.git/
individual patches follow in next postings...

#1 lore raw
Quoted 11 lines · Al Viro

Getting the handling of qualifiers/address spaces right on the
pointer operations, type_difference sanitized and taken closer to sanity (in particular, kernel ARRAY_SIZE() works now), SYM_BASENAME and SYM_TYPEOF handling sanitized.

That takes us about halfway to getting rid of very brittle
dependencies between evaluate.c and type-handling details in symbol.c.

The series can be pulled from branch type_difference2 in
git://git.kernel.org/pub/scm/linux/kernel/git/viro/sparse.git/
individual patches follow in next postings...

Patch series applied and pushed, together with the fixes noted in the thread:

* Fix test suite breakage caused by patch 1.
* Expand commit message in patch 3.
* Fix type_difference prototype in patch 7.

Thanks!

- Josh Triplett