misc: sgi-gru: fix Using uninitialized value excdet.cbrexecstatus
Subsystems (2)
PATCH 5/6 misc: sgi-gru: fix Using uninitialized value excdet.cbrexecstatus
From: Yan Lei <[email protected]>
Signed-off-by Yan Lei <[email protected]>
--- drivers/misc/sgi-gru/grukservices.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/misc/sgi-gru/grukservices.c +1 -1
@@ -453,7 +453,7 @@ static int gru_wait_idle_or_exception(struct gru_control_block_status *gen)static int gru_retry_exception (void *cb) {struct gru_control_block_status *gen = (void *)cb; -struct control_block_extended_exc_detail excdet; +struct control_block_extended_exc_detail excdet = {0 };int retry =EXCEPTION_RETRY_LIMIT ;while (1 ) {
Signature · 1 line
2.30.0