[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150313135131.GB17829@casper.infradead.org>
Date: Fri, 13 Mar 2015 13:51:31 +0000
From: Thomas Graf <tgraf@...g.ch>
To: Herbert Xu <herbert@...dor.apana.org.au>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 5/6] rhashtable: Add rehash counter to bucket_table
On 03/13/15 at 08:57pm, Herbert Xu wrote:
> @@ -58,7 +59,8 @@ struct rhash_head {
> * @buckets: size * hash buckets
> */
> struct bucket_table {
> - size_t size;
> + unsigned int size;
> + unsigned int rehash;
> u32 hash_rnd;
> u32 shift;
> unsigned int locks_mask;
This changes causes a minor warning:
lib/test_rhashtable.c: In function ‘test_bucket_stats’:
lib/test_rhashtable.c:83:4: warning: format ‘%zu’ expects argument of
type ‘size_t’, but argument 3 has type ‘unsigned int’ [-Wformat=]
pr_info(" [%#4x/%zu]", i, tbl->size)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists