Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1571410 > unrolled thread
| Started by | Ingo Molnar <mingo@kernel.org> |
|---|---|
| First post | 2017-02-01 11:00 +0100 |
| Last post | 2017-02-01 11:10 +0100 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 4/5] xen, x86/headers: Add <linux/device.h> dependency to <asm/xen/page.h> Ingo Molnar <mingo@kernel.org> - 2017-02-01 11:00 +0100
Re: [PATCH 4/5] xen, x86/headers: Add <linux/device.h> dependency to <asm/xen/page.h> Ingo Molnar <mingo@kernel.org> - 2017-02-01 11:10 +0100
Re: [PATCH 4/5] xen, x86/headers: Add <linux/device.h> dependency to <asm/xen/page.h> Juergen Gross <jgross@suse.com> - 2017-02-01 11:10 +0100
| From | Ingo Molnar <mingo@kernel.org> |
|---|---|
| Date | 2017-02-01 11:00 +0100 |
| Subject | [PATCH 4/5] xen, x86/headers: Add <linux/device.h> dependency to <asm/xen/page.h> |
| Message-ID | <t5ZRN-4h5-45@gated-at.bofh.it> |
The following patch (not upstream yet): "x86/boot/e820: Remove spurious asm/e820/api.h inclusions" Removed the (spurious) <asm/e820.h> include line from <asm/pgtable.h> to reduce header file dependencies - but a Xen header has (unintentionally) learned to rely on the indirect inclusion of <linux/device.h>. This resulted in the following (harmless) build warning: arch/x86/include/asm/xen/page.h:302:7: warning: 'struct device' declared inside parameter list Include <linux/device.h> explicitly. No change in functionality. Reported-by: kbuild test robot <fengguang.wu@intel.com> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Cc: <stefano.stabellini@eu.citrix.com> Cc: Juergen Gross <jgross@suse.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org> --- arch/x86/include/asm/xen/page.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/include/asm/xen/page.h b/arch/x86/include/asm/xen/page.h index 33cbd3db97b9..64c5e745ebad 100644 --- a/arch/x86/include/asm/xen/page.h +++ b/arch/x86/include/asm/xen/page.h @@ -6,6 +6,7 @@ #include <linux/spinlock.h> #include <linux/pfn.h> #include <linux/mm.h> +#include <linux/device.h> #include <linux/uaccess.h> #include <asm/page.h> -- 2.7.4
[toc] | [next] | [standalone]
| From | Ingo Molnar <mingo@kernel.org> |
|---|---|
| Date | 2017-02-01 11:10 +0100 |
| Subject | Re: [PATCH 4/5] xen, x86/headers: Add <linux/device.h> dependency to <asm/xen/page.h> |
| Message-ID | <t601s-4A9-17@gated-at.bofh.it> |
| In reply to | #1571410 |
* Juergen Gross <jgross@suse.com> wrote: > On 01/02/17 10:51, Ingo Molnar wrote: > > The following patch (not upstream yet): > > > > "x86/boot/e820: Remove spurious asm/e820/api.h inclusions" > > > > Removed the (spurious) <asm/e820.h> include line from <asm/pgtable.h> to > > reduce header file dependencies - but a Xen header has (unintentionally) > > learned to rely on the indirect inclusion of <linux/device.h>. > > > > This resulted in the following (harmless) build warning: > > > > arch/x86/include/asm/xen/page.h:302:7: warning: 'struct device' declared inside parameter list > > > > Include <linux/device.h> explicitly. > > > > No change in functionality. > > > > Reported-by: kbuild test robot <fengguang.wu@intel.com> > > Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> > > Cc: <stefano.stabellini@eu.citrix.com> > > Cc: Juergen Gross <jgross@suse.com> > > Hmm, how did you send this? In spite of the Cc: list in the patch only > few of those listed here are included in the Cc: header of the mail. I restricted it explicitly in the sending script to those I thought might be interested in the series, as LKML (and/or gmail) would occasionally reject a mail based on too many Cc: entries... Note that the tip-bot notification would still have Cc:-ed everyone mentioned in the Cc: lists, so had I screwed up the patch you'd still have been informed and you'd have the opportunity to embarrass me! :-) > > Cc: Linus Torvalds <torvalds@linux-foundation.org> > > Cc: Peter Zijlstra <peterz@infradead.org> > > Cc: Thomas Gleixner <tglx@linutronix.de> > > Cc: linux-kernel@vger.kernel.org > > Signed-off-by: Ingo Molnar <mingo@kernel.org> > > Acked-by: Juergen Gross <jgross@suse.com> Thanks! Added this to the changelog. Ingo
[toc] | [prev] | [next] | [standalone]
| From | Juergen Gross <jgross@suse.com> |
|---|---|
| Date | 2017-02-01 11:10 +0100 |
| Subject | Re: [PATCH 4/5] xen, x86/headers: Add <linux/device.h> dependency to <asm/xen/page.h> |
| Message-ID | <t601s-4A9-19@gated-at.bofh.it> |
| In reply to | #1571410 |
On 01/02/17 10:51, Ingo Molnar wrote: > The following patch (not upstream yet): > > "x86/boot/e820: Remove spurious asm/e820/api.h inclusions" > > Removed the (spurious) <asm/e820.h> include line from <asm/pgtable.h> to > reduce header file dependencies - but a Xen header has (unintentionally) > learned to rely on the indirect inclusion of <linux/device.h>. > > This resulted in the following (harmless) build warning: > > arch/x86/include/asm/xen/page.h:302:7: warning: 'struct device' declared inside parameter list > > Include <linux/device.h> explicitly. > > No change in functionality. > > Reported-by: kbuild test robot <fengguang.wu@intel.com> > Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> > Cc: <stefano.stabellini@eu.citrix.com> > Cc: Juergen Gross <jgross@suse.com> Hmm, how did you send this? In spite of the Cc: list in the patch only few of those listed here are included in the Cc: header of the mail. > Cc: Linus Torvalds <torvalds@linux-foundation.org> > Cc: Peter Zijlstra <peterz@infradead.org> > Cc: Thomas Gleixner <tglx@linutronix.de> > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Ingo Molnar <mingo@kernel.org> Acked-by: Juergen Gross <jgross@suse.com> Juergen
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web