linux-stable/include/dt-bindings
Gustavo A. R. Silva 81fa7a69c2 dt-bindings: phy: Update SERDES_MAX to be SERDES_MAX + 1
SERDES_MAX is a valid value to index ctrl->phys in
drivers/phy/mscc/phy-ocelot-serdes.c. But, currently,
there is an out-of-bounds bug in the mentioned driver
when reading from ctrl->phys, because the size of
array ctrl->phys is SERDES_MAX.

Partially fix this by updating SERDES_MAX to be SERDES6G_MAX + 1.

Notice that this is the first part of the solution to
the out-of-bounds bug mentioned above. Although this
change is not dependent on any other one.

Suggested-by: Quentin Schulz <quentin.schulz@bootlin.com>
Reviewed-by: Quentin Schulz <quentin.schulz@bootlin.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-10-22 19:27:14 -07:00
..
arm
bus bus: ti-sysc: Add support for using ti-sysc for MCAN on dra76x 2018-07-09 22:31:27 -07:00
clk
clock ARM: SoC driver updates 2018-08-23 13:52:46 -07:00
display License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dma MIPS: dts: jz4780: Add DMA controller node to the devicetree 2018-05-02 15:08:34 +02:00
gce dt-bindings: soc: Add documentation for the MediaTek GCE unit 2018-08-03 19:52:14 +05:30
gpio ARM: SoC device tree updates for 4.17 2018-04-05 21:18:09 -07:00
i2c
iio dt-bindings: iio: adc: at91-sama5d2_adc: add channel specific consumer info 2018-06-10 13:28:12 +01:00
input Input: gpio-keys - add support for wakeup event action 2018-03-14 10:13:22 -07:00
interrupt-controller License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
leds License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mailbox License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
media media: dt-bindings: Add bindings for TDA1997X 2018-02-22 12:45:42 -05:00
memory dt-bindings: mediatek: Add binding for mt2712 IOMMU and SMI 2018-07-18 17:01:04 +02:00
mfd dt-bindings: mfd: Add STM32F7 SDMMC2 rcc entry 2018-03-05 09:04:25 +01:00
mips MIPS: lantiq: Add a GPHY driver which uses the RCU syscon-mfd 2017-09-04 21:19:02 +02:00
mux License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
net dt-bindings: net: vsc8531: add two additional LED modes for VSC8584 2018-10-08 10:31:27 -07:00
phy dt-bindings: phy: Update SERDES_MAX to be SERDES_MAX + 1 2018-10-22 19:27:14 -07:00
pinctrl Samsung pinctrl drivers changes for v4.19 2018-07-25 22:47:03 +02:00
power ARM: SoC driver updates 2018-06-11 18:15:22 -07:00
pwm License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
regulator regulator: dt-bindings: add QCOM RPMh regulator bindings 2018-08-10 17:30:25 +01:00
reset reset: meson: add dt-bindings for meson-axg audio arb 2018-07-20 17:50:24 +02:00
soc drivers: qcom: rpmh-rsc: add RPMH controller for QCOM SoCs 2018-07-21 13:32:06 -05:00
sound ASoC: imx-audmux: add RXFS/RXCLK defines for 6-wire connections 2018-05-30 11:37:30 +01:00
spmi
thermal ARM: Device-tree updates for 4.15 2017-11-16 15:48:26 -08:00
usb dt-bindings: connector: add properties for typec 2018-06-28 19:49:47 +09:00