Re: [PATCH 1/4] Staging: ks7010: sdio: Fix multiple use of arguments in RX/TX queue macros.

2018-02-19 Thread Dan Carpenter
On Fri, Feb 16, 2018 at 06:20:50PM -0800, Quytelda Kahja wrote: > Use GCC extensions to prevent macro arguments from accidentally being > evaluated > multiple times when the macro is called. > Don't over engineer code. These bugs are never going to occur in real life because of how the macros

[PATCH 1/4] Staging: ks7010: sdio: Fix multiple use of arguments in RX/TX queue macros.

2018-02-16 Thread Quytelda Kahja
Use GCC extensions to prevent macro arguments from accidentally being evaluated multiple times when the macro is called. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks7010_sdio.c | 40 1 file changed, 27 insertions(+), 13