From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754395Ab1C1PtJ (ORCPT ); Mon, 28 Mar 2011 11:49:09 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:60293 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753819Ab1C1PtG (ORCPT ); Mon, 28 Mar 2011 11:49:06 -0400 Date: Mon, 28 Mar 2011 08:48:45 -0700 From: Randy Dunlap To: Stephen Rothwell , gregkh@suse.de, lud Cc: linux-next@vger.kernel.org, LKML , Sebastian Siewior Subject: [PATCH -next RESEND] usb: fix isp1760-hcd printk format warning Message-Id: <20110328084845.2384a368.randy.dunlap@oracle.com> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Source-IP: acsmt356.oracle.com [141.146.40.156] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090206.4D90ADE2.00FF,ss=1,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap Fix printk format build warning and grammar typo on same line. drivers/usb/host/isp1760-hcd.c:300: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'size_t' Signed-off-by: Randy Dunlap --- drivers/usb/host/isp1760-hcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20110315.orig/drivers/usb/host/isp1760-hcd.c +++ linux-next-20110315/drivers/usb/host/isp1760-hcd.c @@ -295,7 +295,7 @@ static void alloc_mem(struct usb_hcd *hc } dev_err(hcd->self.controller, - "%s: Can not allocate %lu bytes of memory\n" + "%s: Cannot allocate %zu bytes of memory\n" "Current memory map:\n", __func__, qtd->length); for (i = 0; i < BLOCKS; i++) { --