Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp670500img; Fri, 22 Mar 2019 06:17:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqz5TPikcyfXAK9cM32UGcOEDMgr+UEgpsdq+/1sxOMK0gnt48vpzsPidLu4otj2H8Uejc// X-Received: by 2002:a17:902:7786:: with SMTP id o6mr9450837pll.206.1553260629380; Fri, 22 Mar 2019 06:17:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553260629; cv=none; d=google.com; s=arc-20160816; b=DnhTMscXmbOIdHpjSB/ZjPmyK1cSeKxe3vFXvCTl9E3DgpRQy22ZBAIE5xOwo0Lg+f hCuazCr93f2gnG+hKCCUWPuu7Ce1nfWXtYsWYWSvTtsDUkTkoBm3p5xnVyTOzs7k1msC dAgzwpBiNy9nDGi6/5XwuIQH7QNG5/QIOuGfsfewW8VuVMG5f1rNdSofPtRvxGvBJKHP Q+y/etUAEM+nW5fTrdiyzJ/io8E2CipVYxzA1KCc5FXUn/3CotYCVg87K7p7v8Qp372b WrrHjfkSeh7iGXGtomhK3kPRb8CpqCflHSBdJb1cYjV7FXHpKG7lt1M87qMWlxAODn/0 Cdbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=7nmnuY7bn1NYEn2uG2/axSW+LxGdV6sfwaEHrx7+a4o=; b=emi56XL5weJjNGGJ7WAM/RHU+PSVuZRboQcsBsVESB4oaOXtl6sz3wLdov2g/dWs7g zx0TsgW6PYlO0K+n0/a+LgZRLgU7NJGR8xB9MTmo0i/u+bEPenJScqCnkpOJZba1unq5 BAu2sFElxwp/gk35dHZEfOX4opEMc31/e4Qy9kwbwB+4lh6cwrIL+s74x0ny2WTtCDGG +DbmqGlnmShYh88FAHa1e63SB/HyMcTl8ONo5E/ZEP7dLzsyE8LI3ohgQ02CoA9sMksj AgU6FQtA3SJrgj5u3WAANzWpp/pWGQO80Wn1S1xL213LYdCw/Lf89PVPSLnc1RwdWyAV oUNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fZTVI8vf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q61si7449315plb.245.2019.03.22.06.16.54; Fri, 22 Mar 2019 06:17:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fZTVI8vf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729498AbfCVL1C (ORCPT + 99 others); Fri, 22 Mar 2019 07:27:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:54720 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729156AbfCVL07 (ORCPT ); Fri, 22 Mar 2019 07:26:59 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DA06B218A2; Fri, 22 Mar 2019 11:26:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553254019; bh=XBuECskMGsfO6fRwTV0yotdIcshD/fxmv1C5umaLj7A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fZTVI8vfM0xpgXdWtNtCfK+r6Uvpcc02mAtBNEsCYBenj77ddVTsZky9KTpSp0Jge igowV7a65QJHK27PzpQbTYPVSAWdIyL07s+Aut6kVXlAGrWfBNck5UvloV09HhLBa1 JyJ6juejaolgrOX9kWGuZFCr7tjDJDxFWlmChXwQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "Gustavo A. R. Silva" , Alex Deucher Subject: [PATCH 3.18 134/134] drm/radeon/evergreen_cs: fix missing break in switch statement Date: Fri, 22 Mar 2019 12:15:47 +0100 Message-Id: <20190322111220.278514792@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190322111210.465931067@linuxfoundation.org> References: <20190322111210.465931067@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Gustavo A. R. Silva commit cc5034a5d293dd620484d1d836aa16c6764a1c8c upstream. Add missing break statement in order to prevent the code from falling through to case CB_TARGET_MASK. This bug was found thanks to the ongoing efforts to enable -Wimplicit-fallthrough. Fixes: dd220a00e8bd ("drm/radeon/kms: add support for streamout v7") Cc: stable@vger.kernel.org Signed-off-by: Gustavo A. R. Silva Signed-off-by: Alex Deucher Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/radeon/evergreen_cs.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/gpu/drm/radeon/evergreen_cs.c +++ b/drivers/gpu/drm/radeon/evergreen_cs.c @@ -1318,6 +1318,7 @@ static int evergreen_cs_check_reg(struct return -EINVAL; } ib[idx] += (u32)((reloc->gpu_offset >> 8) & 0xffffffff); + break; case CB_TARGET_MASK: track->cb_target_mask = radeon_get_ib_value(p, idx); track->cb_dirty = true;