Linux SPARSE checker discussions
 help / color / mirror / Atom feed
* [PATCH 0/8] avoid duplicated warnings
@ 2018-02-02 12:17 Luc Van Oostenryck
  2018-02-02 12:17 ` [PATCH 1/8] add testcases for duplicated warning about invalid types Luc Van Oostenryck
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Luc Van Oostenryck @ 2018-02-02 12:17 UTC (permalink / raw)
  To: linux-sparse; +Cc: Luc Van Oostenryck

The goal of this series is to eliminate some duplicated
warnings in order to reduce noise and allow to better
focus on the origin of the problem.

The series is also available in the Git repository at:
  git://github.com/lucvoo/sparse-dev.git expr-bad-twice

----------------------------------------------------------------
Luc Van Oostenryck (8):
  add testcases for duplicated warning about invalid types
  fix error in bad conditional
  early return if null ctype in evaluate_conditional()
  add helper: valid_type()
  use valid_type to avoid to warn twice on conditionals
  add helpers: valid_expr_type() & valid_subexpr_type()
  do not report bad types twice
  always evaluate both operands

 evaluate.c                   | 66 +++++++++++++++++++++++++++-----------------
 symbol.h                     |  5 ++++
 validation/bad-type-twice0.c | 13 +++++++++
 validation/bad-type-twice1.c | 16 +++++++++++
 validation/bad-type-twice2.c | 18 ++++++++++++
 5 files changed, 93 insertions(+), 25 deletions(-)
 create mode 100644 validation/bad-type-twice0.c
 create mode 100644 validation/bad-type-twice1.c
 create mode 100644 validation/bad-type-twice2.c

-- 
2.16.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-02-10 19:51 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-02 12:17 [PATCH 0/8] avoid duplicated warnings Luc Van Oostenryck
2018-02-02 12:17 ` [PATCH 1/8] add testcases for duplicated warning about invalid types Luc Van Oostenryck
2018-02-02 12:17 ` [PATCH 2/8] fix error in bad conditional Luc Van Oostenryck
2018-02-02 12:17 ` [PATCH 3/8] early return if null ctype in evaluate_conditional() Luc Van Oostenryck
2018-02-10 19:28   ` Christopher Li
2018-02-10 19:43     ` Luc Van Oostenryck
2018-02-02 12:17 ` [PATCH 4/8] add helper: valid_type() Luc Van Oostenryck
2018-02-10 19:38   ` Christopher Li
2018-02-10 19:51     ` Luc Van Oostenryck
2018-02-02 12:17 ` [PATCH 5/8] use valid_type to avoid to warn twice on conditionals Luc Van Oostenryck
2018-02-02 12:17 ` [PATCH 6/8] add helpers: valid_expr_type() & valid_subexpr_type() Luc Van Oostenryck
2018-02-02 12:17 ` [PATCH 7/8] do not report bad types twice Luc Van Oostenryck
2018-02-02 12:17 ` [PATCH 8/8] always evaluate both operands Luc Van Oostenryck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox