Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3578094rdh; Thu, 28 Sep 2023 16:39:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE0SCiqGHa/6bXNaP1fY8XhbS9BJ/5MnfbTd7hHJ70wQ7kCJ98STEyLi6eB44S1OW1PHA7r X-Received: by 2002:a17:903:41d2:b0:1bb:b226:52b1 with SMTP id u18-20020a17090341d200b001bbb22652b1mr3026582ple.17.1695944354995; Thu, 28 Sep 2023 16:39:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695944354; cv=none; d=google.com; s=arc-20160816; b=kb1Zr9EJIPtYxsVWjAF8XwbXzyjZxQ2ax7a2Ca5WtPc3/1CjmhoMT2YSCB6nKiAW+i PgJ7zwyq9/ZxxtbsZJwVM9R7jfr8jtQPUOP249E9J3QfzV7EyaVthiM0ctVruDPHa/ve PSXo/TbjnOc9+etIf+TiyRJQSOPXxOREaJRPuDrqggQedC9a1tJAhiOIbXMKwycThd98 yV9EwMkMc1qc8oC9ba6f+sxZb32vG02jyGd4o2qyFpu8HfYlRtvCEhGl+NcgLNOQ2/Vz 2j3sQdKLAQ9uZQQ3tI6dDNn9es1JOsmYyHZAaE6wiLKLC1RaLQzDR2XJFTnAkEdaNrli CoqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=u39pjLVGY4S7EnsUxVt2mhiK1Ky9kaXedhfS7IBxyi0=; fh=S135mG2AKx1ByGbaxjRLWeWvzZV97cREnW4Gg5G+BWo=; b=z5m0UKLWmQZ42PRGQ2ejtNudP0+E7YdR/Zm6Zep9FJ1Xxklaj6GmXJHKBg4Abk6tFL BpfifziRI3HJYYt0fPi9O+Sw4q1Cc1zMsKcQwU9AeeYyapK6UGw1+4kenGh8Xs7klyfl XeHbZ4HRx2kUAAsjPo0iw7wNuqtNCqjcqpy6XhWDMoyF4WHY7lIoGE3hutkblfA11RwA lfKdhDFZag4wekm3YuQ5XiIQfGWQdscD7LULWOSfZ8r7uoaM1LVLkWyEyA3FR3eqYVHV YdG/093mXsHSphei99l3RADIz8LwaCqhSFZR1B/DqqlqSAJusCBZkEKP3S9Iz3L+IFvj Kdrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kfM4lHBO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id i9-20020a170902c94900b001c589ba4a12si21785880pla.140.2023.09.28.16.39.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 16:39:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kfM4lHBO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id A1DB28453680; Thu, 28 Sep 2023 16:39:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232123AbjI1Xi5 (ORCPT + 99 others); Thu, 28 Sep 2023 19:38:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229541AbjI1Xi4 (ORCPT ); Thu, 28 Sep 2023 19:38:56 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B9AB195; Thu, 28 Sep 2023 16:38:54 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7B0CEC433C8; Thu, 28 Sep 2023 23:38:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695944333; bh=eWU967jREmjZE4MCqLTeXdTZLBzl8v3/op7N9RLiY+E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kfM4lHBOYywiUs1pSsJD72kDGGNfgjYh2nlEYO/Hn5nbeITF+6qyQUmtAbQcdYbW7 XdcdgETTEEoPg5c7zOshcCcA3jjeEg0W42+ivpFGnbDL40OIEEX1Jz68enbD/EHZwD RnOffNJf0bvf2KHzcbwjA0smxFXx3yBpoY+mSmvg7UV/ExaKyFc6OWEkCcIuhvqd8l 30jSqINA6zVSQRvGDH8ig9BH+FfxTNwl9ifdO3ab+M7zojCxUMxVS0p/yj5tOsI5oe Hu/ZEI00ZJKeyi47AGEQIqf31w7d0vpcuPo5jC331mPR61a+4nbYZv67g/uH/SxXam GdQWaV5q66dFw== Received: by mercury (Postfix, from userid 1000) id C06C9106058E; Thu, 28 Sep 2023 15:38:14 +0200 (CEST) Date: Thu, 28 Sep 2023 15:38:14 +0200 From: Sebastian Reichel To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Johan Hovold Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, kernel test robot Subject: Re: [PATCH] power: supply: qcom_battmgr: fix battery_id type Message-ID: <20230928133814.szn5dd4gzshmccia@mercury.elektranox.org> References: <20230919124222.1155894-1-sebastian.reichel@collabora.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jpqm2iodkegz3nb3" Content-Disposition: inline In-Reply-To: <20230919124222.1155894-1-sebastian.reichel@collabora.com> X-Spam-Status: No, score=-0.1 required=5.0 tests=DATE_IN_PAST_06_12, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email 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 (pete.vger.email [0.0.0.0]); Thu, 28 Sep 2023 16:39:11 -0700 (PDT) --jpqm2iodkegz3nb3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable +cc Johan Hovold who gave away that he is involved with this at Kernel Recipes :) On Tue, Sep 19, 2023 at 02:42:22PM +0200, Sebastian Reichel wrote: > qcom_battmgr_update_request.battery_id is written to using cpu_to_le32() > and should be of type __le32, just like all other 32bit integer requests > for qcom_battmgr. >=20 > Reported-by: kernel test robot > Closes: https://lore.kernel.org/oe-kbuild-all/202309162149.4owm9iXc-lkp@i= ntel.com/ > Fixes: 29e8142b5623 ("power: supply: Introduce Qualcomm PMIC GLINK power = supply") > Signed-off-by: Sebastian Reichel > --- > drivers/power/supply/qcom_battmgr.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/power/supply/qcom_battmgr.c b/drivers/power/supply/q= com_battmgr.c > index de77df97b3a4..a05fd00711f6 100644 > --- a/drivers/power/supply/qcom_battmgr.c > +++ b/drivers/power/supply/qcom_battmgr.c > @@ -105,7 +105,7 @@ struct qcom_battmgr_property_request { > =20 > struct qcom_battmgr_update_request { > struct pmic_glink_hdr hdr; > - u32 battery_id; > + __le32 battery_id; > }; > =20 > struct qcom_battmgr_charge_time_request { > --=20 > 2.40.1 >=20 --jpqm2iodkegz3nb3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAmUVgb8ACgkQ2O7X88g7 +prwdhAAoPJP/kxvYglc2zIyjQTXI/AExR3u3+o47C9YvdKmXIQOiosSNdIs+a// BvpjDsFrTx32MCX4koS+KGSO1f64xepggcCzddr/Kp/URu0oc7zcx2560YC9IRrT ioFr3PT3+OZXbcA2KxT4m2emAcr0tANrQL6ri2BO5O59U5lVOEMZCIUE5Mef6wIC 0VdBZwxlthYKEdFJiLW5bvWK5tm+U7nhimTWCX84/5jTvOXYXId7RY1oZjh3I0LV bOC6Ah0bVbF5nJ+tlA5kDHzFeRqsOhyxURxejasWqq9IrvYooOe0bKPwGRyEmATe qPewgJMwK/4ki0YIPVWsNTUTKf8gRw+7e2RmX0WJX/5Vf6/U5mMZNXhK6OQ9G8PU OiihKwvTlFToYadhXUSAl8iMP24047AUy1KTTA23FKB7uvUxryg6ylW2K1FndmV+ WZxJZlJ2c+Gj8Z5FC8/LFV3OnCxfh9kyVdu8n8UoMGs+UNQ4VZnfC1ZkluskQEcO EfDQunn3u1xS9sPRcF7tdKF3rW7sDJHp7WObe+AiVkOmxUrFU45AwaE3NFp7OmFN tbNbEHMGJXmU1rsuhO7BNogLltx1eXjQstPkSMkOAjaprs5FXaKXQVOflQVohwjv b5M7LGGcJQBBaViH+xs16eSTlUg08RobdGZZjW1AcddVAzRv1gQ= =qDg+ -----END PGP SIGNATURE----- --jpqm2iodkegz3nb3--