Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2824765imm; Sun, 29 Jul 2018 04:21:14 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfeRawdl7t8Lm3DsXvchf6WxmmU/nVMi1F6BQOZeqXREYxsQrgPkXWjEVufg7Pz3NQ1YQd/ X-Received: by 2002:a17:902:8341:: with SMTP id z1-v6mr12295506pln.51.1532863274796; Sun, 29 Jul 2018 04:21:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532863274; cv=none; d=google.com; s=arc-20160816; b=qiDNp9L5OKdFSaJgaBT+hVgXoGHSKGPmsMjJbyZ0LhxFRRH5dk7p9zd+Cb6SfRFGU1 DmWQJQC8xQmE3zvmw1PK6kXWMLDdAwcCA16l6OHUVF7Myl14elS8Gh4ow+C0Wl75YhOF cVofD6kmWb8NWISOn3HEmmM0HdRggvB6kv/7/u9vIFyMExZGKhB6vtYqgGCJY9JPygXh +dyDLWOuYafV3D2XVrKDM4Y8fjYQu/d1nozD7wuQLkqLCCywGaojamsvgGbJkVb/GFK0 HHDl93LgebOpWdk2cpUfN22Oxn3kn84HssS1eyteaBcEdBT0I9LLCNeJ/CMxi+4/B0ru JN6A== 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:arc-authentication-results; bh=r8kCu9bSVg+tPl0CsIvmJ/Yc7cAefH8vcl2M3eHlAhs=; b=CYilhdG8Km9oBvHFma73bfJ1yXZRplH9vmmjYZHU9gexPLARJ0UrMVPQDQAxELBVNL zMRjDKjdQ8epoVcJ4fzuKG3/CopeUskXNiuihoqsEDBVTrZoLG9OoxW2F7fboOhwu2bP 8GYJtakKnwLYhIkTUsPduAnDC+61OeS0LuQTn+TPtrGqbvaje68zlCPUn4Hn0enaNY3t o67MuDC3p/JHrRHLNfsWr+96IKPUBenHCOrC6DEpsy4oZ4+V0DDIXNNf3Dfg4mNijOBT Jj9UCwqDHLZYBJeLoiv7Y/mZ++CrEOIVGkHp93oEMdhujrP/PIdAlYlSDKC9RfSGQ9r5 +vgA== 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 h35-v6si8367355pgl.176.2018.07.29.04.20.59; Sun, 29 Jul 2018 04:21:14 -0700 (PDT) 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 S1726327AbeG2MuS (ORCPT + 99 others); Sun, 29 Jul 2018 08:50:18 -0400 Received: from mga01.intel.com ([192.55.52.88]:40079 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726242AbeG2MuS (ORCPT ); Sun, 29 Jul 2018 08:50:18 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Jul 2018 04:20:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,418,1526367600"; d="scan'208";a="61620011" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga006.jf.intel.com with ESMTP; 29 Jul 2018 04:20:10 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1fjjkA-000WP7-0h; Sun, 29 Jul 2018 19:20:10 +0800 Date: Sun, 29 Jul 2018 19:19:26 +0800 From: kbuild test robot To: Jacob Feder Cc: kbuild-all@01.org, devel@driverdev.osuosl.org, Greg Kroah-Hartman , linux-kernel@vger.kernel.org Subject: [PATCH] staging: fix platform_no_drv_owner.cocci warnings Message-ID: <20180729111926.GA34363@xian> References: <201807291910.40c28q6f%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201807291910.40c28q6f%fengguang.wu@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: lkp@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false 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/axis-fifo/axis-fifo.c:1081: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: 4a965c5f89de ("staging: add driver for Xilinx AXI-Stream FIFO v4.1 IP core") CC: Jacob Feder Signed-off-by: kbuild test robot --- axis-fifo.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/staging/axis-fifo/axis-fifo.c +++ b/drivers/staging/axis-fifo/axis-fifo.c @@ -1078,7 +1078,6 @@ MODULE_DEVICE_TABLE(of, axis_fifo_of_mat static struct platform_driver axis_fifo_driver = { .driver = { .name = DRIVER_NAME, - .owner = THIS_MODULE, .of_match_table = axis_fifo_of_match, }, .probe = axis_fifo_probe,