From patchwork Thu Jul 23 15:26:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 247090 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp1587408ilg; Thu, 23 Jul 2020 08:27:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtmCDfDaYxv5vrcLUCj33VFrxg59SesENFS0k2CPKZuRJCCNxG90zoLfgi/EjgNevsaMSS X-Received: by 2002:a17:906:c0ce:: with SMTP id bn14mr4982489ejb.129.1595518049906; Thu, 23 Jul 2020 08:27:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595518049; cv=none; d=google.com; s=arc-20160816; b=YKqJCsiYsSw1Wixz7GIz06uJxYaceLJWhcI79NjUszMuNNsBQwOzZkyWtAWdQ4i9uH pkT61hOAbjZo9kHKFg3Fdbtm4gXZdMlMPahhEeMeBnxNZdnEO0xyYpo0tJCZ6Tr5TXot pb66yNx7q4CV/lt2FiqMhStv6rAJsPrzOQmInutBewKPBUia+kCsaXgEyDsXiTAZ8nop Asuh+UVwHZyz+3hXOCcDI9R1iGoqn7QDdV5SEvBwbkhBcHK54hHhS6YoUsmY6GWpg9vh VUu4cDbpKD+tl4S0Ow7mk5KpJJRIOIGyFV3GmqSfq1IXHGCrTm2sJ5UBJhA9XPtJ16Ph KaWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kHJ+XeVbi6Fqf64rZGsvMfPCwEnJl/mkyREvWYHyzSs=; b=a1+3ypBgAxNJ+ORzXPgygqXbbSPwbCHpFkShdW2ZLkRhUZGT66m0ifYWGDDPD/KbVU eFKK4cUE3DFzL8GvUFokAXBw+urqv1kdxyMwwPcDeLjOCGZpbKJUSeKEOhhfS4iRJKrh z0a2u+T03vvA6HC8XU10ZB0zbXVyEkPfzbm+Gpk9cIGLtmMjSXTMMzPGK+fZYbjnuDMP tA8wWzQA3pSGlKt7VDZ9s3nBsBUgO3ddO8L89UtwsZ/7tCNv1D6JlyaMrUrpL70nj0RW 5RxUZKT1jh6XHMhiDaxTJaQau4xyFBPxW3FWvDZv1Tfs2YaOO+9NC+Rcf0Jw1kOADK/X NviQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=P+0A1dF9; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oz19si2412689ejb.202.2020.07.23.08.27.29; Thu, 23 Jul 2020 08:27:29 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-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=@linaro.org header.s=google header.b=P+0A1dF9; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729686AbgGWP1Y (ORCPT + 6 others); Thu, 23 Jul 2020 11:27:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729649AbgGWP1M (ORCPT ); Thu, 23 Jul 2020 11:27:12 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F229BC0619E2 for ; Thu, 23 Jul 2020 08:27:11 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id r12so5534805wrj.13 for ; Thu, 23 Jul 2020 08:27:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kHJ+XeVbi6Fqf64rZGsvMfPCwEnJl/mkyREvWYHyzSs=; b=P+0A1dF9XopiITzqpUXhrqYmXagxXC05lz3m9je4nXa09TlHs3Wgl5NkZ0dwKPljj2 bNncZ1E7bxQNsrC/daqJTPVx6+DR9vV0FUpip0Mlr9OBTSfLqwdtXzIm58MPKJKFzObE cIjpP033bIrzzrX3Y5KuGgYSb440xS3POfuAAbN4D9qJw40M15PMKTTvT0RlBOA/xah7 jrNBC+cdGHmi2ZD68Vrkz0Wgn+QR+TJfdasmgUd1YS7DHC9ysFNoMs5dSOGQoi10EXha 9tJWIgJ5ofi5CyoYnQwfoDlc3GN27Gk9rFaq8B6bJGI1x8Qj3Jr3Q8FgFoBPYjO6rAWf deDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kHJ+XeVbi6Fqf64rZGsvMfPCwEnJl/mkyREvWYHyzSs=; b=f2fwTzyLa9vCneipf8W8kVdADTnTVoxFWuaW5uuTjXzzEH91gp7x6a7yhPnGi8AuJc zJrlWRkzjdiVslIK5Rk5kSOEOhFujfmMhp3fY/YtHYpQSDLMWHKFPeLcMNz3wFDUa2Po tCXZgY+rCmlqRkEatEiAugF5OckvkkKk7mDuoNOavcCQ9VvuZ+y3V9Cy66qw0P3N8dJZ CRdCb5VHc8CEnxFyur/UcB1GUDfqJq8hURlDLHh2AHHvLEPv3vcmrAvIWnQW0LMERoKo PA/Vj+A+W4uzsMIaxuqmmzKYBUOyoP/N+VvnMMyMbYbUGI/Hixv8OP/S0iKYrAMzhQRw vH7Q== X-Gm-Message-State: AOAM530GhZMKvJ+mONF+wBUEIY0RVEpAAkAE7r/fKUQ/0UhwQEfecmjw FbsnZBciImImV/tZKOyjAXc0Pw== X-Received: by 2002:a5d:4984:: with SMTP id r4mr4471366wrq.401.1595518030564; Thu, 23 Jul 2020 08:27:10 -0700 (PDT) Received: from mai.imgcgcw.net ([2a01:e34:ed2f:f020:dca7:8d30:33fa:daac]) by smtp.gmail.com with ESMTPSA id g145sm5963491wmg.23.2020.07.23.08.27.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jul 2020 08:27:10 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de Cc: "Alexander A. Klimov" , Rob Herring , Rob Herring , linux-kernel@vger.kernel.org (open list:CLOCKSOURCE, CLOCKEVENT DRIVERS), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) Subject: [PATCH 14/16] clocksource/drivers: Replace HTTP links with HTTPS ones Date: Thu, 23 Jul 2020 17:26:34 +0200 Message-Id: <20200723152639.639771-14-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200723152639.639771-1-daniel.lezcano@linaro.org> References: <1b1122f4-bce9-f349-e602-ed8e14cbb501@linaro.org> <20200723152639.639771-1-daniel.lezcano@linaro.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: "Alexander A. Klimov" 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 Acked-by: Rob Herring Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/20200708165856.15322-1-grandmaster@al2klimov.de --- Documentation/devicetree/bindings/timer/ti,keystone-timer.txt | 2 +- drivers/clocksource/timer-ti-32k.c | 2 +- drivers/clocksource/timer-ti-dm.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- 2.25.1 diff --git a/Documentation/devicetree/bindings/timer/ti,keystone-timer.txt b/Documentation/devicetree/bindings/timer/ti,keystone-timer.txt index 5fbe361252b4..d3905a5412b8 100644 --- a/Documentation/devicetree/bindings/timer/ti,keystone-timer.txt +++ b/Documentation/devicetree/bindings/timer/ti,keystone-timer.txt @@ -10,7 +10,7 @@ It is global timer is a free running up-counter and can generate interrupt when the counter reaches preset counter values. Documentation: -http://www.ti.com/lit/ug/sprugv5a/sprugv5a.pdf +https://www.ti.com/lit/ug/sprugv5a/sprugv5a.pdf Required properties: diff --git a/drivers/clocksource/timer-ti-32k.c b/drivers/clocksource/timer-ti-32k.c index ae12bbf3d68c..59b0be482f32 100644 --- a/drivers/clocksource/timer-ti-32k.c +++ b/drivers/clocksource/timer-ti-32k.c @@ -21,7 +21,7 @@ * Roughly modelled after the OMAP1 MPU timer code. * Added OMAP4 support - Santosh Shilimkar * - * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com + * Copyright (C) 2015 Texas Instruments Incorporated - https://www.ti.com */ #include diff --git a/drivers/clocksource/timer-ti-dm.c b/drivers/clocksource/timer-ti-dm.c index 60aff087947a..33eeabf9c3d1 100644 --- a/drivers/clocksource/timer-ti-dm.c +++ b/drivers/clocksource/timer-ti-dm.c @@ -4,7 +4,7 @@ * * OMAP Dual-Mode Timers * - * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ + * Copyright (C) 2010 Texas Instruments Incorporated - https://www.ti.com/ * Tarun Kanti DebBarma * Thara Gopinath *