OSDN Git Service

diag: dci: Prevent using uninitialized variables
authorManoj Prabhu B <bmanoj@codeaurora.org>
Tue, 20 Aug 2019 08:49:55 +0000 (14:19 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Thu, 22 Aug 2019 06:03:51 +0000 (23:03 -0700)
commitc3403636a989d57cea9b0fd8ff07860e805e0c8c
treeb1e312506f6702fd1093394972cebd27f61010ff
parent2a61e30d4462de293371173af5c153e0ea195f0e
diag: dci: Prevent using uninitialized variables

Presently chance of using uninitialized variables if a dci
command is not found is avoided by initializing command
structure variables.

Change-Id: I190299917ea6c7fadfc7686d43a7da098e0bc05e
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
drivers/char/diag/diag_dci.c