From: kbuild test robot <lkp@intel.com>
To: Tiffany Lin <tiffany.lin@mediatek.com>
Cc: kbuild-all@01.org, Hans Verkuil <hans.verkuil@cisco.com>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Mauro Carvalho Chehab <mchehab@osg.samsung.com>,
Matthias Brugger <matthias.bgg@gmail.com>,
Daniel Kurtz <djkurtz@chromium.org>,
Pawel Osciak <posciak@chromium.org>,
Eddie Huang <eddie.huang@mediatek.com>,
Yingjoe Chen <yingjoe.chen@mediatek.com>,
linux-kernel@vger.kernel.org, linux-media@vger.kernel.org,
linux-mediatek@lists.infradead.org, Tiffany.lin@mediatek.com
Subject: Re: [PATCH v5] vcodec: mediatek: Add g/s_selection support for V4L2 Encoder
Date: Fri, 12 Aug 2016 22:55:23 +0800 [thread overview]
Message-ID: <201608122229.8GfZ1DND%fengguang.wu@intel.com> (raw)
In-Reply-To: <1471011205-17487-1-git-send-email-tiffany.lin@mediatek.com>
[-- Attachment #1: Type: text/plain, Size: 1914 bytes --]
Hi Tiffany,
[auto build test WARNING on linuxtv-media/master]
[also build test WARNING on v4.8-rc1 next-20160812]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Tiffany-Lin/vcodec-mediatek-Add-g-s_selection-support-for-V4L2-Encoder/20160812-221617
base: git://linuxtv.org/media_tree.git master
config: mips-allyesconfig (attached as .config)
compiler: mips-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
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=mips
All warnings (new ones prefixed by >>):
drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c: In function 'vidioc_venc_s_selection':
>> drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c:673:6: warning: unused variable 'err' [-Wunused-variable]
int err;
^
vim +/err +673 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c
657 s->r.left = 0;
658 s->r.width = q_data->visible_width;
659 s->r.height = q_data->visible_height;
660 break;
661 default:
662 return -EINVAL;
663 }
664
665 return 0;
666 }
667
668 static int vidioc_venc_s_selection(struct file *file, void *priv,
669 struct v4l2_selection *s)
670 {
671 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv);
672 struct mtk_q_data *q_data;
> 673 int err;
674
675 if (s->type != V4L2_BUF_TYPE_VIDEO_OUTPUT)
676 return -EINVAL;
677
678 q_data = mtk_venc_get_q_data(ctx, s->type);
679 if (!q_data)
680 return -EINVAL;
681
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 43042 bytes --]
prev parent reply other threads:[~2016-08-12 14:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-12 14:13 Tiffany Lin
2016-08-12 14:55 ` kbuild test robot [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=201608122229.8GfZ1DND%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=djkurtz@chromium.org \
--cc=eddie.huang@mediatek.com \
--cc=hans.verkuil@cisco.com \
--cc=kbuild-all@01.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=mchehab@osg.samsung.com \
--cc=posciak@chromium.org \
--cc=tiffany.lin@mediatek.com \
--cc=yingjoe.chen@mediatek.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
all inboxes | Powered by JetHome®