All of lore.kernel.org
 help / color / mirror / Atom feed
From: tixy@linaro.org (Jon Medhurst (Tixy))
To: linux-arm-kernel@lists.infradead.org
Subject: arm: kprobe compilation error
Date: Mon, 09 Feb 2015 17:44:39 +0800	[thread overview]
Message-ID: <1423475079.2864.49.camel@linaro.org> (raw)
In-Reply-To: <54D38982.6000100@elproma.com.pl>

Hi Janusz

On Thu, 2015-02-05 at 16:17 +0100, Janusz U?ycki wrote:
> I got the compilation error on next-20150204:
> 
[...]
> In file included from arch/arm/probes/kprobes/core.c:37:
> arch/arm/probes/kprobes/core.h:43: error: '[*]' not allowed in other 
> than a declaration
[...]
> gcc version 4.2.4

Thanks for reporting this, is it OK if I add to a patch to fix this a
line saying "Reported-by: Janusz U?ycki <j.uzycki@elproma.com.pl>"?

Whilst the extra '*' looks like an obvious typo, it's interesting that
your error message implies that it's allowed in some situations and that
the version of GCC that I use (4.9.1) doesn't complain about it.
If it's valid C, I've no idea what that syntax that might represent.

-- 
Tixy 

WARNING: multiple messages have this Message-ID (diff)
From: "Jon Medhurst (Tixy)" <tixy@linaro.org>
To: "Janusz Użycki" <j.uzycki@elproma.com.pl>
Cc: Russell King <linux@arm.linux.org.uk>,
	"David A. Long" <dave.long@linaro.org>,
	Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>,
	Wang Nan <wangnan0@huawei.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: arm: kprobe compilation error
Date: Mon, 09 Feb 2015 17:44:39 +0800	[thread overview]
Message-ID: <1423475079.2864.49.camel@linaro.org> (raw)
In-Reply-To: <54D38982.6000100@elproma.com.pl>

Hi Janusz

On Thu, 2015-02-05 at 16:17 +0100, Janusz Użycki wrote:
> I got the compilation error on next-20150204:
> 
[...]
> In file included from arch/arm/probes/kprobes/core.c:37:
> arch/arm/probes/kprobes/core.h:43: error: '[*]' not allowed in other 
> than a declaration
[...]
> gcc version 4.2.4

Thanks for reporting this, is it OK if I add to a patch to fix this a
line saying "Reported-by: Janusz Użycki <j.uzycki@elproma.com.pl>"?

Whilst the extra '*' looks like an obvious typo, it's interesting that
your error message implies that it's allowed in some situations and that
the version of GCC that I use (4.9.1) doesn't complain about it.
If it's valid C, I've no idea what that syntax that might represent.

-- 
Tixy 


  parent reply	other threads:[~2015-02-09  9:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-05 15:17 arm: kprobe compilation error Janusz Użycki
2015-02-05 15:17 ` Janusz Użycki
2015-02-07  7:22 ` Masami Hiramatsu
2015-02-07  7:22   ` Masami Hiramatsu
2015-02-09  9:44 ` Jon Medhurst (Tixy) [this message]
2015-02-09  9:44   ` Jon Medhurst (Tixy)
2015-02-09 11:00   ` Janusz Użycki
2015-02-09 11:00     ` Janusz Użycki
2015-02-10  8:28     ` Wang Nan
2015-02-10  8:28       ` Wang Nan
2015-02-10  9:36       ` Wang Nan
2015-02-10  9:36         ` Wang Nan

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=1423475079.2864.49.camel@linaro.org \
    --to=tixy@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.