Re: randconfig build error with next-20140122, in arch/x86/platform/intel-mid/intel-mid.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wed, Jan 22, 2014 at 11:45:42AM -0700, Jim Davis wrote:
> Building with the attached random configuration file,
> 
> In file included from arch/x86/platform/intel-mid/intel-mid.c:38:0:
> arch/x86/platform/intel-mid/intel_mid_weak_decls.h:17:25: error:
> expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
> ‘get_penwell_ops’
>  extern void * __cpuinit get_penwell_ops(void) __attribute__((weak));
>                          ^
> arch/x86/platform/intel-mid/intel_mid_weak_decls.h:18:25: error:
> expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
> ‘get_cloverview_ops’
>  extern void * __cpuinit get_cloverview_ops(void) __attribute__((weak));
>                          ^
> In file included from arch/x86/platform/intel-mid/intel-mid.c:30:0:
> /home/jim/linux/arch/x86/include/asm/intel-mid.h:74:15: error:
> ‘get_penwell_ops’ undeclared here (not in a function)
>      [cpuid] = get_##cpuname##_ops
>                ^
> /home/jim/linux/arch/x86/include/asm/intel-mid.h:84:2: note: in
> expansion of macro ‘DECLARE_INTEL_MID_OPS_INIT’
>   DECLARE_INTEL_MID_OPS_INIT(penwell, INTEL_MID_CPU_CHIP_PENWELL), \
>   ^
> arch/x86/platform/intel-mid/intel-mid.c:66:45: note: in expansion of
> macro ‘INTEL_MID_OPS_INIT’
>  static void *(*get_intel_mid_ops[])(void) = INTEL_MID_OPS_INIT;
>                                              ^
> /home/jim/linux/arch/x86/include/asm/intel-mid.h:74:15: error:
> ‘get_cloverview_ops’ undeclared here (not in a function)
>      [cpuid] = get_##cpuname##_ops
>                ^
> /home/jim/linux/arch/x86/include/asm/intel-mid.h:85:2: note: in
> expansion of macro ‘DECLARE_INTEL_MID_OPS_INIT’
>   DECLARE_INTEL_MID_OPS_INIT(cloverview, INTEL_MID_CPU_CHIP_CLOVERVIEW), \
>   ^
> arch/x86/platform/intel-mid/intel-mid.c:66:45: note: in expansion of
> macro ‘INTEL_MID_OPS_INIT’
>  static void *(*get_intel_mid_ops[])(void) = INTEL_MID_OPS_INIT;
>                                              ^
> make[3]: *** [arch/x86/platform/intel-mid/intel-mid.o] Error 1

I just acked a patch fixing this problem. Please, consider apply this as
fix:
https://lkml.org/lkml/2014/1/22/327

Br, David Cohen
--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux