From patchwork Mon May 18 13:11:31 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Beregalov X-Patchwork-Id: 24543 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 n4IDCW0i012285 for ; Mon, 18 May 2009 13:12:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751720AbZERNLl (ORCPT ); Mon, 18 May 2009 09:11:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752092AbZERNLk (ORCPT ); Mon, 18 May 2009 09:11:40 -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 S1751665AbZERNLi (ORCPT ); Mon, 18 May 2009 09:11:38 -0400 Received: by rv-out-0506.google.com with SMTP id f9so1613815rvb.1 for ; Mon, 18 May 2009 06:11:39 -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=9Y7jSu0MLO1IMOKPJJ+ZBJyQx7YUzv4Qmlcs8pRvDS8=; b=e5s3DBjG8zZZoqaOq4f10qMhKzxrEQP35Dr9QqwOOgvHgdvN0u+PAgpuMwNZE+tIWR PzcJgwTCprwH5uBjdd/ZjKiess+/fUI5vCP2zrTFxuMRtb3f1Yz0K7XnZ2wnCf5Pf+Qo GwgD8nvWQBDO7GX4wlEs7l3apohl13HPMZAfE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=YogbXAqSRznQ85SD9EKCulONjSNyVNVih74dwJ/eLSHovg6neWGtth9/HRHMM6XiXK 2mIKRPTaRFSSxiaL+ND3rtpDGqeu6YziPbWzdRnzucUH/MmknrtHuGMKZ8MQpaFLO09N aWVEke+SwdG4WfNEKRerJ/SKSAfBbHKfh7P4Q= Received: by 10.142.133.19 with SMTP id g19mr2046683wfd.126.1242652299914; Mon, 18 May 2009 06:11:39 -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 k2sm8520389rvb.4.2009.05.18.06.11.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 18 May 2009 06:11:38 -0700 (PDT) From: Alexander Beregalov To: linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org, alan@lxorguk.ukuu.org.uk Cc: Alexander Beregalov Subject: [PATCH 2/2] serial: 8250_gsc: fix printk format warning Date: Mon, 18 May 2009 17:11:31 +0400 Message-Id: <1242652291-1868-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/serial/8250_gsc.c:44: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'resource_size_t' Signed-off-by: Alexander Beregalov --- drivers/serial/8250_gsc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/serial/8250_gsc.c b/drivers/serial/8250_gsc.c index 418b4fe..a7b02a5 100644 --- a/drivers/serial/8250_gsc.c +++ b/drivers/serial/8250_gsc.c @@ -41,7 +41,7 @@ static int __init serial_init_chip(struct parisc_device *dev) printk(KERN_INFO "Serial: device 0x%lx not configured.\n" "Enable support for Wax, Lasi, Asp or Dino.\n", - dev->hpa.start); + (unsigned long)dev->hpa.start); return -ENODEV; }