Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1053236imm; Thu, 13 Sep 2018 11:55:05 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYIDi6eqmaVZ3CldFelKqt/EiLLqbk3di1gwJ0h1P97KFRWlQdBuInOzNQ2kYuQB7iSIghK X-Received: by 2002:a63:9f19:: with SMTP id g25-v6mr8501292pge.39.1536864905888; Thu, 13 Sep 2018 11:55:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536864905; cv=none; d=google.com; s=arc-20160816; b=UvYDhi57Bg/1eWDwHdpGgEblw6Z9uNlcaCJOXvmGje3PsPQJRv+m87FMvncKM5JXLE G7jm/W2iOQ6wB4dYq5eE+rhknYOdccrkGKEwaI2NNjkp+BbHJ+NhOk13bnFf2YqaBndo DaSsAAvQpIO85//VYEylktLRlMyuGwKemKh3r/mx7UZoofdPYgeGw0ih0VWZsEUCgeky /v82WOgLKL01TmOU8p1CG7Dfvg2E4Fi68Am/fPtmZqPTk0s2c+91JT3hC04Q/gj7sCHx qKZtg7aRnrmSuD5I9kf/kQTYcSLoANtmIHqnN/Qa/qzpUHECeacQybdKFUcpq0Tt4Ipp csuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date; bh=R9kH7wP1GrVfW+2fDlICLtd7l9cpfs6i+anooNLO3l8=; b=ea6QMmX1W/Wf2KNXbfJwfTW/Or4fVn0aTV2WkGFBmQZchelgExCBKequTO/WG0cbI6 Ys2ZzZRox9oYSE79bHlRjHhT3R12hsWtbnyg3KNHJGlbrjnS/byI9wmvaW2vBR49lfZH +9CGAzayxkFlRiMiqwL3W8yDBClnvSPTW6qkz5Ws8i2zEZvQdC25dip0FNDye2oxp83h H1DcM1EFdrfu6i88vPiEjHD6i5MuB79ryEAhH6zDNZnbc5Q7aRjSer6eeeYLu/r3zmq9 MZX/FSY9Oz0UAW2B7D0MT1oqT3Eq6Y2w7RGENFN+O5zNsdyTOurxQsmNYFchZhJ7cboa uIHw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x7-v6si4834166pgi.465.2018.09.13.11.54.49; Thu, 13 Sep 2018 11:55:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728373AbeINAET (ORCPT + 99 others); Thu, 13 Sep 2018 20:04:19 -0400 Received: from gateway24.websitewelcome.com ([192.185.51.251]:20323 "EHLO gateway24.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727992AbeINAES (ORCPT ); Thu, 13 Sep 2018 20:04:18 -0400 Received: from cm12.websitewelcome.com (cm12.websitewelcome.com [100.42.49.8]) by gateway24.websitewelcome.com (Postfix) with ESMTP id CDACBEB05 for ; Thu, 13 Sep 2018 13:53:32 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id 0WjvgtDr4SjJA0Wk2gVIeG; Thu, 13 Sep 2018 13:53:32 -0500 X-Authority-Reason: nr=8 Received: from [189.250.119.25] (port=50952 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.91) (envelope-from ) id 1g0Wju-001pcy-Jj; Thu, 13 Sep 2018 13:53:18 -0500 Date: Thu, 13 Sep 2018 13:53:18 -0500 From: "Gustavo A. R. Silva" To: Dimitri Sivanich , Arnd Bergmann , Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Subject: [PATCH] misc: sgi-gru: fix fall-through annotations Message-ID: <20180913185317.GA1178@embeddedor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) 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: 189.250.119.25 X-Source-L: No X-Exim-ID: 1g0Wju-001pcy-Jj X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedor) [189.250.119.25]:50952 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 14 X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= X-Local-Domain: yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Replace "fallthru" with a proper "fall through" annotation. This fix is part of the ongoing efforts to enabling -Wimplicit-fallthrough Signed-off-by: Gustavo A. R. Silva --- drivers/misc/sgi-gru/grukservices.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/sgi-gru/grukservices.c b/drivers/misc/sgi-gru/grukservices.c index 0307690..4b23d58 100644 --- a/drivers/misc/sgi-gru/grukservices.c +++ b/drivers/misc/sgi-gru/grukservices.c @@ -634,7 +634,7 @@ static int send_noop_message(void *cb, struct gru_message_queue_desc *mqd, break; case CBSS_PAGE_OVERFLOW: STAT(mesq_noop_page_overflow); - /* fallthru */ + /* fall through */ default: BUG(); } @@ -792,7 +792,7 @@ static int send_message_failure(void *cb, struct gru_message_queue_desc *mqd, break; case CBSS_PAGE_OVERFLOW: STAT(mesq_page_overflow); - /* fallthru */ + /* fall through */ default: BUG(); } -- 2.7.4