public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: David Cohen <david.a.cohen@linux•intel.com>
To: Jim Davis <jim.epost@gmail•com>
Cc: Stephen Rothwell <sfr@canb•auug.org.au>,
	linux-next@vger•kernel.org, linux-kernel@vger•kernel.org,
	tglx@linutronix•de, mingo@redhat•com, hpa@zytor•com,
	x86@kernel•org, sathyanarayanan.kuppuswamy@linux•intel.com
Subject: Re: randconfig build error with next-20140122, in arch/x86/platform/intel-mid/intel-mid.c
Date: Wed, 22 Jan 2014 13:38:40 -0800	[thread overview]
Message-ID: <20140122213839.GA26480@psi-dev26.jf.intel.com> (raw)
In-Reply-To: <CA+r1ZhgAbZH19kbVfKgeVJ0tPqGpJ86b10GAYaGVgDn2Q58Dyg@mail.gmail.com>

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

      reply	other threads:[~2014-01-22 21:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-22 18:45 randconfig build error with next-20140122, in arch/x86/platform/intel-mid/intel-mid.c Jim Davis
2014-01-22 21:38 ` David Cohen [this message]

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=20140122213839.GA26480@psi-dev26.jf.intel.com \
    --to=david.a.cohen@linux$(echo .)intel.com \
    --cc=hpa@zytor$(echo .)com \
    --cc=jim.epost@gmail$(echo .)com \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=mingo@redhat$(echo .)com \
    --cc=sathyanarayanan.kuppuswamy@linux$(echo .)intel.com \
    --cc=sfr@canb$(echo .)auug.org.au \
    --cc=tglx@linutronix$(echo .)de \
    --cc=x86@kernel$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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