[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOTypNQDWUNNFP6aEQ3ZjTi6u-UH7oRMR5eg5-n2PHjEaTxmhw@mail.gmail.com>
Date: Thu, 19 Jul 2012 09:05:10 +0900
From: Toshiaki Yamane <yamanetoshi@...il.com>
To: Joe Perches <joe@...ches.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Mark Einon <mark.einon@...il.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging/et131x: fix checkpatch warnings
On Thu, Jul 19, 2012 at 2:53 AM, Joe Perches <joe@...ches.com> wrote:
> On Wed, 2012-07-18 at 20:32 +0900, Toshiaki Yamane wrote:
>> Thanks for you reply.
>>
>> I will fix netdev_info only, because I don't know if I should use "%p".
>
> OK, fyi: it turns out ps_ring_physaddr and rx_status_bus
> are both dma_addr_t so both should be emitted with %ull
> and cast to (unsigned long long) or (u64).
>
Thanks for your reply.
%ullx ?
pr_info("Packet Status Ring: %ullx\n", (unsigned long
long)rx_ring->ps_ring_phydaddr);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists