Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2424017rdb; Mon, 20 Nov 2023 10:18:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IFQ3ILzN3RBXYOezTLsoH3RnKV7sB2vSf9xvyyQuuNYMgqKDp21pM0VG5d7rfC7JjTXy8fz X-Received: by 2002:a17:90b:1c0e:b0:280:16bb:8169 with SMTP id oc14-20020a17090b1c0e00b0028016bb8169mr5427939pjb.40.1700504338271; Mon, 20 Nov 2023 10:18:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700504338; cv=none; d=google.com; s=arc-20160816; b=IzclLiDHvKOGpL4iexMhdDJQYO/NVOWq4xMumowOGXRDypArxBMNnt0rOEvek4yWUf uX3ChfA2gtLZfxnaiVrwxn45J1KcLjV/bWZfzDzCEbnu2fLX4xoQSN6Fm5q+a4LX+0V3 KWMkLc6AWzih9j6DCQXrHw1KOKWv6qPv+VaEqF0FBNgNsAJ/DNMCwEaQqC8Ui7AMBwny MR5ZY2hKRvZJ+bs1GAn3TLqkMpe+7yOSoSmc8Qrf6Wy9s15sAgF9u9IvnZKR//Qv3Qcd wTA7a3wv7gplAiLgp3kUa7DVGYVdRiuoNErbbm3Y237hfthpJOAZrgf5b9kXz7tpm0F9 esOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=duhKINwk08bAQYtFw90SJd+xpuSn5o0F6qXC+hLKo8U=; fh=kF9oLk+SO6Aq3PjTLmTjnFAfNV1zG47WEAwnHmSYPOk=; b=eHd1dzO1paCvBXdUWqSMzQOlj2n/PKP7rIkDUqo4pPDulvdAIwDQkkaqLONmT1h7hq 4zexRuVyjXPgR5fk8Z1zbOFWXQiUOaSs4W2PepQi/zA6LgquMPxTYu7z50gX6h238df7 4L2hNP2hqwDjjxAL67VM4qHFmquEGd2Q7DmziAAtVUc38CTfkA4dxbHF1LNy4PYYRSoU 2zdiMJJrTqe9cuUz4sVKRv/kdX0cqWE4NCc32R/tXxsTKNEOr7iWpmjWtypSgwUGKURu H1D8DvxksiQa/6DvUmrKX2VG0kgBD+fWYPTObDYhtZ+xZENUYf3khAS+g5BtPwdsfU+w FClA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Es05mAv9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id sc14-20020a17090b510e00b0027d7eebd4c0si8961394pjb.109.2023.11.20.10.18.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 10:18:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Es05mAv9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id AE82C80FA856; Mon, 20 Nov 2023 10:18:09 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231659AbjKTSSE (ORCPT + 99 others); Mon, 20 Nov 2023 13:18:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229570AbjKTSSD (ORCPT ); Mon, 20 Nov 2023 13:18:03 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B8D692 for ; Mon, 20 Nov 2023 10:18:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700504280; x=1732040280; h=message-id:date:mime-version:subject:to:references:from: in-reply-to:content-transfer-encoding; bh=Uy/JOOl2F0hOLE08z0LK0OspugTXHtlXgW1jln1Dmjo=; b=Es05mAv90xZ7mf0saE4ofAPehI7/PtExlnARMuM+MIaBiMZS1Bx9YnUN PmkhK1q8LQwzW8eLJTlWmqbE8qCR8qIMZyE+4wLYYabOZZBPI1AajK4Zm h0rnD6eqgbs0b9ag3B7en32SIlzQhFd4zlXMvBUBVhW2JD5s0/ZTL4w0X YZGMXo84e4TMDF5mSiaQNfe0FzNFen8j4xwljdUsU6Tm0hiRoUTZn/CPI VolOE0BFTbJtE0IYTw19PyZgPhSjzBkny4NNfqWcUsQCoZzKq5rdURrd2 iphgmc5qfHyZj0V/AKB3ACPf7+P/J777IUooYP3J1CheXNEC2Idh3CtCs g==; X-IronPort-AV: E=McAfee;i="6600,9927,10900"; a="382060519" X-IronPort-AV: E=Sophos;i="6.04,214,1695711600"; d="scan'208";a="382060519" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Nov 2023 10:17:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10900"; a="832360878" X-IronPort-AV: E=Sophos;i="6.04,214,1695711600"; d="scan'208";a="832360878" Received: from jhahn1-mobl1.amr.corp.intel.com (HELO [10.209.22.30]) ([10.209.22.30]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Nov 2023 10:17:39 -0800 Message-ID: <929eb682-8deb-4054-a7c1-b7b60831d7df@linux.intel.com> Date: Mon, 20 Nov 2023 12:17:40 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] soundwire: stream: constify sdw_port_config when adding devices Content-Language: en-US To: Krzysztof Kozlowski , Vinod Koul , Bard Liao , Sanyog Kale , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org References: <20231120174720.239610-1-krzysztof.kozlowski@linaro.org> From: Pierre-Louis Bossart In-Reply-To: <20231120174720.239610-1-krzysztof.kozlowski@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Mon, 20 Nov 2023 10:18:09 -0800 (PST) On 11/20/23 11:47, 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. > > Signed-off-by: Krzysztof Kozlowski Reviewed-by: Pierre-Louis Bossart