Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp844537ybh; Tue, 21 Jul 2020 09:11:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycFeDyGFtGRNgjimzc3Uwy/Ov6+UEdiCpxkCgRTTFSEEWuGxBm8VecNsUYHBs7AgCgu5Jq X-Received: by 2002:a05:6402:31b4:: with SMTP id dj20mr19859103edb.158.1595347892175; Tue, 21 Jul 2020 09:11:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595347892; cv=none; d=google.com; s=arc-20160816; b=fZhHMo70tk46n8pHTRjC7M0dqBsYrjh2mG+/62uPZxNQfeIa1CmbiRgDTyHTp0qFrk Bv8dqYdCmCIYbZln+BwCPW8wWGbnvpZ9Eq7Za5E3OtWC5pt3qp/JEGuiUJDaBSejy9UE acWMrisdtLl5o2aPMV82cymQ20E2gF50M+SNUtW/2DxKQ76LLviPD+AfAFboJGRqsgZQ /ihYpSnAeBzKoPMTVqoP2hYvwrAn2yM0ZFejvcT2FvnYsfIk7y63RvvjqEDmkDkh8CU3 GL73ChuAYOC1wOKMTghfjriJZm/C0KD0klJMj8ti4pmUsVXM+/SSvgqe5wqpj1DyjQrL DUDQ== 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=ngN1dMUC5VJm2HydOcbj0IgJ128cHEC3MnMuoqkayZc=; b=dBqslnOjuczEaQmtWOIEwMpXqcdJqqWcQO+zPCE12Lf9pgP5B5VdPf7AzhJhumKyDO KB+gbbO5QJWbAMkHbd2reObPeUFLdHRUnQ+0hUqlEXtmf1awMvILAv8jyH2Qx1tQJA+W oTN3XsnYuYdlxuHuZC2OLCr39Im7vCcE0wRO97KpHqvmvZJwXnkHKaKeoN9989fR8UHj RjC6+gpC8gFrcqyNtflbySFZgq2bjtk4JoEAj4zS+oNVAFHmrdJYFfCRskMZV+dXuDzu TVAVYmszjjF0kX1k7Gc2ZU6Zu+0lstyPfTqJQcYcdnSTmbrZJM1HgOzYb6ttN/WKZBpl s8Dg== 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=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 r23si12733661eja.287.2020.07.21.09.11.08; Tue, 21 Jul 2020 09:11:32 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730110AbgGUQK7 (ORCPT + 99 others); Tue, 21 Jul 2020 12:10:59 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:43777 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727903AbgGUQK7 (ORCPT ); Tue, 21 Jul 2020 12:10:59 -0400 Received: by mail-io1-f66.google.com with SMTP id k23so21979109iom.10; Tue, 21 Jul 2020 09:10:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=ngN1dMUC5VJm2HydOcbj0IgJ128cHEC3MnMuoqkayZc=; b=gb2Gaf0JcjqTBxTTaXC0OqIEjlta51TlajJxBCCicy2KJJvHypjbK/U8mqUm+Lu285 /GlZxDouJx4G5EmauUROHrxBN8qYP2twVvXrLS/rITkArSwLZVqNWPr2wVnNtbLp1S7E 3sdKEclnvWTuZC+DVOyTDdUQRLvTfPBAcclvTJ6oBHLIwCRb9dDkjwZB17NCWoDSrv65 AqmOORQhiUYiXmMrXsinBezU13FzY+C75OHqJDuVtNHQpQyS/EGPpL+68oRE7miVoYE4 /VM5BGiEnV4ycfAk0TTe1ouzepLzaurz6ddwiGqnPdKqZ7F/h7oSlerLnb8AvVxDfpjL FPSA== X-Gm-Message-State: AOAM531rVgGLCnVWfOqmLsvuT1+PqlzkPtkGJbu+VIrIBkTAHmur7UrD 0mAtwrF5zqjGxZhLU6zYng== X-Received: by 2002:a05:6638:14c1:: with SMTP id l1mr31432368jak.108.1595347858190; Tue, 21 Jul 2020 09:10:58 -0700 (PDT) Received: from xps15 ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id c7sm10916679ilo.85.2020.07.21.09.10.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 09:10:56 -0700 (PDT) Received: (nullmailer pid 389838 invoked by uid 1000); Tue, 21 Jul 2020 16:10:54 -0000 Date: Tue, 21 Jul 2020 10:10:54 -0600 From: Rob Herring To: "Alexander A. Klimov" Cc: devicetree@vger.kernel.org, lgirdwood@gmail.com, tony@atomide.com, linux-kernel@vger.kernel.org, robh+dt@kernel.org, broonie@kernel.org, linux-omap@vger.kernel.org Subject: Re: [PATCH for v5.9] regulator: Replace HTTP links with HTTPS ones Message-ID: <20200721161054.GA389740@bogus> References: <20200719200623.61524-1-grandmaster@al2klimov.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200719200623.61524-1-grandmaster@al2klimov.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 19 Jul 2020 22:06:23 +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. > > 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. > > Signed-off-by: Alexander A. Klimov > --- > Continuing my work started at 93431e0607e5. > See also: git log --oneline '--author=Alexander A. Klimov ' v5.7..master > (Actually letting a shell for loop submit all this stuff for me.) > > If there are any URLs to be removed completely > or at least not (just) HTTPSified: > Just clearly say so and I'll *undo my change*. > See also: https://lkml.org/lkml/2020/6/27/64 > > If there are any valid, but yet not changed URLs: > See: https://lkml.org/lkml/2020/6/26/837 > > If you apply the patch, please let me know. > > Sorry again to all maintainers who complained about subject lines. > Now I realized that you want an actually perfect prefixes, > not just subsystem ones. > I tried my best... > And yes, *I could* (at least half-)automate it. > Impossible is nothing! :) > > > Documentation/devicetree/bindings/regulator/lp872x.txt | 4 ++-- > drivers/regulator/hi6421-regulator.c | 2 +- > drivers/regulator/hi6421v530-regulator.c | 2 +- > drivers/regulator/lp873x-regulator.c | 2 +- > drivers/regulator/lp87565-regulator.c | 2 +- > drivers/regulator/pbias-regulator.c | 2 +- > drivers/regulator/tps65023-regulator.c | 2 +- > drivers/regulator/tps6507x-regulator.c | 2 +- > drivers/regulator/tps65086-regulator.c | 2 +- > drivers/regulator/tps65217-regulator.c | 2 +- > drivers/regulator/tps65218-regulator.c | 2 +- > drivers/regulator/tps65912-regulator.c | 2 +- > 12 files changed, 13 insertions(+), 13 deletions(-) > Acked-by: Rob Herring