Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp623530ybz; Fri, 1 May 2020 05:41:07 -0700 (PDT) X-Google-Smtp-Source: APiQypKloyEPIcbAlkOJv1z6OW0UV+GJl16CidCzM0D1rVsMgO+tQAF1/d1AGGFgo+K9lnnZXrSI X-Received: by 2002:a50:baa9:: with SMTP id x38mr3199319ede.55.1588336867490; Fri, 01 May 2020 05:41:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588336867; cv=none; d=google.com; s=arc-20160816; b=uBltQwfPFpyUTii3sfZsBwrfYYkaayXSpE4pvV5cdglLv/vKk2YBY1K+H3Nd1R7ZfC SJe8+veiFWvcfPNEioEjlAm0P3rptx8WYitaq6BdqWdiGnChC7Ph50gPzXtu75NuPYc4 tF7yLxRVeXC+ejCcQiwbfFgLLu2x2bTCyDhnWU2XREcRdI/iImuUyU5KzrwH444r4Rch 4giwPINSuqk3/ODtjh21GGjHELAEK4ue1r9rQAaduWq8vgGEONJoTcwylTHegoCmUPb1 +rrrzpU//2x6yPZmoCaGEXzeQwPOoARYg2mEmnGkwGdVIgIKU8zS/TAdwlbZeBn57L/Q WNeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=ioq5cpMh+1Am94afvl7k0UcHMuGYHhVrxwOXmpSu7+U=; b=ZkSA3AiWYFciMV4ocuoW2TvRecc76UP51G048ueQfpoYFL3vTqnRLTciJnNKCeNmJi 9qFciPR7YoFH4Hk1kiFB3aDyMLfKbMh23umnFQsCkhwY6RSV1Ars7Z6DhK/X58pwqu/H wF1vjgTYiAf31GomokeVtm2wBq47apEmNbsAGWy7soO95E7SimGvi3Xj9ZDqkM5Q5MFg wtF9uWlVJMD3hutRJTMEi9pLl6jDWUGDLYK07vN6qKLBxQdNnCTLHCEHYNokKN7UvniJ RG/H6qQuOO6mvB/v88gTray8hxspLbKWizMgJ5A+vNKta0yEesiHRZr1Kmn+VyftLWl5 j1WQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q7si1496738eds.494.2020.05.01.05.40.43; Fri, 01 May 2020 05:41:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728805AbgEAMiy (ORCPT + 99 others); Fri, 1 May 2020 08:38:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728742AbgEAMiy (ORCPT ); Fri, 1 May 2020 08:38:54 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DACC4C061A0C; Fri, 1 May 2020 05:38:53 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sre) with ESMTPSA id BFC212A2F61 Received: by earth.universe (Postfix, from userid 1000) id 069B93C08C7; Fri, 1 May 2020 14:38:50 +0200 (CEST) Date: Fri, 1 May 2020 14:38:49 +0200 From: Sebastian Reichel To: =?utf-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= Cc: Andrey Smirnov , Guenter Roeck , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH v3 02/11] power: charger-manager: don't write through desc->properties Message-ID: <20200501123849.ws2a5ybeeej6phyr@earth.universe> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="unb3rd3vc4hlpfj7" Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --unb3rd3vc4hlpfj7 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Fri, Apr 03, 2020 at 10:20:31PM +0200, Micha=C5=82 Miros=C5=82aw wrote: > psy_desc->properties will become pointer to const. Avoid writing > through the pointer to enable constification of the tables elsewhere. >=20 > Signed-off-by: Micha=C5=82 Miros=C5=82aw > --- For patches 1-3 I used my version, that I wrote in parallel while reviewing a different patch series. It is slightly different, but achieves the same goal. -- Sebastian --unb3rd3vc4hlpfj7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAl6sGFkACgkQ2O7X88g7 +ppqkhAAhISHuB7ilFWN8oIoGCZjUnTRVcSXFZEcfsKXphhTwrsx+4KKMN6akRCF 1KtmCRY0tcnBUnaeOSSfSoRU2blqGngUfd01Hp0Yl9X7R2W0QRC45o6A+AZ6i1Y3 uFZYsdIz3O0oq682X5KAcMrZO7eXZWySZtljUqjoNsUrAdUqFw0Mi+A9XOZtcZLC WhB3ZFuh9NwDhb9DF4zxECiE9CgXcukeyOk94i/HbbpFZLi7YhDJyqnIkWBhdc/L M72qaQLXov1ftz7SeDydcNDwYiU76Ue0Kc4EJuUYmtpL5eqi6Rs8ICDTCu3ujnCC lJHaiQfLAPs527fMkULo+FFcsO7gKoEUkGqXuEGRXoyKh/CSg1U9OCMCkPAEeBnu vblE5fj2Pe9ocsLOUZFGhFvafivE6J3sAw/nvuwPvmUgVF+3nuafUfwdc0b6b7af r0bM9uSwwYUQ6kpTFNTIAOrE6+610zwAyfpwj51ko7xPmnEotMxW6elru4AG/WXz OT5ZT/M9aQysPMrn3Qztc+Z0vqkFmS2nz8UxM+D8grw+S5BF6UKUEOrNaHn0iJvf 2kw2wP0oGbcJTVf/ITZqSyi79vmxK5bYfAXSQtxxfQ8sGzSW+x2/+PKq8+HNC5ay cBC561G3JUR61YN4ZgS87Z0t96khXCls2vTZ7QS6CKktUGSMj5k= =FVQh -----END PGP SIGNATURE----- --unb3rd3vc4hlpfj7--