From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] igb_uio: change the irq print type. Date: Tue, 06 Feb 2018 00:17:03 +0100 Message-ID: <1607393.bdUyVnrTdh@xps> References: <1516724254-109282-1-git-send-email-xiangxia.m.yue@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, ferruh.yigit@intel.com To: xiangxia.m.yue@gmail.com Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 92FDC1B3F8 for ; Tue, 6 Feb 2018 00:17:07 +0100 (CET) In-Reply-To: <1516724254-109282-1-git-send-email-xiangxia.m.yue@gmail.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 23/01/2018 17:17, xiangxia.m.yue@gmail.com: > From: Tonghao Zhang > > The kernel uses the '%d' or '%ld' to print irq num. > But igb_uio may use the '%lx', then the log may confuse > the user what irq num has been used. The log is show as > below. > > igb_uio 0000:00:03.0: irq 24 for MSI/MSI-X > igb_uio 0000:00:03.0: uio device registered with irq 18 > > kernel version: 3.10.0-514.16.1.el7 > > For avoiding to be confused, change the igb_uio irq > print type. > > Signed-off-by: Tonghao Zhang Applied, thanks