From: Randy Dunlap <rdunlap@infradead.org>
To: Stephen Rothwell <sfr@canb.auug.org.au>, linux-next@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
Steven Rostedt <rostedt@goodmis.org>,
Sergey Kozlov <serjk@netup.ru>, Abylay Ospan <aospan@netup.ru>
Subject: Re: linux-next: Tree for Sep 24 (netup_unidvb & if)
Date: Thu, 24 Sep 2015 10:53:16 -0700 [thread overview]
Message-ID: <5604388C.2040604@infradead.org> (raw)
In-Reply-To: <20150924145335.2674d15d@canb.auug.org.au>
On 09/23/15 21:53, Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20150923:
>
on x86_64:
In file included from ../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:34:0:
../drivers/media/dvb-frontends/horus3a.h:51:13: warning: 'struct cxd2820r_config' declared inside parameter list [enabled by default]
struct i2c_adapter *i2c)
^
../drivers/media/dvb-frontends/horus3a.h:51:13: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
In file included from ../include/linux/init.h:4:0,
from ../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:21:
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c: In function 'netup_unidvb_dvb_init':
../include/linux/compiler.h:150:17: warning: passing argument 1 of '__a' from incompatible pointer type [enabled by default]
static struct ftrace_branch_data \
^
../include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:2: note: in expansion of macro 'if'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
../drivers/media/dvb-core/dvbdev.h:238:2: note: in expansion of macro 'if'
if (__a) { \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:7: note: in expansion of macro 'dvb_attach'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:150:17: note: expected 'const struct cxd2820r_config *' but argument is of type 'struct dvb_frontend *'
static struct ftrace_branch_data \
^
../include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:2: note: in expansion of macro 'if'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
../drivers/media/dvb-core/dvbdev.h:238:2: note: in expansion of macro 'if'
if (__a) { \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:7: note: in expansion of macro 'dvb_attach'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:150:17: warning: passing argument 2 of '__a' from incompatible pointer type [enabled by default]
static struct ftrace_branch_data \
^
../include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:2: note: in expansion of macro 'if'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
../drivers/media/dvb-core/dvbdev.h:238:2: note: in expansion of macro 'if'
if (__a) { \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:7: note: in expansion of macro 'dvb_attach'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:150:17: note: expected 'struct i2c_adapter *' but argument is of type 'struct horus3a_config *'
static struct ftrace_branch_data \
^
../include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:2: note: in expansion of macro 'if'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
../drivers/media/dvb-core/dvbdev.h:238:2: note: in expansion of macro 'if'
if (__a) { \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:7: note: in expansion of macro 'dvb_attach'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:150:17: error: too many arguments to function '__a'
static struct ftrace_branch_data \
^
../include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:2: note: in expansion of macro 'if'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
../drivers/media/dvb-core/dvbdev.h:238:2: note: in expansion of macro 'if'
if (__a) { \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:7: note: in expansion of macro 'dvb_attach'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:150:17: warning: passing argument 1 of '__a' from incompatible pointer type [enabled by default]
static struct ftrace_branch_data \
^
../include/linux/compiler.h:147:40: note: in definition of macro '__trace_if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:2: note: in expansion of macro 'if'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
../drivers/media/dvb-core/dvbdev.h:238:2: note: in expansion of macro 'if'
if (__a) { \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:7: note: in expansion of macro 'dvb_attach'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:150:17: note: expected 'const struct cxd2820r_config *' but argument is of type 'struct dvb_frontend *'
static struct ftrace_branch_data \
^
../include/linux/compiler.h:147:40: note: in definition of macro '__trace_if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:2: note: in expansion of macro 'if'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
../drivers/media/dvb-core/dvbdev.h:238:2: note: in expansion of macro 'if'
if (__a) { \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:7: note: in expansion of macro 'dvb_attach'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:150:17: warning: passing argument 2 of '__a' from incompatible pointer type [enabled by default]
static struct ftrace_branch_data \
^
../include/linux/compiler.h:147:40: note: in definition of macro '__trace_if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:2: note: in expansion of macro 'if'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
../drivers/media/dvb-core/dvbdev.h:238:2: note: in expansion of macro 'if'
if (__a) { \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:7: note: in expansion of macro 'dvb_attach'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:150:17: note: expected 'struct i2c_adapter *' but argument is of type 'struct horus3a_config *'
static struct ftrace_branch_data \
^
../include/linux/compiler.h:147:40: note: in definition of macro '__trace_if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:2: note: in expansion of macro 'if'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
../drivers/media/dvb-core/dvbdev.h:238:2: note: in expansion of macro 'if'
if (__a) { \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:7: note: in expansion of macro 'dvb_attach'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:150:17: error: too many arguments to function '__a'
static struct ftrace_branch_data \
^
../include/linux/compiler.h:147:40: note: in definition of macro '__trace_if'
if (__builtin_constant_p((cond)) ? !!(cond) : \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:2: note: in expansion of macro 'if'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
../drivers/media/dvb-core/dvbdev.h:238:2: note: in expansion of macro 'if'
if (__a) { \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:7: note: in expansion of macro 'dvb_attach'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:150:17: warning: passing argument 1 of '__a' from incompatible pointer type [enabled by default]
static struct ftrace_branch_data \
^
../include/linux/compiler.h:158:16: note: in definition of macro '__trace_if'
______r = !!(cond); \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:2: note: in expansion of macro 'if'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
../drivers/media/dvb-core/dvbdev.h:238:2: note: in expansion of macro 'if'
if (__a) { \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:7: note: in expansion of macro 'dvb_attach'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:150:17: note: expected 'const struct cxd2820r_config *' but argument is of type 'struct dvb_frontend *'
static struct ftrace_branch_data \
^
../include/linux/compiler.h:158:16: note: in definition of macro '__trace_if'
______r = !!(cond); \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:2: note: in expansion of macro 'if'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
../drivers/media/dvb-core/dvbdev.h:238:2: note: in expansion of macro 'if'
if (__a) { \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:7: note: in expansion of macro 'dvb_attach'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:150:17: warning: passing argument 2 of '__a' from incompatible pointer type [enabled by default]
static struct ftrace_branch_data \
^
../include/linux/compiler.h:158:16: note: in definition of macro '__trace_if'
______r = !!(cond); \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:2: note: in expansion of macro 'if'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
../drivers/media/dvb-core/dvbdev.h:238:2: note: in expansion of macro 'if'
if (__a) { \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:7: note: in expansion of macro 'dvb_attach'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:150:17: note: expected 'struct i2c_adapter *' but argument is of type 'struct horus3a_config *'
static struct ftrace_branch_data \
^
../include/linux/compiler.h:158:16: note: in definition of macro '__trace_if'
______r = !!(cond); \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:2: note: in expansion of macro 'if'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
../drivers/media/dvb-core/dvbdev.h:238:2: note: in expansion of macro 'if'
if (__a) { \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:7: note: in expansion of macro 'dvb_attach'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:150:17: error: too many arguments to function '__a'
static struct ftrace_branch_data \
^
../include/linux/compiler.h:158:16: note: in definition of macro '__trace_if'
______r = !!(cond); \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:2: note: in expansion of macro 'if'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
../include/linux/compiler.h:145:23: note: in expansion of macro '__trace_if'
#define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
^
../drivers/media/dvb-core/dvbdev.h:238:2: note: in expansion of macro 'if'
if (__a) { \
^
../drivers/media/pci/netup_unidvb/netup_unidvb_core.c:417:7: note: in expansion of macro 'dvb_attach'
if (!dvb_attach(horus3a_attach, fe0->dvb.frontend,
^
--
~Randy
next prev parent reply other threads:[~2015-09-24 17:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-24 4:53 linux-next: Tree for Sep 24 Stephen Rothwell
2015-09-24 17:00 ` linux-next: Tree for Sep 24 (drivers/mfd/intel_soc_pmic_bxtwc.c) Randy Dunlap
2015-09-24 17:53 ` Randy Dunlap [this message]
2015-09-24 21:05 ` linux-next: Tree for Sep 24 (netup_unidvb & if) Steven Rostedt
2015-09-24 22:36 ` Randy Dunlap
2015-09-25 6:54 ` Abylay Ospan
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=5604388C.2040604@infradead.org \
--to=rdunlap@infradead.org \
--cc=aospan@netup.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=rostedt@goodmis.org \
--cc=serjk@netup.ru \
--cc=sfr@canb.auug.org.au \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).