Re: [PATCH] net: rename u16 to fix shadowed declaration warning
From: Thomas Monjalon <hidden>
Date: 2018-06-27 20:57:48
From: Thomas Monjalon <hidden>
Date: 2018-06-27 20:57:48
25/06/2018 17:38, Olivier Matz:
On Mon, Jun 04, 2018 at 02:40:00PM -0500, Gage Eads wrote:quoted
This patch renames u16 to u16_buf. u16 as a variable name causes a shadowed declaration warning if, for example, the application also typedefs u16 (e.g. by including a header containing "typedef unsigned short u16") and the application is built with -Wshadow. Signed-off-by: Gage Eads <redacted>Acked-by: Olivier Matz <redacted>
Applied, thanks