Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp877865imp; Thu, 21 Feb 2019 13:09:44 -0800 (PST) X-Google-Smtp-Source: AHgI3IazWWIRO/kujTpqOhSrwoT+YI95qc9aonk12oGfSdoKgcGuLYlghnILXX92v3HAbk4DyYdk X-Received: by 2002:a62:4188:: with SMTP id g8mr508228pfd.205.1550783383937; Thu, 21 Feb 2019 13:09:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550783383; cv=none; d=google.com; s=arc-20160816; b=hTm25udQpmEC/NBfWTJwX7oIqPPSMBrYncmo2aAr05RVwOLBOcRJUNM6S+Klyu5bvA MeQRvn7R71dAbxNNBjLM+BN8TQRnkG/DpXvGlyX4S/qvLyyTrmzpG8tdbtZ3Qm58u4R5 Rr0vdyYKxN1g8e56VEejxWHawcV+7G01aokAteFqlOfdxAQe4hZH48beFnCg1XlvuYTd 14kt2J5koZqA3nh8O/jGizeb9IW1i8yuFqpGGIJWuoqcgMlQ/3JaqilhBiCI+0TKVuh1 SFuHPrbblsCQIWdB88xk53p1eXibJC48Lr6gVFGaXlEr60jGL/CjMd7xhPlv1ISyDJ5j fuHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=TTYmL1H0iu5pPbydjtrAiGnyCf3ukcpdoN96IF3qaBM=; b=NRhxFb1lam6w/KBNB94U9mfOjETlSOspaMcX5po6IWw1KqY7rYhvc5l6KCwZovM6qa SvMIKbr+hlEezwm3u0OYkxUHeNoZd2HK/xufVIeyylX3Pw630aI3obNqD5TunSPPgwfP HGrgH0qzGPZe25jPnzTJbpB86KpAF55xTsecOs+4bTCXrYNeiyAWStZsx5A9+1KSmA53 H7cl6WQ4WndHitoYnlSoE+CLv+vHCz+zOhWCyF8kggDBlYRdUBEKsYYuh3wNvTky4fvc rWpH4iS9cHxU1AJpwtcK37YA1CGql9uNIePeYprQ12rmYXAjQxNhJuG1OhOA9Gmsk7oz iU3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=UuMj1Xtu; 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 j6si14026207plt.179.2019.02.21.13.09.27; Thu, 21 Feb 2019 13:09:43 -0800 (PST) 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; dkim=pass header.i=@ziepe.ca header.s=google header.b=UuMj1Xtu; 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 S1726656AbfBUVJF (ORCPT + 99 others); Thu, 21 Feb 2019 16:09:05 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:44617 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726172AbfBUVJF (ORCPT ); Thu, 21 Feb 2019 16:09:05 -0500 Received: by mail-pf1-f196.google.com with SMTP id a3so4530336pff.11 for ; Thu, 21 Feb 2019 13:09:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=TTYmL1H0iu5pPbydjtrAiGnyCf3ukcpdoN96IF3qaBM=; b=UuMj1XtuApSGC7LeTk6i5UXPkP8xnfYrgS3RBS1fp/iuYxebshp5xAVkqZgV3QRA6d 9DaqtlnhDMejwjC0BrFux15Fi4df+u0VgzlgcZVwYF47di2b2A8ZMGllg4RPNe+bw/kW d2/4utk1GuRzVzAEcdeWcl6LjfHR2x745oC/VCN2rTuaoQEoP8RP17vd49u8atUvHreu Ux07XttsTQ8xmsZwzo9ICofRkFEUPrNHyoAp8oIL7Wk4JYO89aJpXkK8k5UZuVd7WtF5 8tTQbgTzEx5lMGeO4/EwOfG7bip75ru6w3l56iUJh39V87AanqKxXlvVYW68cWYRytSi 7CKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=TTYmL1H0iu5pPbydjtrAiGnyCf3ukcpdoN96IF3qaBM=; b=g7up+XLGT03nXSFky0tkhhRq9a7XosxpwlCMRNORX1zrqKqrZOTAPVea1KuEyMQWl0 bZ+stDCzM7nrp9Och3AX+5vFHIn8+iyeDGT5SGstYYKGqGnY++nM7j93QPHMLBw6av6g 0Ycu9JMwbbWRL2ytJwxKR/ZpGdUN0hZIlWRooYpXYrMeQtfgXUNd7RyyTUlpHBocJ2Xh fNt10T/mUXziOtD7TfT7A0DZc5B86hNNZ5Ct2CHxYd7doc+RYs95oYRsBrEYao+0dfK3 ZI/35sruvXASr0wq5ivcq9ANlgsd96Ppd1ZY5K7qUPVDnCTNmkg3u30tC5erztZl9eUi NfdA== X-Gm-Message-State: AHQUAuaWspiJUoNiZTGQ2z9aT2/WdtzLFyDrk8Ff82pHCfbuS6K5C5Qp sVl1on4peQX8+//uuzUTsee1rw== X-Received: by 2002:a62:4641:: with SMTP id t62mr498372pfa.141.1550783344302; Thu, 21 Feb 2019 13:09:04 -0800 (PST) Received: from ziepe.ca (S010614cc2056d97f.ed.shawcable.net. [174.3.196.123]) by smtp.gmail.com with ESMTPSA id y21sm27365230pfe.57.2019.02.21.13.09.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Feb 2019 13:09:03 -0800 (PST) Received: from jgg by mlx.ziepe.ca with local (Exim 4.90_1) (envelope-from ) id 1gwvaY-0006Wr-LX; Thu, 21 Feb 2019 14:09:02 -0700 Date: Thu, 21 Feb 2019 14:09:02 -0700 From: Jason Gunthorpe To: "Gustavo A. R. Silva" Cc: Kaike Wan , Mike Marciniszyn , Dennis Dalessandro , Doug Ledford , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, Kees Cook Subject: Re: [PATCH] IB/hfi1: Add missing break in switch statement Message-ID: <20190221210902.GA25062@ziepe.ca> References: <20190221010233.GA29228@embeddedor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190221010233.GA29228@embeddedor> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 20, 2019 at 07:02:33PM -0600, Gustavo A. R. Silva wrote: > Fix the following warning by adding a missing break: > > drivers/infiniband/hw/hfi1/tid_rdma.c: In function ‘hfi1_tid_rdma_wqe_interlock’: > drivers/infiniband/hw/hfi1/tid_rdma.c:3251:3: warning: this statement may fall through [-Wimplicit-fallthrough=] > switch (prev->wr.opcode) { > ^~~~~~ > drivers/infiniband/hw/hfi1/tid_rdma.c:3259:2: note: here > case IB_WR_RDMA_READ: > ^~~~ > > Warning level 3 was used: -Wimplicit-fallthrough=3 > > This patch is part of the ongoing efforts to enable > -Wimplicit-fallthrough. > > Fixes: c6c231175ccd ("IB/hfi1: Add interlock between TID RDMA WRITE and other requests") > Signed-off-by: Gustavo A. R. Silva > Reviewed-by: Kaike Wan > -- > drivers/infiniband/hw/hfi1/tid_rdma.c | 1 + > 1 file changed, 1 insertion(+) Applied to for-next, thanks Jason