linux-media.vger.kernel.org archive mirror
 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@s-opensource.com>,
	linux-media@vger.kernel.org
Subject: Re: [PATCH 1/2] [media] serial_ir: port lirc_serial to rc-core
Date: Thu, 10 Nov 2016 14:24:32 +0000	[thread overview]
Message-ID: <20161110142432.GA7376@gofer.mess.org> (raw)
In-Reply-To: <201611030352.kXJ0FvOv%fengguang.wu@intel.com>

On Thu, Nov 03, 2016 at 03:39:31AM +0800, kbuild test robot wrote:
> Hi Sean,
> 
> [auto build test WARNING on linuxtv-media/master]
> [also build test WARNING on v4.9-rc3 next-20161028]
> [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
> [Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
> [Check https://git-scm.com/docs/git-format-patch for more information]
> 
> url:    https://github.com/0day-ci/linux/commits/Sean-Young/serial_ir-port-lirc_serial-to-rc-core/20161103-014155
> base:   git://linuxtv.org/media_tree.git master
> config: parisc-allyesconfig (attached as .config)
> compiler: hppa-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
> 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=parisc 
> 
> All warnings (new ones prefixed by >>):
> 
>    drivers/media/rc/serial_ir.c: In function 'serial_ir_irq_handler':
> >> drivers/media/rc/serial_ir.c:592:1: warning: the frame size of 1196 bytes is larger than 1024 bytes [-Wframe-larger-than=]

Since ktime_t is in nanoseconds, ktime_to_us() does a 64 bit division by 1000
which quite some instructions/stack space on 32 bit parisc. Since the 
ktime_to_us() is just for a printk() it can simply report in nanoseconds
(so use ktime_to_ns() instead). The resulting machine code on parisc 32 bit
is much shorter and the warning goes away.

I'll send out a new version of this patch shortly. Please ignore this
version.

Thanks,

Sean

      reply	other threads:[~2016-11-10 14:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-02 17:38 [PATCH 1/2] [media] serial_ir: port lirc_serial to rc-core Sean Young
2016-11-02 17:38 ` [PATCH 2/2] [media] lirc: remove lirc_serial driver Sean Young
2016-11-02 21:00   ` VDR User
2016-11-02 21:05     ` Sean Young
2016-11-02 19:39 ` [PATCH 1/2] [media] serial_ir: port lirc_serial to rc-core kbuild test robot
2016-11-10 14:24   ` Sean Young [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=20161110142432.GA7376@gofer.mess.org \
    --to=sean@mess.org \
    --cc=kbuild-all@01.org \
    --cc=linux-media@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=mchehab@s-opensource.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 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).