linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] add helper predefine_{strong,weak}()
@ 2020-07-05 13:16 Luc Van Oostenryck
  2020-07-05 13:16 ` [PATCH 1/2] predefine: " Luc Van Oostenryck
  2020-07-05 13:16 ` [PATCH 2/2] predefine: avoid add_pre_buffer() for targets Luc Van Oostenryck
  0 siblings, 2 replies; 3+ messages in thread
From: Luc Van Oostenryck @ 2020-07-05 13:16 UTC (permalink / raw)
  To: linux-sparse; +Cc: Luc Van Oostenryck

A lot of predefined macros are just set to the value '1'.
So, create a pair of helper for this and use it to limit
the use of add_pre_buffer() in target-specific files.


Luc Van Oostenryck (2):
  predefine: add helper predefine_{strong,weak}()
  predefine: avoid add_pre_buffer() for targets

 lib.h          |  2 ++
 pre-process.c  | 26 ++++++++++++++++++++++++++
 target-arm64.c |  2 +-
 target-riscv.c |  2 +-
 4 files changed, 30 insertions(+), 2 deletions(-)


base-commit: 88c90bb192663bfc2dc54782c316e39e6fe26e1d
-- 
2.27.0

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

end of thread, other threads:[~2020-07-05 13:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-05 13:16 [PATCH 0/2] add helper predefine_{strong,weak}() Luc Van Oostenryck
2020-07-05 13:16 ` [PATCH 1/2] predefine: " Luc Van Oostenryck
2020-07-05 13:16 ` [PATCH 2/2] predefine: avoid add_pre_buffer() for targets 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;
as well as URLs for NNTP newsgroup(s).