LSDK 18.09 : Possible bug in kernel driver

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LSDK 18.09 : Possible bug in kernel driver

881 次查看
pierre_lp
Contributor II

Hi,

when compiling LDSK 18.09 (flex-builder -i mkfw -m ls1046ardb -r ubuntu:tiny -a arm64 -b qspi), I got several warnings in fsl_ppfe/pfe_ls1012a_platform.c (see screen capture)

Capture du 2018-11-27 13-48-17.png

When looking at the code, these warning do not look minor (field mdio_muxval assigned with incorrect value in case property doesn't exist):

Capture du 2018-11-27 13-51-50.png

I think this should be fixed.

Kind regards.

0 项奖励
回复
1 回复

799 次查看
Pavel
NXP Employee
NXP Employee

This code is code from the pfe_get_gemac_if_proprties function.

This function contains the following variable declaration:

                struct device_node *gem = NULL, *phy = NULL;

                int size;

                int ii = 0, phy_id = 0;

                const u32 *addr;

                const void *mac_addr;

 

The phy_id is set to 0 in default.

It is not a bug.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复