mmc: core: Fix use of uninitialized data in mmc_cmd_app.
authorAndrei Warkentin <andreiw@motorola.com>
Wed, 13 Apr 2011 20:33:12 +0000 (15:33 -0500)
committerChris Ball <cjb@laptop.org>
Wed, 25 May 2011 01:01:38 +0000 (21:01 -0400)
commit87f6119e25bbe0fd60e76f599d5fa10cf489519c
tree10cc6964609facbddb8653b04475dfd33850ab01
parent6a7a6b45f454686a1549729bfbae31f0b3b595d6
mmc: core: Fix use of uninitialized data in mmc_cmd_app.

mmc_cmd_app did not zero out mmc_command on stack.

Reported-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/sd_ops.c