[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140123.132903.1418930141853313681.davem@davemloft.net>
Date: Thu, 23 Jan 2014 13:29:03 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: grundler@...isc-linux.org, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [patch] tulip: cleanup by using ARRAY_SIZE()
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Thu, 23 Jan 2014 11:26:37 +0300
> In this situation then ARRAY_SIZE() and sizeof() are the same, but we're
> really dealing with array indexes and not byte offsets so ARRAY_SIZE()
> is cleaner.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied, thanks Dan.
--
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