Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp158883rdh; Wed, 22 Nov 2023 23:21:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IHsQbdmwGgqNxD1IhyVJLsSYeaGyikpMbu4Tcxq2aEg5uVsj+qaq7CLgujOKWRq3OtXh6gw X-Received: by 2002:a17:90b:3ec8:b0:27f:df1a:caab with SMTP id rm8-20020a17090b3ec800b0027fdf1acaabmr4983229pjb.21.1700724103290; Wed, 22 Nov 2023 23:21:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700724103; cv=none; d=google.com; s=arc-20160816; b=pSexn7QfNQwoAR1kCbmU3C47l/OHzmBAcs62GI4C+wwFzpJjp/h7tU+A/aXMQZI9NQ dQ3MpAYLE3xeS5kjpeWuc17nHv1hNH3pSu7BEqoRKcPvi8dS5rKD9sSE/o7UuE9pDGrF 6/s1x0pJNE5O3ndFMW/yJrGWbyGHA7BY3/xYxnm3h19fAvWcqImIDfHyAHMbimlpCXqD xfXYf9xbFNCmAZtSPFmmDmJLDMGigLef6OLN0h2sQ85/Xvz5dXN1tEjbPpVZpXDeSff/ qe9MuI+aFbQHanOJRGER8VyfAqbNjFuUu6ExzVFSnBxR5zfcYi4OFvJHnrHkM1tPEV7V bJfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:to:from:dkim-signature; bh=usoJF4+6LifepWT5kdipkq30KPtUz15+yIyl0OZ0G84=; fh=h9Bci+9g8Gt1lWxq32RVy8xr5GjkIGkarZEiGD7exD8=; b=dnLWjQAqYgRb1G/5LW8fgxjtfw3qaNF5LKbRNhMwL0BCoGGsO8PbDRsNHPCpqimxwB 4tqnAEUKFy9zkfLlHTaH0Yvz7ith1TJDlhE2WHxln+wo2E+PkTcbDKlFDPb2obAVayR7 VYe8GyXgDZVw2UyHbM+wifD+24X+O4MLeaPWlJ+PYxpjxnpDiGcxNwgi070vqj/Mc+7N g5o07vRyvI6WOzYc2y4kIpdLj8TA/gn79Rewt28yJyAnYxafHQaa87zGJe/PVM3t+aRK pKtch+bgXBlikKpS/6aofR9YxSj/9sbE8f9VojYO0UPGabDdwCAEBzZTF0Ig3iko4hSj wuag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EN5QnXGX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id f64-20020a17090a704600b0027d37d5dff9si777278pjk.56.2023.11.22.23.21.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 23:21:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EN5QnXGX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 35C838082070; Wed, 22 Nov 2023 23:21:41 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343854AbjKWHVR (ORCPT + 99 others); Thu, 23 Nov 2023 02:21:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344843AbjKWHVQ (ORCPT ); Thu, 23 Nov 2023 02:21:16 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D72D9109 for ; Wed, 22 Nov 2023 23:21:22 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 561C7C433C9; Thu, 23 Nov 2023 07:21:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700724082; bh=CsnrSxt8LqWz3IlU5RxL7FNAeARoDHTOQPwscn2bFpU=; h=From:To:In-Reply-To:References:Subject:Date:From; b=EN5QnXGXMDpptcghyw9o8SG+qqcVf9CJSLaF+/zuGzWvy2Q8pJP7X2cFJm+m68l1K Dav99GsszboT1/jgiSD5AHfFbyTo636ngZSDVVPLJFobKHVuLFhc5S+yWxtcWRaGxh puSffdbv4LTlcE6rXhgZ/Bi9/liIxUEMaUIOy7VW1yXWjFgbwY0OTZXjuXH9p84ONP JRCtLH7tCSKExOiLna09iAeB0pnLBligL1YUHIXWPkm4ufNdwXIo/jhWCXWedkMry5 OoYA4WH+/fVz+mkGDR8pcBxkWFVVMZPu5EAcsMjrJUIaAIYqEj4ctub9uGMZoUjcv5 BaO3F6CTiFNRw== From: Vinod Koul To: Bard Liao , Pierre-Louis Bossart , Sanyog Kale , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski In-Reply-To: <20231120174720.239610-1-krzysztof.kozlowski@linaro.org> References: <20231120174720.239610-1-krzysztof.kozlowski@linaro.org> Subject: Re: [PATCH] soundwire: stream: constify sdw_port_config when adding devices Message-Id: <170072407994.674978.4727113730635083960.b4-ty@kernel.org> Date: Thu, 23 Nov 2023 12:51:19 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.3 X-Spam-Status: No, score=-1.6 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 22 Nov 2023 23:21:41 -0800 (PST) On Mon, 20 Nov 2023 18:47:20 +0100, Krzysztof Kozlowski wrote: > sdw_stream_add_master() and sdw_stream_add_slave() do not modify > contents of passed sdw_port_config, so it can be made const for code > safety and as documentation of expected usage. > > Applied, thanks! [1/1] soundwire: stream: constify sdw_port_config when adding devices commit: 21f4c443731fdb064c0dd31a743aafd0b075156c Best regards, -- ~Vinod