Received: by 10.223.164.221 with SMTP id h29csp2292135wrb; Thu, 2 Nov 2017 08:41:11 -0700 (PDT) X-Google-Smtp-Source: ABhQp+Qeskq2uH+hL5ZhYMR8D69FujVZ4N5L4diW0ir9bweHbwO9Kg8UlNdhyzNhCWkrJ0LtRDYf X-Received: by 10.84.240.2 with SMTP id y2mr3635922plk.372.1509637271339; Thu, 02 Nov 2017 08:41:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509637271; cv=none; d=google.com; s=arc-20160816; b=TxhI/mDPm75u6ta44OE1amnpEdssqx4hBxc5WHKKScQggD+OZb5ZuxeWQjqu6SnJoh Oo0Li1ISx1JB5l1fkP8nIJzBrFF6VMRXVMqYAvUyUCX86/8qvL/aDwMpdbeiHhUwJiFA nQUN7N/1ZP/sBmYFciCK7ZM98ESCXaWyt1ZIWC8o3/tuz9K9zxCvXdpsoSyL9iLSEI+l qKWmXjVQAHaCT0e5gtcApunm0tcq3oygg9eBK7uTXSWASSOadCr9kkaNhJ+o69cp4ngL 8kB3JsXs2nu7FjCT8v+XJyGVPfVB03/iIfQlEtf5ZNOK1ftGxJGr8qOWCgtkVMQ5Ttrp QJgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:arc-authentication-results; bh=1qeQMM39ukE4ijLGpTONXUoqxX/E2xJZHWc3nxB6W3M=; b=ds+IkYyU2X9DacNa+3eAaHIUH+DN7HA7q9LNP1X/RngooTIvDW4H4vRw/3hvICLCPS ogAGfJG+ZiZCzmzPABTBwj8z1pG2SNiXvT/V+B6Aw5leXr8hsmZbOocvCKnMv2sKSTfn op22KBMLpDavG8g92+qyrmsZQy641eWyFoitUVq2z8JJC+CJf97c3YLYnQzVuXQhVHvD S7ZVbpOX5k1udPYd7G+0ciGXfuL7LeBZVfUW6GM15FEc96fXWNvjW4vuKWvc2TKSQEoM TMNDasWWZf9clq3W8BsJt2V9e/0CqDeT/y/KKrPxfqxinbE9jTzacVd8thod9axcWLjo FP+A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v187si3767552pgb.474.2017.11.02.08.40.56; Thu, 02 Nov 2017 08:41:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933933AbdKBPin (ORCPT + 97 others); Thu, 2 Nov 2017 11:38:43 -0400 Received: from mga03.intel.com ([134.134.136.65]:51397 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933686AbdKBPim (ORCPT ); Thu, 2 Nov 2017 11:38:42 -0400 Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Nov 2017 08:38:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,334,1505804400"; d="scan'208";a="168449811" Received: from pipin.fi.intel.com (HELO localhost) ([10.237.68.37]) by orsmga005.jf.intel.com with ESMTP; 02 Nov 2017 08:38:32 -0700 From: Felipe Balbi To: Arnd Bergmann , Chunfeng Yun , Greg Kroah-Hartman Cc: Arnd Bergmann , Sudip Mukherjee , linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] usb: mtu3: fix dma_addr_t printk output again In-Reply-To: <20171102143027.775184-1-arnd@arndb.de> References: <20171102143027.775184-1-arnd@arndb.de> Date: Thu, 02 Nov 2017 17:38:20 +0200 Message-ID: <87y3no8zdf.fsf@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Arnd Bergmann writes: > The support for 36-bit addresses originally came with an incorrect > printk format for dma addresses. Felipe changed the format string it > while applying, but the result was still incorrect, since we now have > to pass a pointer to the address instead of the integer value: > > drivers/usb/mtu3/mtu3_qmu.c: In function 'mtu3_prepare_tx_gpd': > drivers/usb/mtu3/mtu3_qmu.c:261:25: error: format '%p' expects argument of type 'void *', but argument 7 has type 'dma_addr_t {aka unsigned int}' [-Werror=format=] > drivers/usb/mtu3/mtu3_qmu.c: In function 'mtu3_prepare_rx_gpd': > drivers/usb/mtu3/mtu3_qmu.c:300:25: error: format '%p' expects argument of type 'void *', but argument 7 has type 'dma_addr_t {aka unsigned int}' [-Werror=format=] > > This fixes the printk argument accordingly. > > Fixes: 1a46dfea0841 ("usb: mtu3: support 36-bit DMA address") > Signed-off-by: Arnd Bergmann oh, so it wants a pointer afterall :-) sorry. Acked-by: Felipe Balbi -- balbi From 1582965089160464666@xxx Thu Nov 02 14:32:29 +0000 2017 X-GM-THRID: 1582965089160464666 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread