Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1633265imu; Fri, 9 Nov 2018 21:51:03 -0800 (PST) X-Google-Smtp-Source: AJdET5dnfaEgRDgNsUsx9RB0YmONHn0Q3Twu76ocr11Z1QlhMFKsWFnO4WOHKW/kTy/yxZC1q6f1 X-Received: by 2002:a63:a35c:: with SMTP id v28mr9993266pgn.205.1541829063346; Fri, 09 Nov 2018 21:51:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541829063; cv=none; d=google.com; s=arc-20160816; b=yta6hyS6Q0sI2pENWa8nSLu/HJnos6XbR0y2ripparCS9dD3pRn0s7gpAmMb97gyga WNi8bjtcyUHRf5LX7chzNBxPG3AkVKFs8b5+qSZljB/bmMxio3kiZlAhCrrF4VVJFmC9 0JzmHa/Na9hIJVkutuktoow+UcbsSyWYj3Xa1HRMZSngPgP+DHkBmsMB3GD3kj957fhR HBTM04EnwIBLyHi7w1vVtvEk1fJsPqniggnzu0kImm7gaRTzT08Fsag8Tvoz4ozds1CF LB+hQ8LhtPdcaED1s0JVA943uAvVU7Boz5uAfPP3++RgCTFUFlWUM9WbcJiET2Jqm+za 9mEQ== 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=VKDnn6Cqyr+XoaqJn124srdI8bcs0yCnaChYL6sT4Po=; b=V/D88SYJA9/BB+zyW31yhc5woSmI55Im36dGWduu65smZujez0/gjmQkPNIpfGDyXf 4yRuhmABohk1YusX77j3m7+3kj4wNTCZU5X8WOPfgDSIqQgho1H+UaoRMHQBpUBsA4nI ki1pf2C8re27VQkWbBYMwhxTvAw2gKWhn6Lh7iiPJd/K1m+e0V/Ifr9bPNWxmz/+rlXQ yFG//8PmxPwRPh6baPw44my4ZxM8qBiNy7S0QTLfMybrE8seRNUQl6BmRyw1B2Uoh0b/ CN5SlqcRlWKZs6P1+X2THkJYfAZbql+AB061CGIlpJHatpO1wRg7+JJy9rD9sHeY5ETV xnhA== 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 33-v6si10442494pls.173.2018.11.09.21.50.47; Fri, 09 Nov 2018 21:51:03 -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 S1728936AbeKJPdK (ORCPT + 99 others); Sat, 10 Nov 2018 10:33:10 -0500 Received: from mga07.intel.com ([134.134.136.100]:4632 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728810AbeKJPdK (ORCPT ); Sat, 10 Nov 2018 10:33:10 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Nov 2018 21:49:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,486,1534834800"; d="scan'208";a="248591879" Received: from lkp-server01.sh.intel.com (HELO lkp-server01) ([10.239.97.150]) by orsmga004.jf.intel.com with ESMTP; 09 Nov 2018 21:49:19 -0800 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1gLM90-000E3K-D4; Sat, 10 Nov 2018 13:49:18 +0800 Date: Sat, 10 Nov 2018 13:48:46 +0800 From: kbuild test robot To: Al Cooper Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org, Al Cooper , Alan Stern , Alban Bedel , Alex Elder , Andrew Morton , Arnd Bergmann , Avi Fishman , bcm-kernel-feedback-list@broadcom.com, Bjorn Andersson , Chunfeng Yun , "David S. Miller" , devicetree@vger.kernel.org, Dmitry Osipenko , Greg Kroah-Hartman , "Gustavo A. R. Silva" , Hans de Goede , James Hogan , Johan Hovold , Kees Cook , linux-usb@vger.kernel.org, Lu Baolu , Mark Rutland , Martin Blumenstingl , Mathias Nyman , Mathias Nyman , Mauro Carvalho Chehab , Rishabh Bhatnagar , Rob Herring , Roger Quadros Subject: [PATCH] usb: host: fix platform_no_drv_owner.cocci warnings Message-ID: <20181110054846.GA16550@lkp-hsx03> References: <1541772120-40394-6-git-send-email-alcooperx@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1541772120-40394-6-git-send-email-alcooperx@gmail.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/usb/host/ehci-brcm.c:258: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: 51b4c79a49f1 ("usb: host: Add ability to build new Broadcom STB USB drivers") CC: Al Cooper Signed-off-by: kbuild test robot --- url: https://github.com/0day-ci/linux/commits/Al-Cooper/Add-XHCI-EHCI-and-OHCI-support-for-Broadcom-STB-SoS-s/20181110-065441 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ehci-brcm.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/usb/host/ehci-brcm.c +++ b/drivers/usb/host/ehci-brcm.c @@ -255,7 +255,6 @@ static struct platform_driver ehci_brcm_ .remove = ehci_brcm_remove, .shutdown = usb_hcd_platform_shutdown, .driver = { - .owner = THIS_MODULE, .name = "ehci-brcm", .pm = &ehci_brcm_pm_ops, .of_match_table = brcm_ehci_of_match,