Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp261374rdd; Tue, 9 Jan 2024 03:28:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IH13f1a6fpcoyCsbmYfWoJ++6xALhV92mxgXAHrQS/IvfRfPldsk90JuHQqcntG4ApsgbGM X-Received: by 2002:a05:6214:2308:b0:680:d1d6:807d with SMTP id gc8-20020a056214230800b00680d1d6807dmr692065qvb.27.1704799721572; Tue, 09 Jan 2024 03:28:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704799721; cv=none; d=google.com; s=arc-20160816; b=r41DjpRVt1W3sCZikGRdcVUo0N3J0+jvbae+bmMPzR/yevbNNH24Tjrpvjl6UNHG6G 39eu3hjdmWFOIyL9ZCc5BelBR2YZlietqE5/1AVoN3f6gFSf+Lcwn/UUbVj6VTLGW+YL V2/liWh5wXV8/W1fx7emOqMLIzJbHXlO5PztqjJQfuaZXlRX7DcfZ3PMV0/MY4xsTZAV 4Go8Q7nvy4fdOHn24pv+3hKTN0kz1LwSGG1IKDzIUjRZj6D96Uy47rzo59rmQAgyZkDK LZdwp8XIN7FvsyVsyIpYKuMbdTVKlyUIilLCdQmUcmUmWfyvNtiEqTGXqOmYCF/Xbnhy eVZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=MnCEbYre5zGye06QU8T4lh4dMbpyA+aXMIBZMhzJpJY=; fh=LBoYCTwcnc4aGCO1Ky9m5KD26cM4ZwLGFt7YdcTzbHo=; b=V/uvJecOg7lSXGcmgyD5Pt+o7kWrRNuxNyL7nCgTNgDI2oRij/uEDUY53JSm8rsWMf OK/rc15wMPlnQgPWYnWMFtBUAO7LAUJLKkbTQ7lRnnDh88jEbloPgXsp1fGeoM1eEiTG 7yoVMoCO423MxPVkROb0bMO5cHYzDZaF+kRDOZfpYz766Zizzyo/Jmu1fRK6ArcVjywF bWnks5U9zPq81Ys0kTWlSc6IeeelC2UhRirk3XUjAKZUy4emE1ZykqS+qi/ay1druPvW tuZYilNDYZN9jQi639y8+GaEbt6HeVqQJbw6fDhDIeShlLxZ6vaeyzhpfZ+KXouiuB18 Jg2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="EX/hKgNg"; spf=pass (google.com: domain of linux-kernel+bounces-20775-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20775-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id i1-20020a0cf381000000b00680f60618a1si2030026qvk.394.2024.01.09.03.28.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 03:28:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20775-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="EX/hKgNg"; spf=pass (google.com: domain of linux-kernel+bounces-20775-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20775-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 53AC61C24094 for ; Tue, 9 Jan 2024 11:28:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 367DC37159; Tue, 9 Jan 2024 11:28:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="EX/hKgNg" Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (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 E2DBA36B17 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 Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-33687627ad0so2566412f8f.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=UuV1mBn9wlUqp1R1/SitahfwDCG1pbsAN0x4dWQuG6Zud+LIhDNLViDzmw7v6YXk27 yO3ngXEdJdP9IqqxA0Fw9A75e4gYwSuPV1q3iJ3jCEIxwvZ+AyFKMVg+bksFBDn6f5ik RnxTr7jgBw6C4Ns3pI4N3EHfxJAblTlkP0xKijBAAld0Yv+FeRzaTm1synRG93V3yRAL rVwpNBwju1m/syiF0spNvhpx17bND5YpCkQ5feH18LAtlEkAL8Oc9EHXFJ4Hh37vf00T 54hF9nE9PvesvEWWl5EWjXsQ7gAth9/cc9s3uPUs8sWzFHQLUPz6q465Qzl2Joe4DJvJ SXHA== X-Gm-Message-State: AOJu0YxMwZHITecDn41AdSA/tBpHYSjzQpFH5d2sqHRn4+NMykxK+3Dh ugLuc+T1WNhZdBhGPEtePPIe2Tnwb6PzgQ== 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-kernel@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