Sorry for the top-posting, but I'm provided with the tools they give me and 
bottom posting from Outlook just confuses email threads. Plus, this was 
crossposted all over creation and cc-ed to anyone with an intel address.

I still would say no if I'm allowed, because to guarantee that this change - 
that I don't think fixes anything - works in all cases, we need to do an 
incredible amount of regression testing. Every variant of every Intel part that 
uses this driver (and there are many) should be tested and will end up being 
used by the community.

Plus, you have no idea the number of obscure bugs I have to deal with as the 
guy answering customer questions. If this triggers some odd embedded compiler 
bug, I'm going to have to dig it out. Unless there is an actual bug, I'd like 
to leave it as it is.

Todd Fujinaka
Software Application Engineer
Networking Division (ND)
Intel Corporation
todd.fujin...@intel.com
(503) 712-4565

-----Original Message-----
From: Richard Weinberger [mailto:richard.weinber...@gmail.com] 
Sent: Tuesday, June 30, 2015 12:01 PM
To: Fujinaka, Todd
Cc: Maninder Singh; Kirsher, Jeffrey T; Brandeburg, Jesse; Nelson, Shannon; 
Wyborny, Carolyn; Skidmore, Donald C; Vick, Matthew; Ronciak, John; Williams, 
Mitch A; intel-wired-...@lists.osuosl.org; netdev@vger.kernel.org; 
linux-ker...@vger.kernel.org; panka...@samsung.com
Subject: Re: [Intel-wired-lan] [PATCH 1/1] igb: Use ARRAY_SIZE instead fo 
sizeof(a)/sizeof(a[0])

On Tue, Jun 30, 2015 at 4:53 PM, Fujinaka, Todd <todd.fujin...@intel.com> wrote:
> I don't see the reason this is needed so I'm going to say NAK.

Using generic functions is always better than open coded stuff.
Linux's ARRAY_SIZE also makes sure that the passed variable is actually an 
array.

--
Thanks,
//richard

Reply via email to