From patchwork Mon May 18 13:10:52 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Beregalov X-Patchwork-Id: 24541 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n4IDAsMl012104 for ; Mon, 18 May 2009 13:11:21 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751772AbZERNLT (ORCPT ); Mon, 18 May 2009 09:11:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751689AbZERNLS (ORCPT ); Mon, 18 May 2009 09:11:18 -0400 Received: from rv-out-0506.google.com ([209.85.198.225]:7086 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751096AbZERNLS (ORCPT ); Mon, 18 May 2009 09:11:18 -0400 Received: by rv-out-0506.google.com with SMTP id f9so1613815rvb.1 for ; Mon, 18 May 2009 06:11:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=zNM6ERv+71wi5garZJwfLRvgq7w2V+Nn4TcbKtUCwyc=; b=Sl14tVqsr7KUhJPc0Y89guBNoVBYi6A2jfjMJRYAJHKBypf9eoSVrnfelwmjKyWF9H WK4RWZ4b4oThBYPesBYVj3gp1EjwtgahyucIXh4hX6Kp55ry+hScMBK9DU+WwB98zrMp 7KrXJQnbVkQ7Nu6aBLsbvV9m2qXr98PuTW5ZM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=acxdHXkyNegvN38IANbg06Mdg4bEkFGEGRc9GiWZWI3jFcRJIcyA2U72/GnD1W5+Ty 1YRb/k7cZG/jI02XO/bIB8IF9xLvFSP9u4e7HMDpL2+dFIS+aklLF+YaJ+L5n9lgLd8y lsHxNh0FJi1sUw4P7dEiMiC4RdT+aMDzciaqY= Received: by 10.141.82.20 with SMTP id j20mr2378511rvl.138.1242652279337; Mon, 18 May 2009 06:11:19 -0700 (PDT) Received: from localhost.localdomain (ppp85-140-246-179.pppoe.mtu-net.ru [85.140.246.179]) by mx.google.com with ESMTPS id g14sm13166435rvb.2.2009.05.18.06.11.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 18 May 2009 06:11:05 -0700 (PDT) From: Alexander Beregalov To: linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Alexander Beregalov Subject: [PATCH 1/2] parport_gsc: fix printk format warning Date: Mon, 18 May 2009 17:10:52 +0400 Message-Id: <1242652252-1835-1-git-send-email-a.beregalov@gmail.com> X-Mailer: git-send-email 1.6.3 Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org Fix this build warning: drivers/parport/parport_gsc.c:356: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'resource_size_t' Signed-off-by: Alexander Beregalov --- drivers/parport/parport_gsc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/parport/parport_gsc.c b/drivers/parport/parport_gsc.c index 6531db2..51d4866 100644 --- a/drivers/parport/parport_gsc.c +++ b/drivers/parport/parport_gsc.c @@ -353,7 +353,7 @@ static int __devinit parport_init_chip(struct parisc_device *dev) if (!dev->irq) { printk(KERN_WARNING "IRQ not found for parallel device at 0x%lx\n", - dev->hpa.start); + (unsigned long)dev->hpa.start); return -ENODEV; }