Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp436950pxu; Sun, 22 Nov 2020 14:07:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJz65yWyU2UNjYtN+089c1Igj1wmVimgmYGXzzd0vUQaCiWFwZe5Xmt7JJVxVbZ89ZQ+CYmp X-Received: by 2002:a17:906:b53:: with SMTP id v19mr9578431ejg.250.1606082872531; Sun, 22 Nov 2020 14:07:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606082872; cv=none; d=google.com; s=arc-20160816; b=0qzacc7m6GbFcQwsEs0yTPYHDk32rHw6FEVoFVSVaF/sv+tWqidnI0YkVoOfJRgHlk Y0ox1dMoWZm4puRR3x5uJFK19D+AnjAfM773Pd1uZDTAi2m6mEkE7+mhaQvjn1/SIQht n4KzqS8ocbfZPJwZ2n/56L+Aes+JhL/kYFTw/+Ti6Ri73566HGXMBi4R1RrScNqimsU6 HOQy5m2M+9PIleLZU2iY1mWgabEl1PQ/pWtb/FIE0028JAHfDDSmyKloBYrinNxlulIA fL7kqmjyvk8MTe4MYtuBss+fNcrSUOU/Vb6a9YFJJcAtOOefWnuZgE+TmJ70As4gSsbh fRZQ== 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=1EHeR/zajMcqkG6dNaosTT6ByMApuYej0+5Vibq2cxI=; b=yQacr4ZT0x2RiuTrZwzMqrvFvjj2gP+/BLNAYpaSHWOr76TFPi5PygpRjiDSlcbvap ybZremYNP+9BeJyc/WEQQYLyB2naDCx8OfH14N4KNgvSWeqCBJEHvR7G4aklBT7OA/qE ouF6G2Pms+jiI+h+TiU9OWTLfFWjhwQUzM9qNJkP4lF5YZ2eSbKG7duQDHXjlxVBL6Tj AfmFoK64d+JZvBKsIXpzpmnHVPj+GlfUE2G1YKc088TJ6zDlwQsupYBU5taKIOoWistk eyrfXEB4/XltfR9IHEZDkRlDWgfWstXJM4S9uhnCmRd4OOSCTMivSswGot72aC+EB5k9 fjEw== 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 l3si5376848edq.552.2020.11.22.14.07.30; Sun, 22 Nov 2020 14:07:52 -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 S1726360AbgKVWD2 (ORCPT + 99 others); Sun, 22 Nov 2020 17:03:28 -0500 Received: from asavdk4.altibox.net ([109.247.116.15]:51126 "EHLO asavdk4.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725788AbgKVWD2 (ORCPT ); Sun, 22 Nov 2020 17:03:28 -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 764E880567; Sun, 22 Nov 2020 23:03:24 +0100 (CET) Date: Sun, 22 Nov 2020 23:03:22 +0100 From: Sam Ravnborg To: "Gustavo A. R. Silva" Cc: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH 079/141] drm: Fix fall-through warnings for Clang Message-ID: <20201122220322.GA566387@ravnborg.org> References: <111e9d3d55c686892357aa5269022024b4d48330.1605896059.git.gustavoars@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <111e9d3d55c686892357aa5269022024b4d48330.1605896059.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=e5mUnYsNAAAA:8 a=ZN-qrr0goEvINV2_8DwA: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 Hi Gustavo, On Fri, Nov 20, 2020 at 12:35:17PM -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 to drm-misc-next. Sam > --- > drivers/gpu/drm/drm_bufs.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/drm_bufs.c b/drivers/gpu/drm/drm_bufs.c > index 7a01d0918861..aeb1327e3077 100644 > --- a/drivers/gpu/drm/drm_bufs.c > +++ b/drivers/gpu/drm/drm_bufs.c > @@ -77,6 +77,7 @@ static struct drm_map_list *drm_find_matching_map(struct drm_device *dev, > if ((entry->map->offset & 0xffffffff) == > (map->offset & 0xffffffff)) > return entry; > + break; > default: /* Make gcc happy */ > ; > } > -- > 2.27.0 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel