lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ