Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3511479pxv; Mon, 12 Jul 2021 19:59:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzqpsDPKFYLxtMABYJIn61wBzcDC5MtESUNIl1k24+NSj84MJBSCF/8M9ZtdeCTdUya34fl X-Received: by 2002:a92:6902:: with SMTP id e2mr1374996ilc.275.1626145192891; Mon, 12 Jul 2021 19:59:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626145192; cv=none; d=google.com; s=arc-20160816; b=QxnmY/y1gjRNKKpGnH6akyQ+npMojmZbWntUtN9r6GTKaQwX0sLv15hRF3ZIlUg+LK +q3VSFxZPz3z77LNTkFNtWfNVnLJzzLOXcpikKf51SwXs6gNcFxztkUjpAOLqO1wRV/R HUOUH8dyPn7y9+pU7UpiTTLBY3zTGAFU1P/olAW+QujZoxo2zioWZ6snq8BNbCqwRwwD VInpOL9OwrtcC3hoyC0Gsst6cULPRvchTaWFzncV9PxGzfI+DZkH0joriSEd19gLh4Up Qj1DKWbP0JRQuluXu06u4y2tM1K+uYrayS/BRIkcp2RzLR/wbSTuRcGTtGOWvXdvcYBv 1Q+Q== 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:references:cc :to:from:subject:dkim-signature; bh=wpv8psm02uZEIzGe4pfHvQI+mzbvtCWaDHm6UbEsKjo=; b=IMmNVKINKQvxxdZ50Z9B5K3pyI73nlhRRVtp+j4ukAupXiUV0IdmqvAYeub1Xccizl rH+RYwcIDWToMyjfyqURp2UkiR2gU8qFPAS81+9JKNuAFnqZlB32upAVgob28MPQkwOr 7Sn4Yy0jfVj+sWp++XdV0LJ8WBeazGWRiQlc3JJbIwB0lWnwd6p5qEYQ4y1cV4wKnZBm gUHz/wH2aA4JzmIjfC3l03oxAU9PkeRrR34qDqgBFbAvYuvOhzvp7l1loG2dyitCvi96 VSB0VnDv89Qq8Ze9M8MZaiDXW1t27+qckXShqUTNU24RK41q9fPolcNeufSCwIYda3r1 RLRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@embeddedor.com header.s=default header.b=Xy0fNMGC; 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 r18si1111050ile.92.2021.07.12.19.59.40; Mon, 12 Jul 2021 19:59:52 -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=Xy0fNMGC; 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 S233242AbhGMDBH (ORCPT + 99 others); Mon, 12 Jul 2021 23:01:07 -0400 Received: from gateway31.websitewelcome.com ([192.185.143.31]:14660 "EHLO gateway31.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229604AbhGMDBG (ORCPT ); Mon, 12 Jul 2021 23:01:06 -0400 X-Greylist: delayed 1234 seconds by postgrey-1.27 at vger.kernel.org; Mon, 12 Jul 2021 23:01:06 EDT Received: from cm16.websitewelcome.com (cm16.websitewelcome.com [100.42.49.19]) by gateway31.websitewelcome.com (Postfix) with ESMTP id 4ABD1ED7F7 for ; Mon, 12 Jul 2021 21:37:41 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id 38Inm6OBtpGxH38InmPlVG; Mon, 12 Jul 2021 21:37:41 -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:References:Cc:To:From: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=wpv8psm02uZEIzGe4pfHvQI+mzbvtCWaDHm6UbEsKjo=; b=Xy0fNMGCoGgpSiPCxIEYNcFbUF 8OblOSuek7fviIUlxqlv/XmRV6oUcmBAgWXJGPhLSn9zE2wG/xcJPuVH9xUkUWYf9m+sPv9m/b4HK BO+UXIqgHswD+SBV1v5m/L6n332Y85uiGjll4w93JOED1tOAyK+74AKqElfXrJcTqwlotBo6RSepu gI5bYF2Z2IWSpIuSAbjFToQBMWreO93Ysma6gtKZJLiRmbHXgg6tyALvZi72g2TDhnfQgI+Ai14zr UYnUymVjAqN/guLbI62QUh1nJtuXPL/UVsXdVG2UCPz0eMSEfeyGY2w9MZUN/VbDcL7FU6GzmUy+M ksm2zJfw==; Received: from 187-162-31-110.static.axtel.net ([187.162.31.110]:36036 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 1m38Ik-000fX5-Th; Mon, 12 Jul 2021 21:37:38 -0500 Subject: Re: linux-next: build warning after merge of the kspp-gustavo tree From: "Gustavo A. R. Silva" To: Stephen Rothwell Cc: Kees Cook , Jonathan Marek , Rob Clark , Linux Kernel Mailing List , Linux Next Mailing List References: <20210713102230.728b4899@canb.auug.org.au> <26f2ec3c-35ae-4361-62a4-ad0a84fc2399@embeddedor.com> Message-ID: <8242dd71-57ad-1c69-900e-db1773be643e@embeddedor.com> Date: Mon, 12 Jul 2021 21:39:45 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <26f2ec3c-35ae-4361-62a4-ad0a84fc2399@embeddedor.com> Content-Type: text/plain; charset=windows-1252 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: 1m38Ik-000fX5-Th 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]:36036 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 5 X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= X-Local-Domain: yes Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Stephen On 7/12/21 20:10, Gustavo A. R. Silva wrote: > Hi Stephen, > > On 7/12/21 19:22, Stephen Rothwell wrote: >> Hi all, >> >> After merging the kspp-gustavo tree, today's linux-next build (arm >> multi_v7_defconfig) produced this warning: >> >> /home/sfr/next/next/drivers/gpu/drm/msm/msm_gem.c: In function 'msm_gem_new_impl': >> /home/sfr/next/next/drivers/gpu/drm/msm/msm_gem.c:1170:6: warning: this statement may fall through [-Wimplicit-fallthrough=] >> 1170 | if (priv->has_cached_coherent) >> | ^ >> /home/sfr/next/next/drivers/gpu/drm/msm/msm_gem.c:1173:2: note: here >> 1173 | default: >> | ^~~~~~~ >> >> Introduced by commit >> >> d12e339044a0 ("drm/msm: add MSM_BO_CACHED_COHERENT") >> >> Presumably exposed by commit >> >> 73ffc61f4a8b ("Makefile: Enable -Wimplicit-fallthrough for Clang") >> >> though I am not sure why since I am building with gcc. The first >> commit above introduces a new use of /* fallthrough */ > > We have previously adopted the new pseudo-keyword macro fallthrough; So, > we want to avoid having more /* fallthrough */ comments being introduced. > This is also being enforced by commit > > 73ffc61f4a8b ("Makefile: Enable -Wimplicit-fallthrough for Clang") > > for both GCC and Clang. > > So, the fix for this issue is merely to replace the /* fallthrough */ comment > with fallthrough; I've already added a fix for this to my -next branch: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git/commit/?h=for-next/kspp&id=e181ad43887c6b6b5995e9b191666f04242d77eb Thanks for the report! -- Gustavo