Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8851467imu; Thu, 15 Nov 2018 19:30:35 -0800 (PST) X-Google-Smtp-Source: AJdET5eEljYvXUe4dbBGCRjJKTMuE41X60m2M2mV41l00j++YNdeTUuo2a0T/Q4nTBtDKYJeW6Tc X-Received: by 2002:a62:14d1:: with SMTP id 200mr9459344pfu.103.1542339035288; Thu, 15 Nov 2018 19:30:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542339035; cv=none; d=google.com; s=arc-20160816; b=QFpYVDgOpCpMV+sbCBfst28EvIcpryISQQrUApn8ppnaZye58eRBI/molYM640Tz/I 9X+U/mBTklq+w3NyFqJyl8AO9GyTDYp6lAl0BZzOnh8vDVIYSazUQXIbvDJoN0YTimXa Hp9tFTvYHKEiK9I/M9xcG5ZbyM9QciBLY+IvVDQy+Wx6Hvja7no9K/pz3pUdkOKn1u1W VeagWBUnLmuQNLIKvEpdEYQ1wrAgkjHTNVmX6SQwD1+ulcZu1cp2gS0JMP5G9eITgsRd XSAY3KRZ2gbgXimpiR+8L320qCkvAshIF75F3u4BQAWxpOv21igNLYSZ2BvX8wgKZa4i hl5A== 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=vA1p6PtNe2rcn5+iQmuGMNghJkkr4ZE/vfwukZ9SO7E=; b=xSuekNqCs7wQNRZ2lHAwJssNHrqKEN26gOa3V4tDVKgQwPbe6gvQmpi+QVnOMx7FQS 2KPOsIkel7ZEONmcOkx1t5IcvwrQs1y6NfcW8QhdzAu5fOW3vCu3UB0zYZ6xhTVtUMsa ad9o5Ch+Te4W8UKORj5jfm9is25h4uio1lfN2JPUeu/aZq7GvlfbE4g5Ty3qnkGwYqtL c50MkN6FCtqejWCyK90qDo9ZJQtk9U4AzWcMhRzvgdEg+H/U6aw2XceYo6GSb5hWU+df 4K7bJAx1o9V9d6BxFTlQAdWO8piJSDCfL2GFSGwTVFA3Hw8KLvYEYwUqP3JHhzlXzfnM JNnQ== 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 r27si28888675pgl.494.2018.11.15.19.30.20; Thu, 15 Nov 2018 19:30:35 -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 S1727343AbeKPNkX (ORCPT + 99 others); Fri, 16 Nov 2018 08:40:23 -0500 Received: from mga11.intel.com ([192.55.52.93]:40232 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726718AbeKPNkX (ORCPT ); Fri, 16 Nov 2018 08:40:23 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Nov 2018 19:29:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,238,1539673200"; d="scan'208";a="108581707" Received: from lkp-server01.sh.intel.com (HELO lkp-server01) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 15 Nov 2018 19:29:43 -0800 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1gNUpD-000795-CG; Fri, 16 Nov 2018 11:29:43 +0800 Date: Fri, 16 Nov 2018 11:29:00 +0800 From: kbuild test robot To: Janek Kotas Cc: kbuild-all@01.org, "Martin K. Petersen" , Vinayak Holikatti , "James E.J. Bottomley" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] scsi: ufs: fix platform_no_drv_owner.cocci warnings Message-ID: <20181116032900.GA138752@ivb43> References: <201811161154.LI2iPqpc%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201811161154.LI2iPqpc%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/scsi/ufs/cdns-pltfrm.c:138: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: d90996dae8e4 ("scsi: ufs: Add UFS platform driver for Cadence UFS") CC: Janek Kotas Signed-off-by: kbuild test robot --- tree: https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git queue head: 399b6c8bc9f705c8fc718ddeb1671f88174da051 commit: d90996dae8e48e042bd9fbfc11c73504a19a6e68 [54/101] scsi: ufs: Add UFS platform driver for Cadence UFS cdns-pltfrm.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/scsi/ufs/cdns-pltfrm.c +++ b/drivers/scsi/ufs/cdns-pltfrm.c @@ -135,7 +135,6 @@ static struct platform_driver cdns_ufs_p .remove = cdns_ufs_pltfrm_remove, .driver = { .name = "cdns-ufshcd", - .owner = THIS_MODULE, .pm = &cdns_ufs_dev_pm_ops, .of_match_table = cdns_ufs_of_match, },