Re: [PATCH 4/4] virtio: check if any kernel driver is manipulating the device
From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2016-01-04 17:29:41
From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2016-01-04 17:29:41
On Mon, 4 Jan 2016 09:02:53 +0000 "Xie, Huawei" [off-list ref] wrote:
quoted
+ 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.quoted
+ "%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.