From patchwork Fri Aug 14 11:39:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 247723 Delivered-To: patch@linaro.org Received: by 2002:a92:cc90:0:0:0:0:0 with SMTP id x16csp295139ilo; Fri, 14 Aug 2020 04:43:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynw16evYBwSNMXD5sdU2p3sMEqFTmJbrRauCqmIx0AzXRpoiOVpJJnB7YbBrl0a5xFgFir X-Received: by 2002:aa7:dd94:: with SMTP id g20mr1747361edv.238.1597405434697; Fri, 14 Aug 2020 04:43:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597405434; cv=none; d=google.com; s=arc-20160816; b=qVTQQ1jpDusjIWRWKcixdVvsgDr/M8x/cC5ikkGuKWzhhqdEgwV7raM6A0mJ5qio9k e6LkrAjEBNHQS8fWVspQlpiOUosHD9Wov6p0djCgSlAPTVvUE2zRsnGLiPAz28y4ASqI 1mvxkUPlRv+iItESHWadoRvq2WqGB0LZCW7QyUcpACBeN1ZMwbguThG+AVpt+h4tE2jp aPbwypMhqWOCzip/u3tuI5iy0WbrR41fnSdt8tXT19im2YAI5MFk+DkITjw4Euwh3rsD Kls2Fz3ttstowQiWmUxfYc8fYvr6hv7vCbyuMDtzzijeh8KC35nwxaIVCxZJ3cuKNnJ2 ePvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=cxyYXnUUCZhHe8dpcSTNmo6M+HTgfG9I0aeJsix4sR8=; b=t33vNcNJpdV5HexMCYg5+oRZVQXU0eGo7yxFr0P3oiacHHilFKBadg+QF5zJHy1qOu ets5hrZpR20/f0SLKR27vOCPokZ8s3GnF+sy1z26OukNb/aQIBKOYw/zO0S2ibcgur4F sQnBy/lvppLgQvgpc2FAATm8hg7xc8v8utPdRC/oVBXO9Sk9alS+m3zuWdhRZpuzAzii kHaws+OjHMwGTVDawgyaRqWnJScpWUNGK32h0UkupoFF9egnDEe3cllcMuHDQYKSS3Jb c/eP8Bzrr+Dk1kzxXvyof8zsRoLV2ICNToOe2nyKGqKfZgbWgK19HzQev5Wo9YvsrcGO cKrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kOVFd+EK; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id lk1si5368616ejb.504.2020.08.14.04.43.54; Fri, 14 Aug 2020 04:43:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kOVFd+EK; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 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 S1727081AbgHNLnx (ORCPT + 2 others); Fri, 14 Aug 2020 07:43:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728156AbgHNLkB (ORCPT ); Fri, 14 Aug 2020 07:40:01 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0C62C061385 for ; Fri, 14 Aug 2020 04:40:00 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id 184so7676875wmb.0 for ; Fri, 14 Aug 2020 04:40:00 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=cxyYXnUUCZhHe8dpcSTNmo6M+HTgfG9I0aeJsix4sR8=; b=kOVFd+EKRHcOgiD8HFwFx0XNWvK5zXgOqGzWPcdwz7L45SP9KAQmTDuRgMEtDIWvWC KGy9FZZYUL0hSY1ceRAgUrsIPIdDQn+32RHicdNLMUHSBm3xElj7w47D3lnM8c0afIPG S7doL6pvSFEsK7TSBsbr64SJrCktcAl7x6l7C65t1dkMvqmvd8gC1eNKQOx5K5xJpb7b ysp+60MAN7Ox3BXtQNYCxDLOXGp3dPRn/1KCMDwnJ/xsv7XV1bMdfZ0U7PmHnIlo0aPM ONSPBgUPZLPHemsi/5HkM/Ah2dpCXv5IgY7DsVoFp1chYugRMuxkuEo64po9G+3khXp1 CCvg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=cxyYXnUUCZhHe8dpcSTNmo6M+HTgfG9I0aeJsix4sR8=; b=UJZqC24DKCHhsukM8Or5BKMm7+tmm/9ZSnGuIJW+k1S47AFTnflWnv/FWKMnQx+aIX tAGwXUP8O4Q/CzRanEhefxnDiJVm8yg4AuyuhC3iqOJPjaoUr5AZQLLHKqkkkeULwr4Z hfTNJxhK95qvUd4WO8h9r0Th6buVsdeugpwaKJO+0dHzMfkIuZ0aEVHdHfcyIYdRISVl lhTZidqctOx2xq2UTcE9Ni8cFa1/hMWJv0EJ+MWKcFW7qWIbmy8n0oHta66OSW2Fy4Yu 4aU6sR9m9xmbYfMST6gMoDSg4es3DZZpRAcMBmvo3OAHoSQ2NSb8sz1xIkANqxd8j0us 2uzQ== X-Gm-Message-State: AOAM5305ZdzT9BSQnk4szGYcvkMgPnq0YQEGpw2bq3OSjn3rAqr72re3 22tH93rGSxNVNPwgfQqq3GPE+g== X-Received: by 2002:a7b:cd97:: with SMTP id y23mr2284684wmj.21.1597405199406; Fri, 14 Aug 2020 04:39:59 -0700 (PDT) Received: from dell.default ([95.149.164.62]) by smtp.gmail.com with ESMTPSA id 32sm16409129wrh.18.2020.08.14.04.39.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Aug 2020 04:39:58 -0700 (PDT) From: Lee Jones To: davem@davemloft.net, kuba@kernel.org Cc: linux-kernel@vger.kernel.org, Lee Jones , Kalle Valo , Benjamin Reed , Javier Achirica , Jean Tourrilhes , Fabrice Bellet , linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH 11/30] net: wireless: cisco: airo: Place brackets around empty statement Date: Fri, 14 Aug 2020 12:39:14 +0100 Message-Id: <20200814113933.1903438-12-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200814113933.1903438-1-lee.jones@linaro.org> References: <20200814113933.1903438-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/net/wireless/cisco/airo.c: In function ‘airo_init_module’: drivers/net/wireless/cisco/airo.c:5663:21: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] Cc: Kalle Valo Cc: "David S. Miller" Cc: Jakub Kicinski Cc: Benjamin Reed Cc: Javier Achirica Cc: Jean Tourrilhes Cc: Fabrice Bellet Cc: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org Signed-off-by: Lee Jones --- drivers/net/wireless/cisco/airo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.25.1 diff --git a/drivers/net/wireless/cisco/airo.c b/drivers/net/wireless/cisco/airo.c index 316672486d826..8002a4268e03e 100644 --- a/drivers/net/wireless/cisco/airo.c +++ b/drivers/net/wireless/cisco/airo.c @@ -5659,8 +5659,9 @@ static int __init airo_init_module( void ) for (i = 0; i < 4 && io[i] && irq[i]; i++) { airo_print_info("", "Trying to configure ISA adapter at irq=%d " "io=0x%x", irq[i], io[i] ); - if (init_airo_card( irq[i], io[i], 0, NULL )) + if (init_airo_card( irq[i], io[i], 0, NULL )) { /* do nothing */ ; + } } #ifdef CONFIG_PCI