summaryrefslogtreecommitdiff
path: root/kernel/kcmp.c
diff options
context:
space:
mode:
authorMadalin Bucur <madalin.bucur@freescale.com>2013-06-17 13:30:41 (GMT)
committerFleming Andrew-AFLEMING <AFLEMING@freescale.com>2013-07-15 21:48:19 (GMT)
commit7b709cf81e39f359ba9a180cfc32370658299f52 (patch)
treea230db68710da572aed60b8501c5b5384efffba5 /kernel/kcmp.c
parent04f337d7cb718d48512a834a4f29a2b697dd51f4 (diff)
downloadlinux-fsl-qoriq-7b709cf81e39f359ba9a180cfc32370658299f52.tar.xz
dpaa_eth: check dpa_mac_probe() result
Check for NULL returns from dpa_mac_probe() when probing private and shared interfaces. If a MACless interface is mistakenly identified with the old compatibility string "fsl,dpa-ethernet" instead of the required "fsl,dpa-ethernet-macless" compatibility string the interface is probed as private interface and dpa_mac_probe() fails. Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com> Change-Id: I221d00aafb6ba25f32b7a451610f1e6185bdb7ca Reviewed-on: http://git.am.freescale.net:8181/3091 Reviewed-by: Sovaiala Cristian-Constantin-B39531 <Cristian.Sovaiala@freescale.com> Reviewed-by: Radulescu Ruxandra Ioana-B05472 <ruxandra.radulescu@freescale.com> Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com> Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'kernel/kcmp.c')
0 files changed, 0 insertions, 0 deletions