Message ID | 20190502105930.9889-8-vkoul@kernel.org |
---|---|
State | Accepted |
Commit | 51ed743734fa90c215310854d502371adfa63575 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:7e86:0:0:0:0:0 with SMTP id q6csp5583632ill; Thu, 2 May 2019 04:06:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqzM87a4XW0xsvZh2s86dSAvDRnhjt9Hr91aIHad6Nb+g8Y1RQS3WqGh7UEzqwuNF+hhA/NP X-Received: by 2002:a1c:7518:: with SMTP id o24mr1900427wmc.42.1556795175685; Thu, 02 May 2019 04:06:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556795175; cv=none; d=google.com; s=arc-20160816; b=rl84LxvXgWzKf3ztyHW510YFydBzXiN3PNSu6BH8RYADJ559/XWEW4ulsB1EhkyikK FciYyD28IAO5pgkY+sV7YSKApcpvvBScFSdlFRWgfz+OexuF5BzHE0eqAQPCzNbjbKK5 aJbDUBsLTABvXKTHacXyCfjaQ5GNLJiNTvAB+78yBmExMzk9XrdG2TlGDdYNOWuNVsdB yRVtgPPZQ/enRiNQ3eiQjG2j8tY/Bj5ohE4qAREWdCvzxI6XdwNUH3fmS/l0cMNO2jcG ZrCjWw7ty9soWAFrVcXjN57QzkoqfV5f5Yh8fkp/SgmYBWEorCcbJbzcJQPfvDQfuH6o t7Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-filter:delivered-to:dkim-signature:dkim-filter; bh=q8qz+dt/8gAFGgAZVHIMs32P5OJezzKjdCP8RBW5yrQ=; b=Ck7ApVTUSdvjBl/Uh05Tih7BqBGgUeXAqJeioDCV1ipTd5qI1dzpSsuyJsvhI+6T02 dA6sUyWEJ4IYQXLk9Jzp99dG/3SlaUZMVbvQz04IO7ERnzrApvkPmjJz2YfKA+UYPlkJ 4l4EVH2Ivgdwv5Ft/68f+6gGbvR4ECWJeJLyPCXkqoWkRD9dzQMNXZvGd7qRLgXqGUDV BmfYGrdKBAPzyVR5555VhLw0xwQxIP6lkcneZso1lgx7kaPeW3XApfEWPBRCpE67j6U+ TZAof6hGR0zf/i8oLmL7bL7jO0yZ/H0J95eZulBEjWwqtRQL+LY5GSb0ps8gWmJ0AE0Z 2+FA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=my3ScM8W; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=RpngdUn4; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: <alsa-devel-bounces@alsa-project.org> Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTPS id u7si10971628wrq.261.2019.05.02.04.06.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 May 2019 04:06:15 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=pass header.i=@alsa-project.org header.s=default header.b=my3ScM8W; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=RpngdUn4; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 78F3017A1; Thu, 2 May 2019 13:05:24 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 78F3017A1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1556795174; bh=B+pXMDNywHIHkwUl+blhsm46UDrj4x/UoZ0Q7y4u2FY=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=my3ScM8W2hNBrwmX9FPOqSg4tPX9KsCLilgGriU8mpfDfXWaWK9SoQciocxAcFmnn /golUkHrObuzDlFk0naXQZgXQsSdRwPWzcJ++sk0LUn14tGNarLQKJz4hrgsT7jLC6 U9UtlgslgjFCKxxD8TR85wCVrDD+RoWwlLECch3Y= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id CB13FF89743; Thu, 2 May 2019 13:00:39 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id E041DF8972F; Thu, 2 May 2019 13:00:33 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_PASS autolearn=disabled version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id CCE84F8972A for <alsa-devel@alsa-project.org>; Thu, 2 May 2019 13:00:30 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz CCE84F8972A Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="RpngdUn4" Received: from localhost.localdomain (unknown [171.76.113.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B3B302089E; Thu, 2 May 2019 11:00:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556794829; bh=K+1jriQ1cRmGcNIXvnl+HNNm2c34ANpldEWbqely3S4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RpngdUn42TI7gEEjzLOl7SYaFm4sZFz+3RwM9P4DvPMJbodlwdKlxSbsqiQ3uolSn Kn6zywyhLhzzkj1KOwlJnA3QhBCp2CX5g950X/pMwh1Pjxxixsbyn0RZeNXO6gSpQs paWn8uLdCy13EKy7M+wOgRPcJu7nbSDdV2EtnSto= From: Vinod Koul <vkoul@kernel.org> To: alsa-devel@alsa-project.org Date: Thu, 2 May 2019 16:29:23 +0530 Message-Id: <20190502105930.9889-8-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190502105930.9889-1-vkoul@kernel.org> References: <20190502105930.9889-1-vkoul@kernel.org> MIME-Version: 1.0 Cc: Greg KH <gregkh@linuxfoundation.org>, Sanyog Kale <sanyog.r.kale@intel.com>, Vinod Koul <vkoul@kernel.org>, Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>, Shreyas NC <shreyas.nc@intel.com> Subject: [alsa-devel] [PATCH 07/14] soundwire: add argument to function definition X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> List-Unsubscribe: <https://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <https://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" <alsa-devel-bounces@alsa-project.org> |
Series |
soundwire: more code cleanups
|
expand
|
diff --git a/include/linux/soundwire/sdw_type.h b/include/linux/soundwire/sdw_type.h index b7e198a035c9..9c756b5a0dfe 100644 --- a/include/linux/soundwire/sdw_type.h +++ b/include/linux/soundwire/sdw_type.h @@ -11,7 +11,7 @@ extern struct bus_type sdw_bus_type; #define sdw_register_driver(drv) \ __sdw_register_driver(drv, THIS_MODULE) -int __sdw_register_driver(struct sdw_driver *drv, struct module *); +int __sdw_register_driver(struct sdw_driver *drv, struct module *owner); void sdw_unregister_driver(struct sdw_driver *drv); int sdw_slave_modalias(const struct sdw_slave *slave, char *buf, size_t size);
Checkpatch warns that function definition of __sdw_register_driver misses argument, so add it WARNING: function definition argument 'struct module *' should also have an identifier name Signed-off-by: Vinod Koul <vkoul@kernel.org> --- include/linux/soundwire/sdw_type.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel