Skip to content
Commit c3ec830d authored by Chen Gang's avatar Chen Gang Committed by Felipe Balbi
Browse files

usb: gadget: uvc: Use strlcpy instead of strncpy



For NULL terminated string, better notice '\0' in the end.

Signed-off-by: default avatarChen Gang <gang.chen@asianux.com>
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: default avatarBhupesh Sharma <bhupesh.sharma@st.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 6854bcdc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment