Re: [PATCH] Fix MIN() macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry for that.
There is nothing broken, It is just about using a more common style.

First, define MIN() macro as defined in other files (wmm.c), and make
it available for all the file instead of #define it, and then #undef
it.

Second, add missing brackets around arguments.


Le mer. 6 avr. 2022 à 22:27, Jouni Malinen <j@xxxxx> a écrit :
>
> On Thu, Mar 17, 2022 at 01:18:34PM +0100, Baligh Gasmi wrote:
> > Fix macro and avoid macro definition within function.
>
> Can you please be more specific on what is broken and needs to be fixed
> here? Why should we avoid defining a macro within a function?
>
> --
> Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux