Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp626260img; Fri, 22 Mar 2019 05:25:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqy61PNQ4kwIqXC8tfhpP67WKaB6xH4bzRqhMdkhmX66wBvcxg3t13rTNOnOH9WBa96WGf6f X-Received: by 2002:a17:902:6b81:: with SMTP id p1mr9388897plk.106.1553257544155; Fri, 22 Mar 2019 05:25:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553257544; cv=none; d=google.com; s=arc-20160816; b=SSYlUENQi7NDKUUkwgV/xdwC/cm/z7lS1OES20bBXk0c+CEBHZKrcUZ9MxI+XMwsc5 MZdNvdzhTPW8soYmYKSMECSHjDyjUsFG82YnkiDXIbiebQEblBGuyElE4ubMUKV6Ynl8 pqljkJhwkSXOxLkXW7UoevLKjo2YnrJQP9ndLXt+CVe2MSlmo8os6LkwH+bUB2M4jLSI a7CITkAlilvzotXJxFK/3LHpvoIt70ANs6z0QD0a2uS2UyRKNdpPy4zeI0gF4izTELtU cFhfvUHXpHDBCCjArAZnxIDfWJjxLFvav4ZNp878dS18/A+zxFlaVGGTACMCsued2PF7 x22A== 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=SAhXsxqxM2mQjkejB6bUGbp031HzVHkaO9nQrBQ+84g=; b=DefMjisUjjZdjZbj9ZmlaO/YRuRhUG0aQOhXwPVu8UvUnC1Ce8Jy26nZFoXnpp86r3 nn8mT7G5YmkHm8g7R/6WGEwq7V/X1RDTsvHYeVMhs4H0cHsjQO/XLr9P1Mveyjz9nrlK 6eJBgDTc6iV1AXF1KZIeipLGuwKu1QqFJtJKaA5erf7RsmgDR1rCYXDF6Q6z17kw6/qq SkJQVaPso6pFbzUu65JukqAG2TatORgWv7cDskPhFNmNLNBSbhj0Z2EAV8gv2Y4CGzTm UQOftsrACo67UFCIJrprlR9WkXwtAtT04zoDf6Ygvq3/3ZehFDzyRarNth1lNVe6NHEe AWPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=WM5c4rLa; 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 l127si6686887pfl.2.2019.03.22.05.25.29; Fri, 22 Mar 2019 05:25:44 -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=WM5c4rLa; 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 S2391133AbfCVMXa (ORCPT + 99 others); Fri, 22 Mar 2019 08:23:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:34928 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390680AbfCVMX0 (ORCPT ); Fri, 22 Mar 2019 08:23:26 -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 647C6218B0; Fri, 22 Mar 2019 12:23:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553257405; bh=ut48cEiWhOE+//stqXG37Vi0xKd12pPH2T0g2u2MT5U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WM5c4rLa8XUlbW0OA5GbGROj9SQhjEgDeULwzuBqhoK4ty4JzB3hL1tq7PggNdiRZ FU9HaRs8rWkHVJzYpiopHjAoOMBcKoCC0BoOnAOGIcDx3yTgOkJ3twg10zClr3MKf1 CbbLXf3bBtUV/1n4fdOBoDWhY2buXiDlQe+28xtg= 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 5.0 221/238] drm/radeon/evergreen_cs: fix missing break in switch statement Date: Fri, 22 Mar 2019 12:17:20 +0100 Message-Id: <20190322111311.357580593@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190322111258.383569278@linuxfoundation.org> References: <20190322111258.383569278@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 5.0-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 @@ -1299,6 +1299,7 @@ static int evergreen_cs_handle_reg(struc 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;