Loading
soc: hisilicon: kunpeng_hccs: Fix the 'lane_mode' field name in port info...
soc: hisilicon: kunpeng_hccs: Fix the 'lane_mode' field name in port info structure to 'max_lane_num' mainline inclusion from mainline-v6.13-rc1 commit b51878373a81bda3a790fd936507fd0643ef98b3 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IB75RW CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b51878373a81bda3a790fd936507fd0643ef98b3 -------------------------------- The lane mode of HCCS port is an information to user, and actually comes from the maximum lane number. But it is good and easy for driver to use the maximum lane number. So fix the 'lane_mode' field name in port info structure to 'max_lane_num'. Signed-off-by:Huisong Li <lihuisong@huawei.com> Reviewed-by:
Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by:
Wei Xu <xuwei5@hisilicon.com> Signed-off-by:
Dengdui Huang <huangdengdui@huawei.com>