Received: by 2002:a05:7208:3188:b0:7e:5202:c8b4 with SMTP id r8csp799145rbd; Fri, 23 Feb 2024 04:10:09 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVU55lwvo6OqCsvKKzCZSnuxbgsGi87zWpN2Yv3rQ6qb8bHvuxDNVlVb9JnD2JTbvtME1YJpC+DbVHFkWvC0ETT1ZjqpoxvAym4yUqTsw== X-Google-Smtp-Source: AGHT+IEpMJ0JxBi8YDCQhUVmO+es6sw9zxaJQrd6FSqJBuEP0HKM4RYDHHPNX66f1Y39/cK3ZE1a X-Received: by 2002:a17:906:164a:b0:a3f:9c9b:2037 with SMTP id n10-20020a170906164a00b00a3f9c9b2037mr1143443ejd.67.1708690209243; Fri, 23 Feb 2024 04:10:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708690209; cv=pass; d=google.com; s=arc-20160816; b=E8dYHeYQIbmUVslxuYvluDxi15yf9+hsivPTdI2wdb2bQdJ7CnfeR+LXWbZl3xLsnu QLzDNYloF5A/IGVrslC+45vkSPx2E2WXzdNiYU1zYB4vOD5rItjMmU5xuwK3X79mECAX JDDwZWnWyr1wcnwCULmlRk4G2nM9azJFXnNVz/wmLv7BxiX2tpLqfrUnXT0bH1BQAYDV IZ573PBbD5sOPnOYtIXRo/aGD8pv1k7vb2AlkJFFgt5AR/Ojsy5rsCyEAwPy/L5yjW+w DQyXPGMAtRLwQ5C0SwdWSmvUc4l4av3SDdfOU1UPVrVzC+S22ufqDyUJYvzNpAKHsCCC br3Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:to:from:dkim-signature; bh=7X6didmGfitX7ssMLbITZYNJagNXho7weIWxK63W1io=; fh=SZioieNWqYYxSdXK/8ApluYKdbjAKS/txK8dcC6vZDI=; b=bEHHLMrbNeaXm78OYLQe2LrvvzwYrQ2nTYZvpFOZwPa56Of0tm/BuRLT9cl4xjR5lD A9EZPvDtB3o8lYonHaRIBuGXWWyW2rPYvlvE6VR15Wm1kUAajRnl5lGUuwVLsuxvHYBi E0QwmHx/ZeUxzFXT9eLi1eN7sO0pKNLnWEkuuGyztiFEhvFHElLHa02lbjI7tbx6c0a3 AFZNfNPAsSjAyBAjN+UQxKZLSL8CN5tCmJTAEms6VuRrg01MEPYQ7ELg6zaV00rPy1+1 QviP11boR7YN3BxMFxVQuhmXrZvit07697JkNF8H8SSz3dH/vK1GkmhzgCr6ZALOUMc+ H20A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=md57iLce; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78276-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78276-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a23-20020a1709066d5700b00a3f9babac79si992124ejt.146.2024.02.23.04.10.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 04:10:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78276-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=md57iLce; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78276-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78276-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 046C91F2370F for ; Fri, 23 Feb 2024 12:10:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 467867EF13; Fri, 23 Feb 2024 12:08:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="md57iLce" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 67B3F7EF04; Fri, 23 Feb 2024 12:08:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708690128; cv=none; b=pBzYD7Z0M0iFprNAxixpR51uc0IdGCcwmgIMTpyMOBRPMegMCM355ZYJR+2U2uXX6JhdyRDPxI/A5ktrMqnVFKP03UYlBNSUD4GRRi/jWWYMpcK1kEkicDbwE1z9xiCArJcTGfAgWn5r0h5sWhwZ6HdoxU5JuBPBY/flwjU7I8w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708690128; c=relaxed/simple; bh=brMBFJdqaXTqNevt1dZjoF9uhkb2qfz03xtNUIodsws=; h=From:To:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=DwTsqqPwlWg3xQWi/qozmiJYv+7Vt5PGAuH6fvmFBF0ipfU9tNDN7GP6dpsv8arlMgWqnq3ItWjSPApp0hX0IauP3DSND1+tQBw/uF7SONMiqmw+qlkYrcB7MqC8hfXz1tsZodS6n6pNIiuWkyT7aBpoBPUb2aukLwaEynMGuWY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=md57iLce; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F259EC433F1; Fri, 23 Feb 2024 12:08:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708690128; bh=brMBFJdqaXTqNevt1dZjoF9uhkb2qfz03xtNUIodsws=; h=From:To:In-Reply-To:References:Subject:Date:From; b=md57iLceuuThS5NkQLrd5LDcHelo+pzyQh1mSnQK07XSeQJn7kPdwT9P5uLW5vPmu YzxNu8cktM47jO7nhki26evnbwF5o9MZpM/yJkKtnAGvzDws880I/kVOI/Mae+5Dzz UavjkdLnNhCLFRwzIhFzrVoKP2RyU2YYBE+mk71zRx1t4TN+ST85FDEdfE0lmd0x4V MNwSk8fFCkxL9nR4qxQP+sRgwt/bvTjkEX59oYwv1EjKVcEe2TO0l1WQ/4OpTrsjS/ m3OCztVLjM7F5Geyf1UinS9ifYlloC6lWRQ/Rthj2tP5jgbff2GV2jys8pMIXOfRRb Fi/Re6VlipJ7g== From: Vinod Koul To: dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski In-Reply-To: <20240208202742.631307-1-krzysztof.kozlowski@linaro.org> References: <20240208202742.631307-1-krzysztof.kozlowski@linaro.org> Subject: Re: [PATCH 1/2] dmaengine: pl08x: constify pointer to char in filter function Message-Id: <170869012662.529520.5189500367473761398.b4-ty@kernel.org> Date: Fri, 23 Feb 2024 17:38:46 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.3 On Thu, 08 Feb 2024 21:27:41 +0100, Krzysztof Kozlowski wrote: > The opaque argument chan_id passed to filter function is actually > pointer to const memory, so make that obvious in the filter for code > readability and safety. > > Applied, thanks! [1/2] dmaengine: pl08x: constify pointer to char in filter function commit: 16374aba824971d73916f005e79207370c9c31dd [2/2] dmaengine: of: constify of_phandle_args in of_dma_find_controller() commit: 716141d366f45d62ffe4dd53a045867b26e29d19 Best regards, -- ~Vinod