From patchwork Tue Nov 6 11:33:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 10670149 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A523F175A for ; Tue, 6 Nov 2018 11:35:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9273029CAA for ; Tue, 6 Nov 2018 11:35:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8620B2A219; Tue, 6 Nov 2018 11:35:40 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 3DC3A29CAA for ; Tue, 6 Nov 2018 11:35:40 +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=elGtkNggBRmTrHF6c+byzl9+cmqBpwRimlbYSAHFBG0=; b=TAOvQvZZCIy7MG 0P3yeI1gDmxsC8D14AP1DvU4nAS8puB50wFtAcFtoGw8itSJ2gSQrDaCxmjgEF7VGcnlPLizh3DQX h5946DAFdy1dxzFfgU+lzClIyzpq5/NMyhXeiP2kCO47t8Q/93E2RLHQ9YCQVRovZ8IcYfvX50Txf HeQtYvKlsrpC2Pz0oQ0uRXIGCDv3fTfvsCqpogMM67D7mcaypaxFJpGoa37HDkGaYkDTQEE8IaLOW bBhWgifIAeyXu2Lh4b0k4R/jGDSA9ReH2ba3j6BDywoQn9MJsT8L2Q2ZSrwRhjykYDXJbAzuH00d3 2nuA7t6ixy/T9HnHocog==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gJzdt-0007Ha-No; Tue, 06 Nov 2018 11:35:33 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gJzds-0007HR-L1 for linux-arm-kernel@bombadil.infradead.org; Tue, 06 Nov 2018 11:35:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=UMXfrytRCHrGCDBmjV0NwASRZjnb8QvZj2C5XkM+g4U=; b=X7g+G8KLM9ocROB+jer8/wAtC 1t8A6GdDLhO6gDyuDxRYlisIPkWG2lhApv2a/zSEeYW4XC/DSAezkKeL8JK9IJscP5mKf0NQ84MDT 2wq9hPaKWjNfPUNQJ3FY4Lyn05RYAm70KM+IqA1xKy2JUMhR7ZTs+nOt1NWHmDITd13aU5g4RmRU0 3OHntKB4524TBC2QPMoWHSVcWtPCxHSllPiX5yTJf9K0pFpvTIQNtJyfF6RcqWyOyJDoaud3Put3K nfhjvk8F0gVf7Fz/roOrz1jVR5/zawwBqU11/OjMPoXOWDk2aBrKXND3goJOcUSMhUBHQm5sXvule YzZuNDXZA==; Received: from mga11.intel.com ([192.55.52.93]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gJzdp-0006dF-G5 for linux-arm-kernel@lists.infradead.org; Tue, 06 Nov 2018 11:35:31 +0000 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Nov 2018 03:34:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,471,1534834800"; d="scan'208";a="83696186" Received: from lkp-server01.sh.intel.com (HELO lkp-server01) ([10.239.97.150]) by fmsmga007.fm.intel.com with ESMTP; 06 Nov 2018 03:34:15 -0800 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1gJzcd-000DIn-48; Tue, 06 Nov 2018 19:34:15 +0800 Date: Tue, 6 Nov 2018 19:33:19 +0800 From: kbuild test robot To: Paul Kocialkowski Subject: [PATCH] media: platform: fix platform_no_drv_owner.cocci warnings Message-ID: <20181106113319.GA17755@lkp-sb05> References: <201811061917.7LMfScZW%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201811061917.7LMfScZW%fengguang.wu@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181106_113529_814346_BA63ECD1 X-CRM114-Status: GOOD ( 16.26 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, Maxime Ripard , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Hans Verkuil , Chen-Yu Tsai , kbuild-all@01.org, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Mauro Carvalho Chehab Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: kbuild test robot drivers/staging/media/sunxi/cedrus/cedrus.c:421: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 Fixes: 50e761516f2b ("media: platform: Add Cedrus VPU decoder driver") CC: Paul Kocialkowski Signed-off-by: kbuild test robot Acked-by: Maxime Ripard --- tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 163c8d54a997153ee1a1e07fcac087492ad85b37 commit: 50e761516f2b8c0cdeb31a8c6ca1b4ef98cd13f1 media: platform: Add Cedrus VPU decoder driver cedrus.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/staging/media/sunxi/cedrus/cedrus.c +++ b/drivers/staging/media/sunxi/cedrus/cedrus.c @@ -418,7 +418,6 @@ static struct platform_driver cedrus_dri .remove = cedrus_remove, .driver = { .name = CEDRUS_NAME, - .owner = THIS_MODULE, .of_match_table = of_match_ptr(cedrus_dt_match), }, };