Skip to contentSkip to conversation

misc fixes

GIT PULL Al Viro 2 participants 2 messages Jul 28, 2007 – Jul 29, 2007 Sparse checker

lore
Share & tools
lore

Al Viro

author
#0 lore raw

Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/viro/sparse.git
local15.

A bunch of bug fixes + more typechecking sanitized.

Contents:
add __builtin_strlen()
no such thing as array of functions
new helper: unfoul()
handling of typeof in evaluate_member_dereference()
file and global scopes are the same for purposes of struct redefining ...,array should degenerate
sanitize evaluate_ptr_add(), start checking for pointers to functions fix evaluate_compare()
sanitize evaluate_postop()
saner -Wtypesign
braino in conditional_expression()
Diffstat:

 evaluate.c                    |  170 +++++++++++++++++++++++-----------------
 expression.c                  |    2 +-
 lib.c                         |    1 +
 parse.c                       |    2 +-
 scope.c                       |   10 +++
 scope.h                       |    1 +
 validation/comma.c            |   10 +++
 validation/member_of_typeof.c |   14 ++++
 validation/outer-scope.c      |   19 +++++
 9 files changed, 155 insertions(+), 74 deletions(-)
 create mode 100644 validation/comma.c
 create mode 100644 validation/member_of_typeof.c
 create mode 100644 validation/outer-scope.c
#1 lore raw
Quoted 5 lines · Al Viro

Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/viro/sparse.git
local15.

A bunch of bug fixes + more typechecking sanitized.

Quoted 12 lines

Contents:
add __builtin_strlen()
no such thing as array of functions
new helper: unfoul()
handling of typeof in evaluate_member_dereference()
file and global scopes are the same for purposes of struct redefining ...,array should degenerate
sanitize evaluate_ptr_add(), start checking for pointers to functions fix evaluate_compare()
sanitize evaluate_postop()
saner -Wtypesign
braino in conditional_expression()

Merged; thanks!

- Josh Triplett