From c336f75e1e822658122b96d874da01f5f4df994d Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Sat, 18 Jan 2014 06:06:01 -0300 Subject: [PATCH] [media] v4l2-ctrls: return elem_size instead of strlen When getting a string and the size given by the application is too short return the max length the string can have (elem_size) instead of the string length + 1. That makes more sense. Signed-off-by: Hans Verkuil Reviewed-by: Sylwester Nawrocki Signed-off-by: Mauro Carvalho Chehab --- Reading git-format-patch failed