Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751502AbdLMIBr (ORCPT ); Wed, 13 Dec 2017 03:01:47 -0500 Received: from lelnx194.ext.ti.com ([198.47.27.80]:64547 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751399AbdLMIBq (ORCPT ); Wed, 13 Dec 2017 03:01:46 -0500 Subject: Re: mailbox: ti-msgmgr: Use %zu for size_t print format To: Nishanth Menon , Jassi Brar CC: References: <20171202102718.18942-1-nm@ti.com> From: Lokesh Vutla Message-ID: <45ce1e0a-417f-e2ac-a3f6-8c9d402d15f3@ti.com> Date: Wed, 13 Dec 2017 13:31:10 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20171202102718.18942-1-nm@ti.com> Content-Type: text/plain; charset="windows-1252" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 302 Lines: 12 On Saturday 02 December 2017 03:57 PM, Nishanth Menon wrote: > message->len is of type size_t and %d is incorrect format usage. > Instead use %zu for handling size_t correctly. > > Signed-off-by: Nishanth Menon Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh