lkml.org 
[lkml]   [2022]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v3 0/3] Staging: rtl8192e: Safer allocation and cleaner error handling
Date
v2:
- replaced kmalloc with kzalloc against memory initialization defects,
thus also removing a memset
- made error handling more consistent

v3:
- Split into smaller commits so that it's easier to review

Felix Schlepper (3):
Staging: rtl8192e: Use struct_size
Staging: rtl8192e: Using kzalloc and delete memset
Staging: rtl8192e: Cleaning up error handling

drivers/staging/rtl8192e/rtllib_tx.c | 23 ++++++++++-------------
1 file changed, 10 insertions(+), 13 deletions(-)

--
2.36.1

\
 
 \ /
  Last update: 2022-06-22 17:15    [W:1.032 / U:0.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site