Re: [PATCH] Fix wpa_cipher_to_alg return type

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

 



On Mon, Dec 19, 2016 at 04:46:42PM -0600, Joel Cunningham wrote:
> wpa_cipher_to_alg returns enumerated values from enum wpa_alg and all
> uses of the return value treat it as enum wpa_alg (by either assigning
> it to a variable of type enum wpa_alg or passing to a function that
> expects enum wpa_alg)
> 
> This commit updates the return value to match the expected usage
> (enum wpa_alg) rather than int. This ensures the return value is
> of the proper type and elimantes the following compiler warnings:
> 
> ARM RVCT (2.2):
>   'Warning: #188-D: enumerated type mixed with another type'

Thanks, applied.
 
-- 
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