LSDK 18.09 : Possible bug in kernel driver

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LSDK 18.09 : Possible bug in kernel driver

454 Views
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 Kudos
1 Reply

372 Views
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 Kudos