From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH 4/4] virtio: check if any kernel driver is manipulating the device Date: Mon, 4 Jan 2016 09:29:49 -0800 Message-ID: <20160104092949.7ea534f9@xeon-e3> References: <20151222035041.GA7532@pxdev.xzpeter.org> <1450982292-129560-1-git-send-email-huawei.xie@intel.com> <1450982292-129560-5-git-send-email-huawei.xie@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" To: "Xie, Huawei" Return-path: Received: from mail-pf0-f172.google.com (mail-pf0-f172.google.com [209.85.192.172]) by dpdk.org (Postfix) with ESMTP id D51028E9D for ; Mon, 4 Jan 2016 18:29:41 +0100 (CET) Received: by mail-pf0-f172.google.com with SMTP id e65so152264632pfe.1 for ; Mon, 04 Jan 2016 09:29:41 -0800 (PST) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, 4 Jan 2016 09:02:53 +0000 "Xie, Huawei" 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.