Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1451740

Re: [PATCH] extable.h: add stddef.h so "NULL" definition is not implicit

From Rusty Russell <rusty@rustcorp.com.au>
Newsgroups linux.kernel
Subject Re: [PATCH] extable.h: add stddef.h so "NULL" definition is not implicit
Date 2016-07-28 08:30 +0200
Message-ID <rZMZr-2ju-11@gated-at.bofh.it> (permalink)
References <rZK1z-kW-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Paul Gortmaker <paul.gortmaker@windriver.com> writes:
> While not an issue now, eventually we will have independent users of
> the extable.h file and we will stop sourcing it via module.h header.
>
> In testing that pending work, with very sparse builds, characteristic
> of an "allnoconfig" on various architectures, we can sometimes hit an
> instance where the very basic standard definitions aren't present,
> resulting in:
>
>  include/linux/extable.h:26:9: error: 'NULL' undeclared (first use in this function)
>
> To be clear, this isn't a regression, since currently extable.h is
> only used by module.h -- however, we will need this addition present
> before we start migrating exception table users off module.h and onto
> extable.h during the next release cycle.
>
> Cc: Rusty Russell <rusty@rustcorp.com.au>
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
> ---
>
> [Was not expecting extable.h to be in 4.8 content, but since it is, it
>  might as well have this one line fixup to make it ready for 4.9 ; feel
>  free to squash this into the original extable.h creation if rebasing.]

Applied.  I prefer not to rebase published trees, and it's not like it's
going to break anyone's bisect.

Thanks,
Rusty.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] extable.h: add stddef.h so "NULL" definition is not implicit Paul Gortmaker <paul.gortmaker@windriver.com> - 2016-07-28 05:20 +0200
  Re: [PATCH] extable.h: add stddef.h so "NULL" definition is not implicit Rusty Russell <rusty@rustcorp.com.au> - 2016-07-28 08:30 +0200

csiph-web