Re: [PATCH] staging/et131x: fix checkpatch warnings
From: Toshiaki Yamane
Date: Wed Jul 18 2012 - 20:05:56 EST
On Thu, Jul 19, 2012 at 2:53 AM, Joe Perches <joe@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/