[dpdk-dev] [PATCH 4/4] virtio: check if any kernel driver is manipulating the device

Stephen Hemminger stephen at networkplumber.org
Mon Jan 4 18:29:49 CET 2016


On Mon, 4 Jan 2016 09:02:53 +0000
"Xie, Huawei" <huawei.xie at intel.com> wrote:

> > +		PMD_INIT_LOG(ERR,  
> Better change ERR to INFO and revise the message followed, since user
> might not want to use this device for DPDK.
> > +			"%s(): kernel driver is manipulating this device." \
> > +			" Please unbind the kernel driver.", __func__);

The addition of __func__ here is redundant since this is already in PMD_INIT_LOG macro.


More information about the dev mailing list