From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: Stafford Horne <shorne@gmail.com>
Cc: <linux-kernel@vger.kernel.org>, Jonas Bonn <jonas@southpole.se>,
Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>,
<openrisc@lists.librecores.org>
Subject: Re: [PATCH v2] openrisc: migrate exception table users off module.h and onto extable.h
Date: Thu, 26 Jan 2017 09:50:31 -0500 [thread overview]
Message-ID: <20170126145031.GF29778@windriver.com> (raw)
In-Reply-To: <20170126055303.GJ7836@lianli.shorne-pla.net>
[Re: [PATCH v2] openrisc: migrate exception table users off module.h and onto extable.h] On 26/01/2017 (Thu 14:53) Stafford Horne wrote:
> On Wed, Jan 25, 2017 at 04:40:46PM -0500, Paul Gortmaker wrote:
> > These files were only including module.h for exception table related
> > functions. We've now separated that content out into its own file
> > "extable.h" so now move over to that and avoid all the extra header
> > content in module.h that we don't really need to compile these files.
> >
> > Reported-by: kbuild test robot <lkp@intel.com>
> > Cc: Jonas Bonn <jonas@southpole.se>
> > Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
> > Cc: Stafford Horne <shorne@gmail.com>
> > Cc: openrisc@lists.librecores.org
> > Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
> > ---
> >
> > [v2: add traps.c to conversion, as without a toolchain, I'm at the
> > mercy of the things found by kbuild; fixing them iteratively... ]
> >
> > arch/openrisc/kernel/traps.c | 2 +-
> > arch/openrisc/mm/fault.c | 2 +-
> > 2 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/arch/openrisc/kernel/traps.c b/arch/openrisc/kernel/traps.c
> > index a4574cb4b0fb..73abb3ff4fa3 100644
> > --- a/arch/openrisc/kernel/traps.c
> > +++ b/arch/openrisc/kernel/traps.c
> > @@ -23,7 +23,7 @@
> > #include <linux/init.h>
> > #include <linux/sched.h>
> > #include <linux/kernel.h>
> > -#include <linux/module.h>
> > +#include <linux/exception.h>
>
> Is this correct or did you want extable.h?
Gah, of course. Thanks for spotting that. It will be good to have a
working cross compiler for or32 someday to spot thinko items like this.
Thanks,
Paul.
--
>
> > #include <linux/kmod.h>
> > #include <linux/string.h>
> > #include <linux/errno.h>
> > diff --git a/arch/openrisc/mm/fault.c b/arch/openrisc/mm/fault.c
> > index b1a7435e786a..53592a639744 100644
> > --- a/arch/openrisc/mm/fault.c
> > +++ b/arch/openrisc/mm/fault.c
> > @@ -17,7 +17,7 @@
> >
> > #include <linux/mm.h>
> > #include <linux/interrupt.h>
> > -#include <linux/module.h>
> > +#include <linux/extable.h>
> > #include <linux/sched.h>
> >
> > #include <linux/uaccess.h>
> > --
> > 2.11.0
> >
next prev parent reply other threads:[~2017-01-26 14:50 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-22 16:32 [PATCH v3 00/20] Finalize separation of extable.h from module.h Paul Gortmaker
2017-01-22 16:32 ` [PATCH 01/20] ia64: move ia64_done_with_exception out of asm/uaccess.h Paul Gortmaker
2017-01-22 16:32 ` [PATCH 02/20] ia64: ensure exception table search users include extable.h Paul Gortmaker
2017-01-22 16:32 ` [PATCH 03/20] m32r: migrate exception table users off module.h and onto extable.h Paul Gortmaker
2017-01-22 16:32 ` [PATCH 04/20] arm: " Paul Gortmaker
2017-01-22 16:32 ` [PATCH 05/20] alpha: " Paul Gortmaker
2017-01-22 16:32 ` [PATCH 06/20] mn10300: " Paul Gortmaker
2017-01-22 16:32 ` [PATCH 07/20] xtensa: " Paul Gortmaker
2017-01-22 16:32 ` [PATCH 08/20] sh: " Paul Gortmaker
2017-01-22 16:32 ` [PATCH 09/20] frv: " Paul Gortmaker
2017-01-22 16:32 ` [PATCH 10/20] openrisc: " Paul Gortmaker
2017-01-25 21:40 ` [PATCH v2] " Paul Gortmaker
2017-01-26 5:53 ` Stafford Horne
2017-01-26 14:50 ` Paul Gortmaker [this message]
2017-01-25 22:46 ` Paul Gortmaker
2017-01-22 16:32 ` [PATCH 11/20] sparc: migrate exception table users " Paul Gortmaker
2017-01-22 16:32 ` [PATCH 12/20] nios2: migrate exception table users off module.h and " Paul Gortmaker
2017-01-25 9:53 ` Tobias Klauser
2017-01-22 16:32 ` [PATCH 13/20] arc: " Paul Gortmaker
2017-01-23 21:14 ` Vineet Gupta
2017-01-22 16:32 ` [PATCH 14/20] metag: " Paul Gortmaker
2017-01-22 16:32 ` [PATCH 15/20] score: " Paul Gortmaker
2017-01-22 16:32 ` [PATCH 16/20] unicore32: " Paul Gortmaker
2017-01-22 16:32 ` [PATCH 17/20] microblaze: " Paul Gortmaker
2017-01-22 16:32 ` [PATCH 18/20] hexagon: " Paul Gortmaker
2017-01-22 16:32 ` [PATCH 19/20] core: " Paul Gortmaker
2017-02-09 5:33 ` Jessica Yu
2017-01-22 16:32 ` [PATCH 20/20] module.h: remove extable.h include now users have migrated Paul Gortmaker
2017-01-22 22:52 ` kbuild test robot
2017-01-23 4:16 ` Paul Gortmaker
2017-02-09 5:34 ` Jessica Yu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170126145031.GF29778@windriver.com \
--to=paul.gortmaker@windriver.com \
--cc=jonas@southpole.se \
--cc=linux-kernel@vger.kernel.org \
--cc=openrisc@lists.librecores.org \
--cc=shorne@gmail.com \
--cc=stefan.kristiansson@saunalahti.fi \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox