Message ID | 20170308205710.GA26035@lkp-hsx03.lkp.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 93C0560414 for <patchwork-linux-mediatek@patchwork.kernel.org>; Wed, 8 Mar 2017 20:58:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 870F428634 for <patchwork-linux-mediatek@patchwork.kernel.org>; Wed, 8 Mar 2017 20:58:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7B50628636; Wed, 8 Mar 2017 20:58:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2376528634 for <patchwork-linux-mediatek@patchwork.kernel.org>; Wed, 8 Mar 2017 20:58:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=eVvdr0PvHK3qaabuU5K7ln/DBs1xz3pxsC+ZHvl17ls=; b=jfdSWCdjVcRfwg KgbPwo4vNMff2Dn6hmKhq8e4CIwKvjWM8bbjgADD2HCT8dFt8BEySb4o1vUvxgutJGZyro15aNjBw zDHOiOz+sjrM9tEVEauESwl9r+/TMmXYniSEf3bEQw1aWy7lQuXAv0IXR7c7RpfNmwTRP4EdkScM3 qpiqI+1CBXomQ5zEVhbhRTzx4Q+lwbPrDMa0EdlrUl8hSicQpNOKSXJGjbaKNj1w1OtmalCZqc0IR Ah5yJjq0umWI/EfjaQchI664ILDvu9zZYYeq8VBuwEFfpQlHnJknE69ZmrkXJp9O0b4wnACHCR0jb kDnIYwIxkqCn1g5febiQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1clifQ-0002Uv-EO; Wed, 08 Mar 2017 20:58:40 +0000 Received: from mga11.intel.com ([192.55.52.93]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1clies-0002GB-JF; Wed, 08 Mar 2017 20:58:08 +0000 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Mar 2017 12:57:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,265,1486454400"; d="scan'208";a="57816343" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga002.jf.intel.com with ESMTP; 08 Mar 2017 12:57:42 -0800 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from <fengguang.wu@intel.com>) id 1cligZ-000FQT-Ls; Thu, 09 Mar 2017 04:59:51 +0800 Date: Thu, 9 Mar 2017 04:57:12 +0800 From: kbuild test robot <fengguang.wu@intel.com> To: Rick Chang <rick.chang@mediatek.com> Subject: [PATCH] [media] vcodec: mediatek: fix platform_no_drv_owner.cocci warnings Message-ID: <20170308205710.GA26035@lkp-hsx03.lkp.intel.com> References: <201703090447.gKuj4400%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201703090447.gKuj4400%fengguang.wu@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: <locally generated> X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170308_125806_655619_453AD780 X-CRM114-Status: GOOD ( 10.57 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-mediatek.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mediatek>, <mailto:linux-mediatek-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-mediatek/> List-Post: <mailto:linux-mediatek@lists.infradead.org> List-Help: <mailto:linux-mediatek-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mediatek>, <mailto:linux-mediatek-request@lists.infradead.org?subject=subscribe> Cc: Hans Verkuil <hverkuil@xs4all.nl>, Minghsiu Tsai <minghsiu.tsai@mediatek.com>, linux-kernel@vger.kernel.org, Ricky Liang <jcliang@chromium.org>, linux-mediatek@lists.infradead.org, kbuild-all@01.org, Matthias Brugger <matthias.bgg@gmail.com>, Mauro Carvalho Chehab <m.chehab@samsung.com>, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-mediatek" <linux-mediatek-bounces@lists.infradead.org> Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
--- a/drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c +++ b/drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c @@ -1293,7 +1293,6 @@ static struct platform_driver mtk_jpeg_d .probe = mtk_jpeg_probe, .remove = mtk_jpeg_remove, .driver = { - .owner = THIS_MODULE, .name = MTK_JPEG_NAME, .of_match_table = mtk_jpeg_match, .pm = &mtk_jpeg_pm_ops,
drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c:1296:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Rick Chang <rick.chang@mediatek.com> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> --- mtk_jpeg_core.c | 1 - 1 file changed, 1 deletion(-)