Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp436695pxu; Sun, 22 Nov 2020 14:07:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJzt+/nVKgWX503FHRxyHguBbkAlPgX5FabyPHAeZo6YccOfZALeHPLUsnDsGqjgUw0yNzDV X-Received: by 2002:a17:906:8485:: with SMTP id m5mr43395316ejx.205.1606082842152; Sun, 22 Nov 2020 14:07:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606082842; cv=none; d=google.com; s=arc-20160816; b=QXDeMEFmzsrfpqOM7Yz8wkseQ8q2miqEzzd7a/DddELTbwNGaZgiTOKmb+WY5Qvd6M l49kksoD3BrjE06X2SvUEjE3uDFtweaLjKHDfmTA5FLgdjQnUFbdytYmKgQ071lSn0E2 c59UtxfBYbQd8zjgldKXGR06QSIiEZ/MV8VgQG6wO3pBb/075qoOd3X8wa5+0jEJfZdf XWMBw64/jfaEvJBANdFElRsIjSR5ckbogy4kCgpkbJNP5iPwNlYHJYZfilVwOeFIc7pm vnBOULpyN0AqoT2OOWrD20YkWHdbWKsd7F4CkwdbPoZir8rpWWhwW+Ne72ncZGoWNfah qDxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=PcC39Jk7s9To0IX7sh9Tqc0R0bAmbRfGSR+1AiDgZvg=; b=cvQBtcetB5uNm3DVGQhH6qO98apX6cFb3vitqBfaYt99CYnT3jAGylfldO1IN5ILbb aJaznVTPCE86GFqmZb30mJjyJtOMWf2GxcC7aeXrhfilRhhm9k/KytZhmnwUmlQ9S0Td WgoqdRxjWtUfPO3s5n9Z5KTe3LNxWnf+3mGcep8GXbczYRJwIZ2h7Ex4WWiRXM/t+fqP SroEIcDaDoWsyq5mNgPU20rdJZ2jfOK2Yv4nsMmDlOwZrND+vqv3g9CvDFenVDId1uWq gmJcwap82DolxydLDvNVYitcXBeIBmXif/W/P0sXtW5ehY5dCSxMNcTAiEmgSeYgE60z 7zog== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h5si5766154edn.68.2020.11.22.14.06.59; Sun, 22 Nov 2020 14:07:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726698AbgKVWEC (ORCPT + 99 others); Sun, 22 Nov 2020 17:04:02 -0500 Received: from asavdk4.altibox.net ([109.247.116.15]:51190 "EHLO asavdk4.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725788AbgKVWEC (ORCPT ); Sun, 22 Nov 2020 17:04:02 -0500 Received: from ravnborg.org (unknown [188.228.123.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk4.altibox.net (Postfix) with ESMTPS id 11E5D80567; Sun, 22 Nov 2020 23:04:00 +0100 (CET) Date: Sun, 22 Nov 2020 23:03:58 +0100 From: Sam Ravnborg To: "Gustavo A. R. Silva" Cc: David Airlie , Daniel Vetter , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH 084/141] drm/via: Fix fall-through warnings for Clang Message-ID: <20201122220358.GB566387@ravnborg.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=VafZwmh9 c=1 sm=1 tr=0 a=S6zTFyMACwkrwXSdXUNehg==:117 a=S6zTFyMACwkrwXSdXUNehg==:17 a=kj9zAlcOel0A:10 a=iH7RfIX4AAAA:20 a=VwQbUJbxAAAA:8 a=e5mUnYsNAAAA:8 a=gTDArIOx2wuNTLb-19gA:9 a=CjuIK1q_8ugA:10 a=AjGcO6oz07-iQ99wixmX:22 a=Vxmtnl_E_bksehYqCbjh:22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 20, 2020 at 12:35:54PM -0600, Gustavo A. R. Silva wrote: > In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning > by explicitly adding a break statement instead of letting the code fall > through to the next case. > > Link: https://github.com/KSPP/linux/issues/115 > Signed-off-by: Gustavo A. R. Silva Thanks, also applied to drm-misc-next. Sam > --- > drivers/gpu/drm/via/via_irq.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/via/via_irq.c b/drivers/gpu/drm/via/via_irq.c > index 24cc445169e2..a3e0fb5b8671 100644 > --- a/drivers/gpu/drm/via/via_irq.c > +++ b/drivers/gpu/drm/via/via_irq.c > @@ -364,6 +364,7 @@ int via_wait_irq(struct drm_device *dev, void *data, struct drm_file *file_priv) > irqwait->request.sequence += > atomic_read(&cur_irq->irq_received); > irqwait->request.type &= ~_DRM_VBLANK_RELATIVE; > + break; > case VIA_IRQ_ABSOLUTE: > break; > default: > -- > 2.27.0 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel