Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757865Ab3EaWfB (ORCPT ); Fri, 31 May 2013 18:35:01 -0400 Received: from mail-ob0-f169.google.com ([209.85.214.169]:34228 "EHLO mail-ob0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757514Ab3EaWez (ORCPT ); Fri, 31 May 2013 18:34:55 -0400 MIME-Version: 1.0 In-Reply-To: <1370031778-25965-1-git-send-email-emilgoode@gmail.com> References: <1370031778-25965-1-git-send-email-emilgoode@gmail.com> Date: Sat, 1 Jun 2013 01:34:54 +0300 Message-ID: Subject: Re: [PATCH] usb: musb: Fix format specifier warning From: Andy Shevchenko To: Emil Goode Cc: balbi@ti.com, Greg Kroah-Hartman , USB , "linux-kernel@vger.kernel.org" , kernel-janitors@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 715 Lines: 20 On Fri, May 31, 2013 at 11:22 PM, Emil Goode wrote: > This patch fixes a format specifier warning. dma_addr_t can be either > u32 or u64 so we should cast to the largest type and change the format > specifier to %llx. dma_addr_t is derived from phys_addr_t, thus you may use %pa specifier which is available from v3.8(?). Something like this: dma_addr_t src_addr; dev_dbg(dev, "DMA addr: %pa\n", src_addr); -- With Best Regards, Andy Shevchenko -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/