Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'hisi-drivers-for-7.1' of https://github.com/hisilicon/linux-hisi into soc/drivers

HiSilicon driver updates for v7.1

- Fix two compiler warnings on kunpeng_hccs driver

* tag 'hisi-drivers-for-7.1' of https://github.com/hisilicon/linux-hisi:
soc: hisilicon: kunpeng_hccs: Remove unused input parameter
soc: hisilicon: kunpeng_hccs: Fix discard ‘const’ qualifier compiling warning

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+3 -4
+3 -4
drivers/soc/hisilicon/kunpeng_hccs.c
··· 961 961 struct hccs_link_status link_status = {0}; 962 962 const struct { 963 963 u8 link_fsm; 964 - char *str; 964 + const char *str; 965 965 } link_fsm_map[] = { 966 966 {HCCS_PORT_RESET, "reset"}, 967 967 {HCCS_PORT_SETUP, "setup"}, ··· 1621 1621 hccs_remove_misc_sysfs(hdev); 1622 1622 } 1623 1623 1624 - static int hccs_create_hccs_dir(struct hccs_dev *hdev, 1625 - struct hccs_die_info *die, 1624 + static int hccs_create_hccs_dir(struct hccs_die_info *die, 1626 1625 struct hccs_port_info *port) 1627 1626 { 1628 1627 int ret; ··· 1653 1654 1654 1655 for (i = 0; i < die->port_num; i++) { 1655 1656 port = &die->ports[i]; 1656 - ret = hccs_create_hccs_dir(hdev, die, port); 1657 + ret = hccs_create_hccs_dir(die, port); 1657 1658 if (ret) { 1658 1659 dev_err(hdev->dev, "create hccs%u dir failed.\n", 1659 1660 port->port_id);