Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp254053rdd; Tue, 9 Jan 2024 03:12:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IHv2rK9dcw9fxxlKAzesZxsg0jWPiJtaItpwgJ6N5QwW+fPWyLewD7rRUrw8CQNA6n1Kr8H X-Received: by 2002:a17:906:3e85:b0:a28:e326:a96d with SMTP id a5-20020a1709063e8500b00a28e326a96dmr347578ejj.117.1704798723879; Tue, 09 Jan 2024 03:12:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704798723; cv=none; d=google.com; s=arc-20160816; b=kh/ESP3+AgdKuIkt84ELAN5FumSvdmBy4uLnnOAGE/N5fnuG1pTz1BVufp161AUevU 0VcvY1pBEXjvVa6hYN34BDGZtSVrFotce6UcxokSWYV1NVSctZmM9rbkRJKUcHH0dU0E 6q9txugv/jGpntMBWwIYBRPvEhJsZtmkufqEgAS3eENxBue6FsCB9tFFtHWUQq1HVJGL 6iatbIo1XXyv3ibyAmUv7458cINFII4eBolwsP40b9X5mMY2PXtqSomVvi5h8QYvRgaP L1LDWAngIRG2IMbDAndezfrfWLQ9A0qjqf6+F6W9M9kp/QbqN322G8FrYKQCN+OOViOu r/6g== 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=VPuw2f0lok/do/yRJgAKbKvhvOM5AdGi80autS0Z2tA=; fh=LBoYCTwcnc4aGCO1Ky9m5KD26cM4ZwLGFt7YdcTzbHo=; b=CH79glnUBLzFmXqOjq1ak0GCBWXW3JyDsqjEdSlUIC0htWVoXsHSo92lWgD4883GCX /xlL99SiKEqffNd1N8t/R++lVHkzMXcTGOgLG5OPVNr+8XSAzm1qaq56BVOQUTB+d3E6 HClGerQtrf1+qDDFWsi/5PStcSqU5bV8heqDcjP/+1N6IPggROjxTGpKVIg7k8v9TJkh 8vJMvLVX5whzeoUpPWIvmUClo9NcXLVVpM+vJ1eTua3bdWVwskEAuLvBQNn9Apy8edsq IR14wxNp7ym+oUrXfVojnU6vukIAepZ+Nqq1OAhatw+nU0jEBWvL/peVG3UXWw+UYYMy WL1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kdagC62X; spf=pass (google.com: domain of linux-kernel+bounces-20750-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20750-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id gq6-20020a170906e24600b00a2815198aebsi696649ejb.205.2024.01.09.03.12.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 03:12:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20750-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=@linaro.org header.s=google header.b=kdagC62X; spf=pass (google.com: domain of linux-kernel+bounces-20750-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20750-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 am.mirrors.kernel.org (Postfix) with ESMTPS id A06221F256B5 for ; Tue, 9 Jan 2024 11:12:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 02BCC36B16; Tue, 9 Jan 2024 11:11:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="kdagC62X" Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (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 A4D0136B10 for ; Tue, 9 Jan 2024 11:11:20 +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-f46.google.com with SMTP id ffacd0b85a97d-336897b6bd6so2909180f8f.2 for ; Tue, 09 Jan 2024 03:11:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704798679; x=1705403479; 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=VPuw2f0lok/do/yRJgAKbKvhvOM5AdGi80autS0Z2tA=; b=kdagC62XBFTA0vPpBnauvPWuZJD4VKeDsfA4StCwIb6bezjmzDr5e6/ViF7ov76aXC julcXhroZL0eNLw56lArnGPBmISJDJISByV3v39VgtgggAGysTewbPtR1FarBcsxLIax q/euYamcM4anwjLkuiT1q06/bm766BpRiEEbCe6RLKq8RwRiKCX+ueXBXIUmWyVjXbCY zhH8fL1pJX98aFmuRU4JUqZ1f5X+mn4QdTwi2PNsk+mUPL9yXxDjks1BwB68Ax7Vsm8h PkAKoKYMJ++rDoT5w6A0/rhaMzA6ykSzvmn9mc3o5M3t8Xv1fP3j6W0R4RVUAJxGQjfL XVxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704798679; x=1705403479; 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=VPuw2f0lok/do/yRJgAKbKvhvOM5AdGi80autS0Z2tA=; b=sZmitlcf90XJwY2yVND3sE+1FgPYULsU2WigFnKTnvW6m6OMMOvMv4wuJzgQvIPnUk vuPki8kwZb5KMnAgbF8aDmmthzo05fAKYPGfPp8D87Fy5an787uvXysLGKQ92JwIHJHg uusDD9Xw3Rnhin+OWq+1r1AlROpQEJ7HDkvYM48LlfUu8O6O94wzP03ZEc989YevQZvi TZ7Cu8xNFpCoB+QlfFe/iZOTKAoxoBAuIB+lyA1xMmQjZeBk/hSShvAsiMcJGqTtnXzX o0ovXJSemssqZshiGsTJmI6PrfhH1JyHxlZi3MN5/Rhz9B19hOM4UmVujEpp6R1Ayxj8 xruw== X-Gm-Message-State: AOJu0YxMycjy2OAZmwH0CZohfLd5oJcdJRbKdCYw018GN0Xo9rnq41Rh hyc+UuPFLOjqIUPu/bDdGA36B33//oqVxQ== X-Received: by 2002:a5d:4a05:0:b0:336:787b:5a85 with SMTP id m5-20020a5d4a05000000b00336787b5a85mr474366wrq.1.1704798678818; Tue, 09 Jan 2024 03:11:18 -0800 (PST) Received: from [192.168.10.46] (146725694.box.freepro.com. [130.180.211.218]) by smtp.googlemail.com with ESMTPSA id g4-20020adfa484000000b00336344c3c3fsm2119554wrb.90.2024.01.09.03.11.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Jan 2024 03:11:18 -0800 (PST) Message-ID: <1b6c832c-3516-4116-8c44-f85990fb8346@linaro.org> Date: Tue, 9 Jan 2024 12:11: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 2/6] thermal: netlink: Pass pointers to thermal_notify_tz_trip_change() Content-Language: en-US To: "Rafael J. Wysocki" , Linux PM Cc: Srinivas Pandruvada , Zhang Rui , Linux ACPI , LKML , Lukasz Luba References: <4556052.LvFx2qVVIh@kreacher> <2938222.e9J7NaK4W3@kreacher> From: Daniel Lezcano In-Reply-To: <2938222.e9J7NaK4W3@kreacher> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 15/12/2023 20:56, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Instead of requiring the caller of thermal_notify_tz_trip_change() to > provide specific values needed to populate struct param in it, make it > extract those values from objects passed to it by the caller 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