Skip to content
Commit e1990222 authored by Hari Prasath's avatar Hari Prasath Committed by Mauro Carvalho Chehab
Browse files

media: staging: atomisp: use kstrdup to replace kmalloc and memcpy



kstrdup kernel primitive can be used to replace kmalloc followed by
string copy. This was reported by coccinelle tool.

Signed-off-by: default avatarHari Prasath <gehariprasath@gmail.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent e9e8c1cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment