Message ID | 20170511004058.GA63867@lkp-hsx02.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 742E460364 for <patchwork-dri-devel@patchwork.kernel.org>; Thu, 11 May 2017 00:41:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 73C5E28576 for <patchwork-dri-devel@patchwork.kernel.org>; Thu, 11 May 2017 00:41:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 65C4228642; Thu, 11 May 2017 00:41:53 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F2D4728576 for <patchwork-dri-devel@patchwork.kernel.org>; Thu, 11 May 2017 00:41:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5B74E6E426; Thu, 11 May 2017 00:41:52 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id 51A396E426 for <dri-devel@lists.freedesktop.org>; Thu, 11 May 2017 00:41:51 +0000 (UTC) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 May 2017 17:41:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,321,1491289200"; d="scan'208";a="85355723" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga002.jf.intel.com with ESMTP; 10 May 2017 17:41:49 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from <fengguang.wu@intel.com>) id 1d8cCi-0004Zt-I6; Thu, 11 May 2017 08:43:40 +0800 Date: Thu, 11 May 2017 08:41:01 +0800 From: kbuild test robot <fengguang.wu@intel.com> To: Maruthi Srinivas Bayyavarapu <Maruthi.Bayyavarapu@amd.com> Subject: [PATCH] ASoC: AMD: fix platform_no_drv_owner.cocci warnings Message-ID: <20170511004058.GA63867@lkp-hsx02.intel.com> References: <201705110833.7hio6DRH%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201705110833.7hio6DRH%fengguang.wu@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: <locally generated> X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Cc: Alex Deucher <alexander.deucher@amd.com>, Maruthi Bayyavarapu <maruthi.bayyavarapu@amd.com>, kbuild-all@01.org, dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
--- a/sound/soc/amd/raven/dummy-w5102.c +++ b/sound/soc/amd/raven/dummy-w5102.c @@ -91,7 +91,6 @@ static struct platform_driver dummy_w510 .remove = dummy_w5102_remove, .driver = { .name = "dummy_w5102", - .owner = THIS_MODULE, }, };
sound/soc/amd/raven/dummy-w5102.c:94: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 CC: Maruthi Srinivas Bayyavarapu <Maruthi.Bayyavarapu@amd.com> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> --- dummy-w5102.c | 1 - 1 file changed, 1 deletion(-)