From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E801B36B11 for ; Tue, 9 Jan 2024 11:28:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="EX/hKgNg" Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-33687627ad0so2566413f8f.2 for ; Tue, 09 Jan 2024 03:28:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704799698; x=1705404498; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=MnCEbYre5zGye06QU8T4lh4dMbpyA+aXMIBZMhzJpJY=; b=EX/hKgNgJaP2qCnypvuZByHyERm9M8jLMH3wl0+pAp6czoD+ZjZP2plHToEQOZY9vo QfNZdfVxEIh/KoDeyqnYzrQJ+zGRF8ucxVPOgCMzlwEaH3440eDdyUqIFrJ4WytWMaob VbMVtExYlLrrUwG2xXSU8MG924gmxICYl/ig+tLbat8ZnpAixY4Xue/dwujgyr798Zk9 o+P2XedxBXYYjbbj8h938hWU9CuJBPY1iVGvph1OJpZNY2mehbEA8Ix1NSK9SUMdTLO3 xvvpRFcORM9BqaFrdbfOY5tTVhesy3oAuEihPY0iUzvZqI9cAp0AFe85lUuHDTUMvFPb 5r0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704799698; x=1705404498; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=MnCEbYre5zGye06QU8T4lh4dMbpyA+aXMIBZMhzJpJY=; b=PGPzwIdZD44N5/nBlebE2YGQjYubpYMS0WqImNEQfyIOE9r+pzrVy/7egAZ7VPBRQi Pjlk3Ey+QmFbtSA4SqvZRS8R0HSMz2ZceuLFHBVL3WB7i7v0Ir/Gih0l9lTPITJ+6fP8 CKfyU78uZcY0Qin9jC4/RRTuL21ZBfU8SgWpWZA8FDh3Cq30pW5JxIuu8bNMZ9cAG9ap ravxhAfzMSDzwMaIxHt2hhRZeB/neHR4bE3AyHHCa2Qoyz80ZqUL/ckCyTaSCD9aO4kI ZrfZ4OSdQbjOZjE4lL4YGF6+1lD0d7m9xzHg83+MMBXASCmNcirx50X4mFJf/uorogG5 Futg== X-Gm-Message-State: AOJu0YweDQiXEivODH5TCExC7e+s0QE7DQ4U/0bHSubFPTEDICKb4pPp F0ysxAD6UbvxnQ0wh8Q04wdGzJ0Tct2HTQ== X-Google-Smtp-Source: AGHT+IH/1wMAk1aHGTdT12ROSrsiZVhUweuFKxTnb57vuF8GLwso0x6Fm7CR8XF2i/J9O/Vk1hqJOw== X-Received: by 2002:adf:f608:0:b0:336:c5b3:6bd9 with SMTP id t8-20020adff608000000b00336c5b36bd9mr408215wrp.61.1704799698133; Tue, 09 Jan 2024 03:28:18 -0800 (PST) Received: from [192.168.10.46] (146725694.box.freepro.com. [130.180.211.218]) by smtp.googlemail.com with ESMTPSA id c15-20020a5d4ccf000000b00336765e9babsm2151544wrt.83.2024.01.09.03.28.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Jan 2024 03:28:17 -0800 (PST) Message-ID: <0c35bb66-cca1-4beb-9042-a72cc3984579@linaro.org> Date: Tue, 9 Jan 2024 12:28:17 +0100 Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 3/6] thermal: netlink: Pass pointers to thermal_notify_tz_trip_up/down() Content-Language: en-US To: "Rafael J. Wysocki" , Linux PM Cc: Srinivas Pandruvada , Zhang Rui , Linux ACPI , LKML , Lukasz Luba References: <4556052.LvFx2qVVIh@kreacher> <3295756.44csPzL39Z@kreacher> From: Daniel Lezcano In-Reply-To: <3295756.44csPzL39Z@kreacher> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 15/12/2023 20:57, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Instead of requiring the callers of thermal_notify_tz_trip_up/down() to > provide specific values needed to populate struct param in them, make > them extract those values from objects passed by the callers via const > pointers. > > No intentional functional impact. > > Signed-off-by: Rafael J. Wysocki > --- Reviewed-by: Daniel Lezcano -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog