All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sean Young <sean@mess.org>
To: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org,
	Mauro Carvalho Chehab <mchehab@osg.samsung.com>,
	linux-media@vger.kernel.org
Subject: Re: [PATCH] [media] rc: Remove init_ir_raw_event and DEFINE_IR_RAW_EVENT
Date: Wed, 13 Apr 2016 10:36:51 +0100	[thread overview]
Message-ID: <20160413093651.GA9875@gofer.mess.org> (raw)
In-Reply-To: <201604131446.hEjbhLyL%fengguang.wu@intel.com>

On Wed, Apr 13, 2016 at 02:07:49PM +0800, kbuild test robot wrote:
> Hi Sean,
> 
> [auto build test ERROR on linuxtv-media/master]
> [also build test ERROR on v4.6-rc3 next-20160412]
> [if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
> 
> url:    https://github.com/0day-ci/linux/commits/Sean-Young/rc-Remove-init_ir_raw_event-and-DEFINE_IR_RAW_EVENT/20160412-203118
> base:   git://linuxtv.org/media_tree.git master
> config: openrisc-allmodconfig (attached as .config)
> reproduce:
>         wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # save the attached .config to linux build tree
>         make.cross ARCH=openrisc 
> 
> All errors (new ones prefixed by >>):
> 
>    drivers/media/i2c/cx25840/cx25840-ir.c: In function 'cx25840_ir_rx_read':
> >> drivers/media/i2c/cx25840/cx25840-ir.c:710:4: error: unknown field 'duration' specified in initializer
> --
>    drivers/media/rc/streamzap.c: In function 'streamzap_callback':
> >> drivers/media/rc/streamzap.c:258:6: error: unknown field 'duration' specified in initializer
> 
> vim +/duration +710 drivers/media/i2c/cx25840/cx25840-ir.c
> 
>    704			v = (unsigned) pulse_width_count_to_ns(
>    705					  (u16) (p->hw_fifo_data & FIFO_RXTX), divider);
>    706			if (v > IR_MAX_DURATION)
>    707				v = IR_MAX_DURATION;
>    708	
>    709			p->ir_core_data = (struct ir_raw_event)
>  > 710				{ .pulse = u, .duration = v, .timeout = w };

Looks like gcc 4.5.1 does not handle anonymous union initializers properly.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10676

I don't think this patch can be reworked without it.

Thanks,

Sean

  reply	other threads:[~2016-04-13  9:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-12 12:27 [PATCH] [media] rc: Remove init_ir_raw_event and DEFINE_IR_RAW_EVENT Sean Young
2016-04-13  6:07 ` kbuild test robot
2016-04-13  9:36   ` Sean Young [this message]
2016-06-09 12:29     ` Mauro Carvalho Chehab

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=20160413093651.GA9875@gofer.mess.org \
    --to=sean@mess.org \
    --cc=kbuild-all@01.org \
    --cc=linux-media@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=mchehab@osg.samsung.com \
    /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.