Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp109283ybg; Mon, 27 Jul 2020 17:12:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzckGTR19mszQFwfXBYw1xXBLS/nDM0ZpHB85pmgzrlUjUfgaoZDajxOgqHRWnmzVtwWT19 X-Received: by 2002:a05:6402:60e:: with SMTP id n14mr6891087edv.29.1595895134109; Mon, 27 Jul 2020 17:12:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595895134; cv=none; d=google.com; s=arc-20160816; b=dl8+h2ATcaU9Agvq/qnUJY7xNqUO0YCK6KhHntv0KfeeK+Pp1fFEWd/I/NR8RtbcM3 eYE+iReODHbjVbIz+QVGOoZizHCTdvGE4Tn7t+yT8uygZ45uMR3UWlvkuZYl27sbWV1F KCfCR0ZUEGnsDTuYp40f+Yewt+I6vzybVYaoB+BF3RjeedSCYeDHUqwvZIHyQFvP5V5/ v68IMAabc5GcTPx9IuSYeTvpUdMgYY8RrE/1yUSdn8+SP6qs0qriSH/Xz8kYObNk5EoG K/kyMkh3Sshnd860YnXLZ/FE6PCWrKohwyHbk5wxhfFhST08p/+ihrMiKhyEF6J1P5eG x7WQ== 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 :dkim-signature; bh=H7MNtVhmKOMemspdUmjBopZokSUmnHyggDtCdSz9Bw8=; b=eDyJLdSq71spCrKBW7uepEGSxshbUk6YiBJ9ChKl+VCb75DaWR64pvb1mh59RKmNui qxZN38l0WQkCRXrlHyjfvjpOYJURtk7e5DwHBPWdOmeSoIZHGpuXAu4DOAB4Bj9fmWUp LmpbNgjsKOtLl/bWaovqDh7cTKcL+s0Cg5EpHiO3DXBLSOl0kVirWeQeOKu2IAmAPFnX bIsa0iirlzehZbI9UJUPXh3+sm0Eexut6admQjZdYDUl1b90lXC4x9cuxamwEPaY4z49 PDdU1BFDk11TgQ9mLQLNu/kvqcohqHC9Ye1vZh40rEuUuidF3o2bN8cBatUPIEz/qg+T ESzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="to/Seqp0"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v14si6669361edy.162.2020.07.27.17.11.50; Mon, 27 Jul 2020 17:12:14 -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; dkim=pass header.i=@kernel.org header.s=default header.b="to/Seqp0"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726311AbgG1AJX (ORCPT + 99 others); Mon, 27 Jul 2020 20:09:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:48222 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726222AbgG1AJW (ORCPT ); Mon, 27 Jul 2020 20:09:22 -0400 Received: from earth.universe (unknown [185.213.155.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id ADDE520786; Tue, 28 Jul 2020 00:09:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595894962; bh=K1Jwt+CiWgjpwCuB/A8HDxni5foS28/ROXvaTPCzAJ4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=to/Seqp0rn3C1Kqoa1/ayXn5xAoETkbUgaqZ96fuTVjNEBmI+rpb43fgSMa8mOstB bjjpq53q4W99EEyv1WrCqe/xfXiuwKne0hz1G/RngXLx1bY1g8rn548Ik2vC6yBmbS 0PlYN9xb93Yy37kXSSbkXnjaQnPLC6aYq0LE625g= Received: by earth.universe (Postfix, from userid 1000) id BE2373C0B87; Tue, 28 Jul 2020 02:09:13 +0200 (CEST) Date: Tue, 28 Jul 2020 02:09:13 +0200 From: Sebastian Reichel To: "Alexander A. Klimov" Cc: pali@kernel.org, afd@ti.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] power: supply: bq2xxxx: Replace HTTP links with HTTPS ones Message-ID: <20200728000913.vbijq3toa5vqijvv@earth.universe> References: <20200713191638.37311-1-grandmaster@al2klimov.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="e7g6drv22bw3eue3" Content-Disposition: inline In-Reply-To: <20200713191638.37311-1-grandmaster@al2klimov.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --e7g6drv22bw3eue3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Mon, Jul 13, 2020 at 09:16:38PM +0200, Alexander A. Klimov wrote: > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. >=20 > Deterministic algorithm: > For each file: > If not .svg: > For each line: > If doesn't contain `\bxmlns\b`: > For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`: > If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`: > If both the HTTP and HTTPS versions > return 200 OK and serve the same content: > Replace HTTP with HTTPS. >=20 > Signed-off-by: Alexander A. Klimov [...] > drivers/power/supply/bq2415x_charger.c | 16 ++++---- > drivers/power/supply/bq24257_charger.c | 6 +-- > drivers/power/supply/bq27xxx_battery.c | 44 +++++++++++----------- > drivers/power/supply/bq27xxx_battery_hdq.c | 2 +- > drivers/power/supply/bq27xxx_battery_i2c.c | 2 +- > 5 files changed, 35 insertions(+), 35 deletions(-) Thanks, queued. -- Sebastian --e7g6drv22bw3eue3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAl8fbKYACgkQ2O7X88g7 +prAtxAAmU9pmGt7EtCDGrTcI4KlPEgzYckp/LqN3Zrx0FW7qQgKDBeoMQmJiDiI bBnPoDV6zxFbWbmtjR5XoSceTgxojLZVgf37o4M4UsWTQMdippg2D/kxQU+r2j8P VzuHPM9YD/0xPchgcllF337K8FpYOGYuG8pXLq+OEBCYvsuTi9tATJnv1pXMewqE PedGHds9GOeNCcpudMqinUeWnXCFamy6MnYqZmVTq1QwLDEnEhdY0Q+An7324VpU 5LB8hqYYu5dhusbBo5zy34CnYZ4l00G0Wj5Gk9ytqJ7A5WQ4OjkWpJFa+9iNV03+ yd8neV4o8GjVYh4YcXiX5TqBrFgpRIzsy3QaHrpTzoQpunMbwADaq7SzghyBSjWn khkbYYcjqqgsRpqBNMg9FSmJpAo8gtSBF5y2f2ndr9Vw/bN9TJOGzw7GeQMreMTZ c8mm34ZJ9J+KfgS0hoV5gXs0tROf7ctr5zJD49KGP76P8iQ8z9cu19Ie/yFbA4Ks kp4Kf6/lrCcWQIoDGbXbCacBlLBFjxOceES70evtl+MxaUAmpHX0IhxhXHiDMuhG PP5bE20JyHy+3SmZBBRigc7bEo6Y5+dwppNDVI2qkP2y4IDvmQ6KiSJvwN19quN3 5VXpHC0HPuqf2AL4aHJCUCbntH6x2Eoy6SCHVvwwFIRI5Al1mI8= =m61K -----END PGP SIGNATURE----- --e7g6drv22bw3eue3--