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 <grandmaster@al2klimov.de>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
24 lines
799 B
C
24 lines
799 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Texas Instruments' K3 TI SCI INTA MSI helper
|
|
*
|
|
* Copyright (C) 2018-2019 Texas Instruments Incorporated - https://www.ti.com/
|
|
* Lokesh Vutla <lokeshvutla@ti.com>
|
|
*/
|
|
|
|
#ifndef __INCLUDE_LINUX_TI_SCI_INTA_MSI_H
|
|
#define __INCLUDE_LINUX_TI_SCI_INTA_MSI_H
|
|
|
|
#include <linux/msi.h>
|
|
#include <linux/soc/ti/ti_sci_protocol.h>
|
|
|
|
struct irq_domain
|
|
*ti_sci_inta_msi_create_irq_domain(struct fwnode_handle *fwnode,
|
|
struct msi_domain_info *info,
|
|
struct irq_domain *parent);
|
|
int ti_sci_inta_msi_domain_alloc_irqs(struct device *dev,
|
|
struct ti_sci_resource *res);
|
|
unsigned int ti_sci_inta_msi_get_virq(struct device *dev, u32 index);
|
|
void ti_sci_inta_msi_domain_free_irqs(struct device *dev);
|
|
#endif /* __INCLUDE_LINUX_IRQCHIP_TI_SCI_INTA_H */
|