mirror_ubuntu-kernels/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
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
interrupt-controller
leds
mailbox
media
memory dt-bindings: mediatek: Add binding for mt2712 IOMMU and SMI 2018-07-18 17:01:04 +02:00
mfd
mips
mux
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
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
usb dt-bindings: connector: add properties for typec 2018-06-28 19:49:47 +09:00