Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1487083pxb; Fri, 20 Nov 2020 10:38:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJzGs1QxDCLn4R/THks2rkwYlK51u37DMriPYVtQ3Ivnmczn8541Q/aUwkUXI9BBKZno+d4K X-Received: by 2002:a17:906:f752:: with SMTP id jp18mr32203373ejb.331.1605897497390; Fri, 20 Nov 2020 10:38:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605897497; cv=none; d=google.com; s=arc-20160816; b=H/b3DYKL8Su0KMA8XRX8FkIL9vTeYeV7rAKltlO0EnTUUMzgXx2mCb0T2Z/pNU3Lol H723iInLlIdR60A2kIhTTD3HK8PCQsV/aaz9AX9By1+M6cMkej5XShCaeZkWhPqDzRSW 5o1UmuXhNR4IGtiP8ZA8V/yEZ2ezJ9TwJGneFxJnEOIpvwVj2F4QkJu+465TsniS8MSk zZOFrZodoTXKNPLnH0QelKlRQo/TFozZrj23aO5RaZ1tHMUX0Ps8HiRAjG3hmkfX3CW1 rsivVc3IhCmsLY/eLbk+siZ/2lADDmaNHIO+w7wuaLvQs3gS36IdZK8zd76UggUMQl21 Gacw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=uCPiKOFD/6aAAaKu/xpAb0dfhja87qKhGS3Ym94S6b8=; b=SOs+uTlNJBTzEcaB+RHe4rPhBaaZ0mVCMkfoqGhWDuzoH+g4p443qdr7/1I6vE5vP6 NMmremLjKwUgQzvlq7QWJuaOrVqfMj1FLEOmMrUW3sPMRCAbLHxhglu4NqI5vaHcdYyS oAcfd65OF2UKP/v1eYEpkSwlXh7Ge6OfkcKggP41giwiLe4aoOyPl8zBMW9TDOgjYUHU +1KYkC+QhinVFVW0b+I9mtAad+1755/AUyWtry0zxbfWCGM5ztRRX+kP+4iptzlL4ob4 Ki6uVlDzoHiPbhfFxNQlJwYMzXhT5GL+WVam06PphroovoO1gidBHXNUvNb2RhqxzXPn MD5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=H0Fy85lg; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x18si2095578ejj.520.2020.11.20.10.37.53; Fri, 20 Nov 2020 10:38:17 -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; dkim=pass header.i=@kernel.org header.s=default header.b=H0Fy85lg; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730780AbgKTSft (ORCPT + 99 others); Fri, 20 Nov 2020 13:35:49 -0500 Received: from mail.kernel.org ([198.145.29.99]:54114 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728590AbgKTSfs (ORCPT ); Fri, 20 Nov 2020 13:35:48 -0500 Received: from embeddedor (187-162-31-110.static.axtel.net [187.162.31.110]) (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 A247424124; Fri, 20 Nov 2020 18:35:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605897348; bh=PfgbpPujrOUZOsNzF2s+j7V65mBZ80RT8Qxkmclb2Wc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=H0Fy85lgYLta6AufIkRoQgYGy6PMzr4LngilrFnAmevHSkK3apoutcpRAxTmZGKiW nTEpcVVxPj0qFCLjMStl9etnnluCXa8H32EYw5wFrP5oiy8tvp7x2ITCxnSpUap1GW CWTh4uhw6Ib9v84VY/ZJhvD16d4kK06uOSYzwYoc= Date: Fri, 20 Nov 2020 12:35:54 -0600 From: "Gustavo A. R. Silva" To: David Airlie , Daniel Vetter Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, "Gustavo A. R. Silva" Subject: [PATCH 084/141] drm/via: Fix fall-through warnings for Clang Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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