> -----Original Message----- > From: Dan Carpenter <[email protected]> > Sent: Wednesday, August 29, 2018 2:08 PM > To: Ioana Ciocoi Radulescu <[email protected]> > Cc: [email protected]; [email protected]; > [email protected]; [email protected]; Horia Geanta > <[email protected]>; Madalin-cristian Bucur > <[email protected]>; [email protected]; linux- > [email protected]; Ioana Ciornei <[email protected]>; Laurentiu > Tudor <[email protected]> > Subject: Re: [PATCH net-next v2 0/2] dpaa2-eth: Move DPAA2 Ethernet > driver > > There are a few static checker warnings for the driver but only the > first one looks like a possibly real bug.
Thanks for the report, what tool did you use to get these warnings? > > drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c:1116 dpaa2_eth_stop() > error: uninitialized symbol 'dpni_enabled'. Will initialize in v3. Not actually a bug, since it's used only as an out param. > drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c:1671 set_fq_affinity() warn: > 'xps_mask' puts 1024 bytes on stack > drivers/staging/fsl-dpaa2/ethsw/ethsw.c:742 port_vlans_add() error: > uninitialized symbol 'err'. > drivers/staging/fsl-dpaa2/ethsw/ethsw.c:886 port_vlans_del() error: > uninitialized symbol 'err'. The dpaa2 switch driver is not targeted by the current patchset, so I'll fix these in a separate patch on Greg's staging tree. Thanks, Ioana _______________________________________________ devel mailing list [email protected] http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
