On 05/22/2018 04:10 AM, Roman Gushchin wrote:
cg_name(const char *root, const char *name) is always called with non-empty root and name arguments, so there is no sense in checking it in the function body (after using in strlen()).
Signed-off-by: Roman Gushchin guro@fb.com Reported-by: Dan Carpenter dan.carpenter@oracle.com Cc: linux-kselftest@vger.kernel.org
Thanks. I will queue this up for 4.18-rc1
-- Shuah
-- To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html