From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by dpdk.org (Postfix) with ESMTP id 4488A1BBC5 for ; Fri, 13 Apr 2018 10:43:39 +0200 (CEST) Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w3D8h6MW068942 for ; Fri, 13 Apr 2018 04:43:38 -0400 Received: from e06smtp11.uk.ibm.com (e06smtp11.uk.ibm.com [195.75.94.107]) by mx0a-001b2d01.pphosted.com with ESMTP id 2harpd9rws-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Fri, 13 Apr 2018 04:43:37 -0400 Received: from localhost by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 13 Apr 2018 09:43:33 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 13 Apr 2018 09:43:30 +0100 Received: from d06av24.portsmouth.uk.ibm.com (d06av24.portsmouth.uk.ibm.com [9.149.105.60]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w3D8hU9j57213002; Fri, 13 Apr 2018 08:43:30 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 746F242160; Fri, 13 Apr 2018 09:35:09 +0100 (BST) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 40ED742161; Fri, 13 Apr 2018 09:35:08 +0100 (BST) Received: from [9.79.194.55] (unknown [9.79.194.55]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 13 Apr 2018 09:35:08 +0100 (BST) To: Shreyansh Jain , Thomas Monjalon Cc: Hemant Agrawal , Anatoly Burakov , dev@dpdk.org References: <5438d3242ebb9d995d0a52a63feba80efd783e6f.1523595487.git.gowrishankar.m@linux.vnet.ibm.com> <4074558.oWdUdNoPZr@xps> <893c8705-858c-336d-c600-c4a23e8fea5b@nxp.com> From: gowrishankar muthukrishnan Date: Fri, 13 Apr 2018 14:13:28 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <893c8705-858c-336d-c600-c4a23e8fea5b@nxp.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-TM-AS-GCONF: 00 x-cbid: 18041308-0040-0000-0000-0000044D18CB X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18041308-0041-0000-0000-000020F15009 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-04-13_05:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1804130079 Subject: Re: [dpdk-dev] [PATCH] bus/fslmc: use PRIu64 instead of llX in format specifier X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Apr 2018 08:43:39 -0000 On Friday 13 April 2018 02:26 PM, Shreyansh Jain wrote: > On Friday 13 April 2018 01:11 PM, Thomas Monjalon wrote: >> 13/04/2018 07:04, Gowrishankar: >>> -    DPAA2_BUS_DEBUG("--> Map address: %llX, size: 0x%llX", >>> +    DPAA2_BUS_DEBUG("--> Map address: %"PRIu64", size: 0x%"PRIu64"", >> >> You cannot replace hexadecimal by decimal. >> You need to use PRIx64. >> >> > > Now that Thomas has pointed out, I think the log message can be > improved. Len as hex is not helpful and is out of sync with other > messages in this file. > > While on this, I think it should be corrected. > I will fix this. > > @gowrishankar, I will post a patch in reply to your patch - can you > please help me with ppc64le check? I will take care of Hemant's comment. Yup, I check for it. Thanks Shreyansh. > > - > Shreyansh >