Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1775303imu; Tue, 6 Nov 2018 04:15:12 -0800 (PST) X-Google-Smtp-Source: AJdET5dDS/fG3/J0yJVeyabWxWA5ue8PX/QZ5FNzZYaKC99XPUkcDGCvq9LR6MU6BgWa4l4zjJRF X-Received: by 2002:a63:4c6:: with SMTP id 189mr23835464pge.391.1541506512340; Tue, 06 Nov 2018 04:15:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541506512; cv=none; d=google.com; s=arc-20160816; b=IQxG1rTplaR1wIV1aglymlnioQI1hM5E/+5ZmZUEmslt6KRUO8Vebx6UNOMq0Ryjv3 Omdn3aw9dZhRs1E9rOyvioEprAF37w++duebMfl3s8w8T2kEMi+TKM9lXZ121V9pS9cp kQl9H81MJ3dY2OSSfY+e4p+yCIMK1Zr/mu+7xBUHgwhrOwH8rr+rsBhQ2CLCNBXXbcwp pH58iGE5QpfU0pmI5oseRbB7fZG/XDkNhiB/d9HJYn72IHQHXVIlWhO1wgI/CI127PFg pabcIExyMpVDeV8+cf+3yVQiWwumgEn0TZTWxK8gUYjSGovEY5Go7arx44C+NhtLYPgi yOOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=UMXfrytRCHrGCDBmjV0NwASRZjnb8QvZj2C5XkM+g4U=; b=AB9sICLBLFnhIb5dxBVRz68mzEKiErH+gcUjHQpsmT2Cmv4W1AIIXM33OzYLJMaH3a ELUTVAGwRFBUYoHdPM4AYJpXjHnSheeCHvnK/rvaJBP2j9noBraC3c6RNcjF4NxEsMlg rvJNFsAw5V/HqpfvMtf70YYhapc+rQnzSGDgnpT65LFul3WLCoRaF+LSrmPuNFYSCLsE wy39Z2JR4GxWz2F7p2iRQDRqrX4fCUpAWCSJpr/OLv9BuzUxkrLBsugAesL+K/jAKGRJ TrrnTHYMzB9cgzcWEBChrL16crBFQUUmQzd5RAJPupjQVb8awzIquOIs8KRcz4O9u+TG t7LQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d4-v6si29914289pla.203.2018.11.06.04.14.57; Tue, 06 Nov 2018 04:15:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730537AbeKFU7E (ORCPT + 99 others); Tue, 6 Nov 2018 15:59:04 -0500 Received: from mga14.intel.com ([192.55.52.115]:58283 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730358AbeKFU7D (ORCPT ); Tue, 6 Nov 2018 15:59:03 -0500 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 fmsmga103.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 Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org, Mauro Carvalho Chehab , linux-media@vger.kernel.org, Hans Verkuil , Maxime Ripard , Greg Kroah-Hartman , Chen-Yu Tsai , devel@driverdev.osuosl.org, linux-arm-kernel@lists.infradead.org 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201811061917.7LMfScZW%fengguang.wu@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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), }, };