Tag: 91d435fe368ab30702d7bcd50f680e7185899295

staging: rtl8712: remove _malloc()

Author: Vitaly Osipov <vitaly.osipov@gmail.com> This patch removes all usage of _malloc() and the function itself. Most uses are straightforward replacements by kmalloc(…, GFP_ATOMIC), because this was the definition of _malloc(). In a few places it was possible to use kzalloc() or memdup_user. A further improvement would be to replace GFP_ATOMIC with GFP_KERNEL where possible. Verified …

Continue reading