allocation is successful and return -ENOMEM on failure.
Signed-off-by: Rohith Seelaboyina
---
Changes in v3:
- Follow kernel coding style to seperate variable
declaration and assignment.
Changes in v2:
- Use kcalloc to allocate memory instead of using
kmalloc and memset.
drivers
allocation is successful and return -ENOMEM on failure.
Signed-off-by: Rohith Seelaboyina
---
Changes in v2:
- Use kcalloc to allocate memory instead of using
kmalloc and memset.
drivers/usb/gadget/function/f_fs.c | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
diff
allocation is successful and return -ENOMEM on failure.
Signed-off-by: Rohith Seelaboyina
---
drivers/usb/gadget/function/f_fs.c | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/gadget/function/f_fs.c
b/drivers/usb/gadget/function/f_fs.c
index
3 matches
Mail list logo