Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp438128pxu; Sun, 22 Nov 2020 14:10:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJw8XxAYA88X6NVZ59n2nBVmRSFvwg4QgS9UKIe3Y+f9X3agqWoZ8f4IkUCqp3SCrFunNSfg X-Received: by 2002:a05:6402:2031:: with SMTP id ay17mr25922165edb.358.1606083035050; Sun, 22 Nov 2020 14:10:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606083035; cv=none; d=google.com; s=arc-20160816; b=fya9hLpkt7J3P3/N896tzxq/6JWNW70mUKIcJJVeatJTsowHPVjkfftzqVxqScz31z StWskhfdCAf8lVEXHY8Cji7QzILIWYzWbaUwMndI0bpN+wAJT/bd/0HXw5pXEC9cLSAK nyeBTdwjpybu3jazktvruf2my+IZl6rweSUyFy1XxzpJv2QeaGy8sjkkiSFAYmxgEPh7 M+donvR5zmwWkcZ0+QoNHMSUReIg04+FItvdOYaBqxSmUiza080mddLUqvsyP+yel7CH 3Xw7a4lqc9/tIwl4I5N60do0IWvfgvpE6xoIUHNBGJvVtgHsG59I/Gd1G64ebI/+rcV6 6SCg== 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=VyMlWcrJi+AjaF8h3+dnQlLMXKc8ksV51dEuFgVP7Ek=; b=vPCj68HJ1lTOWn8ot5VIOep22heuFYRRk60zRSr8tBa8Qd/8+C9LQhblEJqGSbUQ6o XMyIivDYyQ1Er1RHSzRKmTbwTbEfKEQ53lLpIYgIj2di6MU2RQN0JwimCtMI3ZvssWUX tBCJAHC8SiOG2/gmHHjR7hfWo4/gEoyU4l86YKm3MwIYxHi0ZOdGGyFLtt4FJCMMtzrj DJWuEI5IiSrXcLMFBVglZ/4p39zSVqcZsAhRX6wkIBQQE4lrQTDL3uAI+IujqSO5xeS8 401llgW/qQt6tFcOUUM3RNNb/OeuyH4vKXK/jiCBrk7CcM0g6XBM6ehq+DE/2f5m+UCZ /79w== 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 x40si1791898ede.441.2020.11.22.14.10.11; Sun, 22 Nov 2020 14:10:35 -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 S1726474AbgKVWFp (ORCPT + 99 others); Sun, 22 Nov 2020 17:05:45 -0500 Received: from asavdk4.altibox.net ([109.247.116.15]:51306 "EHLO asavdk4.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725797AbgKVWFp (ORCPT ); Sun, 22 Nov 2020 17:05:45 -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 D662A80567; Sun, 22 Nov 2020 23:05:41 +0100 (CET) Date: Sun, 22 Nov 2020 23:05:40 +0100 From: Sam Ravnborg To: "Gustavo A. R. Silva" Cc: Andres Salomon , Bartlomiej Zolnierkiewicz , linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-geode@lists.infradead.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH 134/141] video: fbdev: lxfb_ops: Fix fall-through warnings for Clang Message-ID: <20201122220540.GC566387@ravnborg.org> References: <9c1dcb12aae7c7ff0907ffb99ffd227656cbe444.1605896060.git.gustavoars@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9c1dcb12aae7c7ff0907ffb99ffd227656cbe444.1605896060.git.gustavoars@kernel.org> 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=qwgYBgRIEWy96sd6CT4A:9 a=CjuIK1q_8ugA:10 a=VlZU0XKO32wA:10 a=AjGcO6oz07-iQ99wixmX:22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Gustavo, On Fri, Nov 20, 2020 at 12:40:32PM -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, applied this and the following patch to drm-misc-next. Looks forward to have this warning enabled. One can only wonder how many hours will be saved by lettting the compiler tell you a break is missing. This is the kind of bugs you can stare you blind at. Sam