Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp813070pxj; Thu, 3 Jun 2021 21:45:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtf6+CTNUhoeIV2111TJUJDX3Dwnt2SXalMMIu7FhsiDTHpm6icdRoQL4oWsGS1+t6xLqh X-Received: by 2002:a17:907:c02:: with SMTP id ga2mr2383818ejc.513.1622781923559; Thu, 03 Jun 2021 21:45:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622781923; cv=none; d=google.com; s=arc-20160816; b=qamTuPiVVFinxLbDA+/+dqRDUrkjCnof+hElIE9jQmiLTy2SiScRb8/ZrweBqv80CW xMDxt65J1lwuGZuYGqh0WjA+b9Z0h+c/gPJNn7gVRCS3xNapVKrsaUKIKz49f9ObcGyO XRuq/Osz1HLWfxf0y4B9Te19Poo4oo6uGs7bgdqSt/qbuWmfBI9b9toNklJ+pfDW/To7 uoE+K9/Jbsptx7WUtLqb0WZRr2Sn2Q7N2f+RdE/tfM8KQX7+H4PJO9JRq9Yg7jdb2kt9 E5yt7S4OCDkUVtNX7snLefcyDJCiecC6xA/aq7JB5ST+j0tlsJL9VJEI+n1O7A8o1Yn6 mAcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=WUbFs4l/NELE7dFRXcq71zunFdruCbu0ZwcaXi35V/E=; b=H5fxIL2rv1DhRvHLcSy/ZKEjzxMC8yR9I8C57jW9RQU3SlQm+nT6WYd1Ry697uTjhv 7mslInKkwDRGF6I3Y/A7hVIhJXW8Xpd/vjgBDeMevCE9IzpG116DWMuwP7OPJBNUjpCj ksofAF+7NmNqVoUH9scFJRqAOVYSdrzWEVCqB8VpFHLT4px5FlpQnVKtmWxFUuy+S0Bq wJRNH+lFNDtX8/Zv0xFOugG79aGOo+kvY2VyDQcx4rKIU8QxwRVtlmKN6TOYxyj9BgRo ErvAOuN72X9CRTRmZTSLqq7MZHUlyuKe+FmPR2f95zQIkoY4mDv6jv6dP5jHXFvYGc4k h9qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@embeddedor.com header.s=default header.b=wgBjjVNP; 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 wn12si3991622ejb.563.2021.06.03.21.44.48; Thu, 03 Jun 2021 21:45:23 -0700 (PDT) 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=fail header.i=@embeddedor.com header.s=default header.b=wgBjjVNP; 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 S229573AbhFDEkz (ORCPT + 99 others); Fri, 4 Jun 2021 00:40:55 -0400 Received: from gateway20.websitewelcome.com ([192.185.54.2]:28061 "EHLO gateway20.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229452AbhFDEky (ORCPT ); Fri, 4 Jun 2021 00:40:54 -0400 Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway20.websitewelcome.com (Postfix) with ESMTP id 83EF4400C7E0D for ; Thu, 3 Jun 2021 23:01:17 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id p1E9lhHmD8ElSp1EAl2HaH; Thu, 03 Jun 2021 23:14:34 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=embeddedor.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=WUbFs4l/NELE7dFRXcq71zunFdruCbu0ZwcaXi35V/E=; b=wgBjjVNPCkok0UCq/v0n0KUt93 z7wslZ5GAsi98PjY1S5heo/+n8OUt7AzN8cdzKTJke5/ujt8/YxsMrB1oM1lt+0Fi7F/ujXeNakhY s8lVCOZEhAa07uC/CZE5CbQ09ebhw8J89tYiN1X7Jt55p5KJ6T4uFGoQu5cs5LDJfv66FgC7S9d5Y zdA/7J4MwIDdNx3ET+eE0fnAZ6rxHyMdgAp/4ous9batzjdXM2okRzqf4UzotfxVOJiY+R0AmvJ6l knriC1YkG/stZ5jJfTzNlGXyIb0k8s33mgEchGHJVLgUFtTXPwehRYNG5VQ7z8J1L8EIPzmbO3rWZ lfTJFCBg==; Received: from 187-162-31-110.static.axtel.net ([187.162.31.110]:34412 helo=[192.168.15.8]) by gator4166.hostgator.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1lp1E6-000sgw-FB; Thu, 03 Jun 2021 23:14:30 -0500 Subject: Re: [Nouveau] [PATCH RESEND][next] drm/nouveau: Fix fall-through warnings for Clang To: Karol Herbst Cc: "Gustavo A. R. Silva" , Ben Skeggs , David Airlie , Daniel Vetter , Kees Cook , nouveau , LKML , dri-devel , linux-hardening@vger.kernel.org References: <20210305095657.GA142006@embeddedor> <79ff569a-5828-ef21-538b-12d07d34a4ff@embeddedor.com> <1ec627af-514e-b24a-da88-13eb561ccb15@embeddedor.com> From: "Gustavo A. R. Silva" Message-ID: <8e6f426f-0234-a5df-08ec-b6a97a78c2da@embeddedor.com> Date: Thu, 3 Jun 2021 23:15:37 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4166.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - embeddedor.com X-BWhitelist: no X-Source-IP: 187.162.31.110 X-Source-L: No X-Exim-ID: 1lp1E6-000sgw-FB X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 187-162-31-110.static.axtel.net ([192.168.15.8]) [187.162.31.110]:34412 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 8 X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= X-Local-Domain: yes Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/1/21 19:10, Karol Herbst wrote: > all three nouveau patches are > > Reviewed-by: Karol Herbst > > and I don't think anybody would mind if those get into through other > trees, but maybe drm-mist would be a good place for it if other > patches involve other drm drivers? No other person has replied after pinging multiple times and resending these patches, so I guess people don't care. I'll add this and the other similar patches to my -next branch for 5.14. Thanks, Karol. -- Gustavo > > On Wed, Jun 2, 2021 at 1:16 AM Gustavo A. R. Silva > wrote: >> >> Hi, >> >> Friendly second ping: who can take this? >> >> I can add this to my -next branch for 5.14 if you don't mind. >> >> JFYI: We had thousands of these sorts of warnings and now we are down >> to just 23 in linux-next. This is one of those last remaining warnings. >> >> Thanks >> -- >> Gustavo >> >> On 4/20/21 15:13, Gustavo A. R. Silva wrote: >>> Hi all, >>> >>> Friendly ping: who can take this, please? >>> >>> Thanks >>> -- >>> Gustavo >>> >>> On 3/5/21 03:56, Gustavo A. R. Silva wrote: >>>> In preparation to enable -Wimplicit-fallthrough for Clang, fix a couple >>>> of warnings by explicitly adding a couple of break statements 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/nouveau/nouveau_bo.c | 1 + >>>> drivers/gpu/drm/nouveau/nouveau_connector.c | 1 + >>>> 2 files changed, 2 insertions(+) >>>> >>>> diff --git a/drivers/gpu/drm/nouveau/nouveau_bo.c b/drivers/gpu/drm/nouveau/nouveau_bo.c >>>> index 2375711877cf..62903c3b368d 100644 >>>> --- a/drivers/gpu/drm/nouveau/nouveau_bo.c >>>> +++ b/drivers/gpu/drm/nouveau/nouveau_bo.c >>>> @@ -443,6 +443,7 @@ nouveau_bo_pin(struct nouveau_bo *nvbo, uint32_t domain, bool contig) >>>> break; >>>> case TTM_PL_TT: >>>> error |= !(domain & NOUVEAU_GEM_DOMAIN_GART); >>>> + break; >>>> default: >>>> break; >>>> } >>>> diff --git a/drivers/gpu/drm/nouveau/nouveau_connector.c b/drivers/gpu/drm/nouveau/nouveau_connector.c >>>> index 61e6d7412505..eb844cdcaec2 100644 >>>> --- a/drivers/gpu/drm/nouveau/nouveau_connector.c >>>> +++ b/drivers/gpu/drm/nouveau/nouveau_connector.c >>>> @@ -157,6 +157,7 @@ nouveau_conn_atomic_set_property(struct drm_connector *connector, >>>> default: >>>> break; >>>> } >>>> + break; >>>> case DRM_MODE_SCALE_FULLSCREEN: >>>> case DRM_MODE_SCALE_CENTER: >>>> case DRM_MODE_SCALE_ASPECT: >>>> >> _______________________________________________ >> Nouveau mailing list >> Nouveau@lists.freedesktop.org >> https://lists.freedesktop.org/mailman/listinfo/nouveau >> >