From patchwork Thu Apr 5 11:51:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loic Poulain X-Patchwork-Id: 132856 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp6190809ljb; Thu, 5 Apr 2018 04:51:55 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+5go9W2NpJIYQW1W0wjU22maCCuvuzx7N4Et2PFXcueZUl4BfhtuUiNV6M1l2LNy/dS8lN X-Received: by 10.101.82.10 with SMTP id o10mr14684165pgp.148.1522929115718; Thu, 05 Apr 2018 04:51:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522929115; cv=none; d=google.com; s=arc-20160816; b=r724eDoqFtXaKrPIt12Lq7609dU4i3y/e20FzF+W2dD4B2Ln8qwtyoVBokDh+a0/IX 6qA/rCjpqo3gsG22Qh/sfzs976KA0GHQ7i5np6hZ75Qv0tuMGc8LpWudcp5dbXk9SPsi fmZ5MzXuEssGGCeyBVu68gKLyKEoWAwTrqiC1lPLkf9A+R/s5iUg+PftjVAII8JOA0R1 V38hZPCc3J8fuIMtC2XmLlCJGjCxut9mlF93Zx4C/TpxVH+h9aL6/hr4CvVBgT+MB0Bd CXAvj2m0Xu5IiNb7C2mLiDdFVWV8nRWRoZhJeOqGJVvFqGQqfIkMvEEMze27Gaq0l7Bd ZwTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=jhArpHhXZAyjzqlZeXMm5yAzP31gRjf4npWMCs811No=; b=WMudgUR6VipAMSL0BWtIx+0vG+xSYjr547B6bWYehDXyACXRKipIlbGG0KKH2SbK+M v+cW+nbxEXakXYQagYUUoONnTVVMomq4TtDs/mfrUgjMafc5/6kAH+OXzNBVC8tX6F2X sJQrFcHV7jK9xJnd9OnNDXMFp5IXOjWnom+3xV6k7jpcXdGP0Uivy3bzjgy8KivgoapN QZVZR2m9SxS2jrs7FElTs1pOlLMfPCb6PIbs62Y0x5JqhfDPeQT3Q30LCHo0PxvLQchp ewssBwIiAguB+gK+phrt/XSMvEPjITXvFaBP7A2mOE5nm/MvfNKkt81PIPFS2rmoLY2C N0PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ECfFj90e; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 204si5290861pgf.771.2018.04.05.04.51.55; Thu, 05 Apr 2018 04:51:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-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=@linaro.org header.s=google header.b=ECfFj90e; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751603AbeDELvx (ORCPT + 3 others); Thu, 5 Apr 2018 07:51:53 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:34349 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751562AbeDELvw (ORCPT ); Thu, 5 Apr 2018 07:51:52 -0400 Received: by mail-wr0-f193.google.com with SMTP id d17so12519477wre.1 for ; Thu, 05 Apr 2018 04:51:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=jhArpHhXZAyjzqlZeXMm5yAzP31gRjf4npWMCs811No=; b=ECfFj90eWNmLh03GtsMD3eO9w/eryrH8NcExdUuJ6exWKgS7OogC9l45t9EKX7bIJe stxjm7VJdTVx1y5k2lvZVR01MvhiRg8pHzz4l/cg0+ZsyNsMgtdHqXMPTBNF8LQa8SWZ C81Pj5cbxZh/jivQHvFs9ZBHQlMJaf1xXpk2o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=jhArpHhXZAyjzqlZeXMm5yAzP31gRjf4npWMCs811No=; b=llmJRKiQD4UGEn8X1m9J+y+Gqmogi3RLFRVf3gWW87APQi612eCARLCeXaYUIV1447 MINgGE7TWT9ED4Knn+dTlAbpHJTZXDZylMVz4c8nSg1bGcy633ZZGcVgvs5ua/lyto4X vGp2JGwrfDLTZ3pYYIdh70FojnJR8T0hz+kwUpM3FcyT9Ds64XgxBuaThufwI45zsB97 RPJaGv4gCUgCUIpMa40q3V3XaRn/hO+1UtUBrYb3JLdrBg7P/CvhWSDOABIFAO8WaQGw yPkPABoYhFO4qYfm3ZQ4tOF+XFNqLnkiNKhTVsHe0Yw0lgpOK6kB+mrhN3r3AlBvlNJA hysg== X-Gm-Message-State: AElRT7FCEIVyCYqsogCQAUZYjDrgISLCL1oOwQ0oyNySO6k1BRcvwF0P rB2VuMbU9FXaMJp9piLJdiINPg== X-Received: by 10.223.154.182 with SMTP id a51mr17825331wrc.176.1522929111597; Thu, 05 Apr 2018 04:51:51 -0700 (PDT) Received: from lpoulain-ThinkPad-T470p.home ([2a01:cb19:8349:a800:45d6:3d08:b8a8:5c4e]) by smtp.gmail.com with ESMTPSA id m126sm7248846wmf.43.2018.04.05.04.51.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 05 Apr 2018 04:51:51 -0700 (PDT) From: Loic Poulain To: kvalo@codeaurora.org Cc: linux-wireless@vger.kernel.org, wcn36xx@lists.infradead.org, dan.carpenter@oracle.com, Loic Poulain Subject: [PATCH] wcn36xx: Add missing fall through comment in smd.c Date: Thu, 5 Apr 2018 13:51:49 +0200 Message-Id: <1522929109-23271-1-git-send-email-loic.poulain@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org This prevents GCC warning. Reported-by: Dan Carpenter Signed-off-by: Loic Poulain --- drivers/net/wireless/ath/wcn36xx/smd.c | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 Acked-by: Bjorn Andersson diff --git a/drivers/net/wireless/ath/wcn36xx/smd.c b/drivers/net/wireless/ath/wcn36xx/smd.c index 7cc2928..7b79e0b 100644 --- a/drivers/net/wireless/ath/wcn36xx/smd.c +++ b/drivers/net/wireless/ath/wcn36xx/smd.c @@ -2135,6 +2135,7 @@ static int wcn36xx_smd_hw_scan_ind(struct wcn36xx *wcn, void *buf, size_t len) switch (rsp->type) { case WCN36XX_HAL_SCAN_IND_FAILED: scan_info.aborted = true; + /* fall through */ case WCN36XX_HAL_SCAN_IND_COMPLETED: mutex_lock(&wcn->scan_lock); wcn->scan_req = NULL;