linux/drivers/phy
Shixin Liu 76b4538736 phy: ti: j721e-wiz: Add missing include linux/slab.h
When compiling with CONFIG_PHY_J721E_WIZ, Hulk Robot reported:

drivers/phy/ti/phy-j721e-wiz.c: In function ‘wiz_mux_clk_register’:
drivers/phy/ti/phy-j721e-wiz.c:659:17: error: implicit declaration of function ‘kzalloc’; did you mean ‘vzalloc’? [-Werror=implicit-function-declaration]
  659 |  parent_names = kzalloc((sizeof(char *) * num_parents), GFP_KERNEL);
      |                 ^~~~~~~
      |                 vzalloc
drivers/phy/ti/phy-j721e-wiz.c:659:15: warning: assignment to ‘const char **’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
  659 |  parent_names = kzalloc((sizeof(char *) * num_parents), GFP_KERNEL);
      |               ^
drivers/phy/ti/phy-j721e-wiz.c:697:2: error: implicit declaration of function ‘kfree’; did you mean ‘vfree’? [-Werror=implicit-function-declaration]
  697 |  kfree(parent_names);
      |  ^~~~~
      |  vfre

Fixes: 040cbe7687 ("phy: ti: j721e-wiz: Model the internal clocks without device tree input")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Shixin Liu <liushixin2@huawei.com>
Link: https://lore.kernel.org/r/20210408012829.432938-1-liushixin2@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-04-16 07:27:33 +02:00
..
allwinner phy: sun4i-usb: remove enable_pmu_unk1 from sun50i_h6_cfg 2020-11-19 11:49:18 +05:30
amlogic phy: amlogic: replace devm_reset_control_array_get() 2020-11-30 16:32:37 +05:30
broadcom phy: phy-brcm-usb: select SOC_BRCMSTB on brcmstb only 2021-03-15 15:58:24 +05:30
cadence phy: cadence-torrent: Add delay for PIPE clock to be stable 2021-03-31 16:45:47 +05:30
freescale phy: freescale: convert to devm_platform_ioremap_resource 2020-11-16 12:47:46 +05:30
hisilicon phy: hisilicon: Use the correct HiSilicon copyright 2021-04-06 10:35:51 +05:30
ingenic phy: ingenic: Fix a typo in ingenic_usb_phy_probe() 2021-03-30 23:35:17 +05:30
intel phy: intel: Fix a typo 2021-03-25 12:54:24 +05:30
lantiq phy: lantiq: rcu-usb2: wait after clock enable 2021-01-13 19:29:03 +05:30
marvell phy: marvell: phy-mvebu-cp11i-utmi needs USB_COMMON 2021-04-06 10:34:20 +05:30
mediatek phy: second round of phy fixes for v5.11 2021-02-10 10:39:23 +01:00
microchip phy: fix resource_size.cocci warnings 2021-04-06 10:39:20 +05:30
motorola phy-for-5.12 2021-02-09 09:32:35 +01:00
mscc
qualcomm phy: qcom-qmp: add support for sm8250-usb3-dp phy 2021-03-31 21:29:44 +05:30
ralink phy: ralink: phy-mt7621-pci: fix return value check in mt7621_pci_phy_probe() 2021-03-30 23:35:17 +05:30
renesas phy: renesas: rcar-gen3-usb2: disable runtime pm in case of failure 2020-12-05 13:36:12 +05:30
rockchip phy: rockchip-typec: add missing of_node_put 2021-03-15 15:35:32 +05:30
samsung phy: samsung: Merge Kconfig for Exynos5420 and Exynos5250 2020-12-02 12:35:07 +05:30
socionext phy: socionext: Add UniPhier AHCI PHY driver support 2020-08-31 17:07:53 +05:30
st phy: stm32: register usbphyc as clock provider of ck_usbo_48m clock 2021-03-15 15:25:29 +05:30
tegra phy-for-5.11 2020-12-09 14:26:40 +01:00
ti phy: ti: j721e-wiz: Add missing include linux/slab.h 2021-04-16 07:27:33 +02:00
xilinx phy: zynqmp: Handle the clock enable/disable properly 2021-03-31 18:25:54 +05:30
Kconfig phy: Add Sparx5 ethernet serdes PHY driver 2021-03-17 12:13:19 +05:30
Makefile phy: Add Sparx5 ethernet serdes PHY driver 2021-03-17 12:13:19 +05:30
phy-core-mipi-dphy.c
phy-core.c phy: Add media type and speed serdes configuration interfaces 2021-03-17 12:13:19 +05:30
phy-lgm-usb.c phy: Add USB3 PHY support for Intel LGM SoC 2020-09-11 17:12:49 +05:30
phy-lpc18xx-usb-otg.c
phy-pistachio-usb.c
phy-xgene.c phy: phy-xgene: convert to devm_platform_ioremap_resource 2020-11-16 12:47:47 +05:30