Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757359Ab0GNSEB (ORCPT ); Wed, 14 Jul 2010 14:04:01 -0400 Received: from mail-ey0-f174.google.com ([209.85.215.174]:36979 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755191Ab0GNSD6 (ORCPT ); Wed, 14 Jul 2010 14:03:58 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=weciMyGrEULoTFTtpSN3f7oLOu6RTcqYcbaewh64GAFd81DIzQ8OR8f8dYJ/b6vrP8 m6mRyeeEh7ZBOrt1/444J8xezWYiBQBlJO79HF3UJ3ABNIa3vkYv/dQDa51YZ5RLXbel OoIG9tYsIjr4y8Q61+ihWgnORKmDL7HdgT82I= From: Kulikov Vasiliy To: kernel-janitors@vger.kernel.org Cc: Grant Grundler , Kyle McMartin , "David S. Miller" , Joe Perches , Jiri Pirko , Stephen Hemminger , Eric Dumazet , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 06/11] tulip: formatting of pointers in printk() Date: Wed, 14 Jul 2010 22:03:25 +0400 Message-Id: <1279130606-10927-1-git-send-email-segooon@gmail.com> X-Mailer: git-send-email 1.7.0.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1285 Lines: 34 Use %p instead of %08x in printk(). Signed-off-by: Kulikov Vasiliy --- drivers/net/tulip/winbond-840.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/tulip/winbond-840.c b/drivers/net/tulip/winbond-840.c index 608b279..66d41cf 100644 --- a/drivers/net/tulip/winbond-840.c +++ b/drivers/net/tulip/winbond-840.c @@ -1514,12 +1514,12 @@ static int netdev_close(struct net_device *dev) if (debug > 2) { int i; - printk(KERN_DEBUG" Tx ring at %08x:\n", (int)np->tx_ring); + printk(KERN_DEBUG" Tx ring at %p:\n", np->tx_ring); for (i = 0; i < TX_RING_SIZE; i++) printk(KERN_DEBUG " #%d desc. %04x %04x %08x\n", i, np->tx_ring[i].length, np->tx_ring[i].status, np->tx_ring[i].buffer1); - printk(KERN_DEBUG " Rx ring %08x:\n", (int)np->rx_ring); + printk(KERN_DEBUG " Rx ring %p:\n", np->rx_ring); for (i = 0; i < RX_RING_SIZE; i++) { printk(KERN_DEBUG " #%d desc. %04x %04x %08x\n", i, np->rx_ring[i].length, -- 1.7.0.4 -- 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/