Re: [PATCH v2] x86, earlyprintk: Fix two 'defined but not used' compile warnings

2015-04-01 Thread Mark Einon
On Wed, Apr 01, 2015 at 09:54:10AM +0200, Ingo Molnar wrote: > > * Mark Einon wrote: > > > Two static functions are only used if CONFIG_PCI is defined,so only build > > them > > if this is the case. Fixes the build warnings: > > > > arch/x86/kernel/early_printk.c:98:13: warning:

Re: [PATCH v2] x86, earlyprintk: Fix two 'defined but not used' compile warnings

2015-04-01 Thread Ingo Molnar
* Mark Einon wrote: > Two static functions are only used if CONFIG_PCI is defined,so only build them > if this is the case. Fixes the build warnings: > > arch/x86/kernel/early_printk.c:98:13: warning: ‘mem32_serial_out’ defined but > not used [-Wunused-function] > static void

Re: [PATCH v2] x86, earlyprintk: Fix two 'defined but not used' compile warnings

2015-04-01 Thread Ingo Molnar
* Mark Einon mark.ei...@gmail.com wrote: Two static functions are only used if CONFIG_PCI is defined,so only build them if this is the case. Fixes the build warnings: arch/x86/kernel/early_printk.c:98:13: warning: ‘mem32_serial_out’ defined but not used [-Wunused-function] static void

Re: [PATCH v2] x86, earlyprintk: Fix two 'defined but not used' compile warnings

2015-04-01 Thread Mark Einon
On Wed, Apr 01, 2015 at 09:54:10AM +0200, Ingo Molnar wrote: * Mark Einon mark.ei...@gmail.com wrote: Two static functions are only used if CONFIG_PCI is defined,so only build them if this is the case. Fixes the build warnings: arch/x86/kernel/early_printk.c:98:13: warning:

[PATCH v2] x86, earlyprintk: Fix two 'defined but not used' compile warnings

2015-03-31 Thread Mark Einon
Two static functions are only used if CONFIG_PCI is defined,so only build them if this is the case. Fixes the build warnings: arch/x86/kernel/early_printk.c:98:13: warning: ‘mem32_serial_out’ defined but not used [-Wunused-function] static void mem32_serial_out(unsigned long addr, int offset,

[PATCH v2] x86, earlyprintk: Fix two 'defined but not used' compile warnings

2015-03-31 Thread Mark Einon
Two static functions are only used if CONFIG_PCI is defined,so only build them if this is the case. Fixes the build warnings: arch/x86/kernel/early_printk.c:98:13: warning: ‘mem32_serial_out’ defined but not used [-Wunused-function] static void mem32_serial_out(unsigned long addr, int offset,