From 934f4e64710980d7942822a04538fd0cd5a2e28c Mon Sep 17 00:00:00 2001 From: Bob Supnik Date: Tue, 14 Mar 2017 18:22:04 -0700 Subject: [PATCH] alpha: Fix Coverity identified Defect: 1416171 --- alpha/alpha_ev5_pal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alpha/alpha_ev5_pal.c b/alpha/alpha_ev5_pal.c index bf8356a9..da8524bf 100644 --- a/alpha/alpha_ev5_pal.c +++ b/alpha/alpha_ev5_pal.c @@ -365,7 +365,7 @@ if (ir & HW_LD_V) { /* virtual? */ res = SEXT_L_Q (res); } } -else if (ir & HW_LD_Q) R[ra] = ReadPQ (ea); /* physical, quad? */ +else if (ir & HW_LD_Q) res = ReadPQ (ea); /* physical, quad? */ else { res = ReadPL (ea); /* long, sext */ res = SEXT_L_Q (res);