Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3321108rwb; Fri, 16 Dec 2022 13:11:50 -0800 (PST) X-Google-Smtp-Source: AA0mqf7RVAoeL+FW7oc0BwjJyGjkES/3/A00niwJDD2n9MHVoVyvGzO9LxpmqvGh517PcXBrSgbl X-Received: by 2002:a05:6a20:6d04:b0:ac:706e:178c with SMTP id fv4-20020a056a206d0400b000ac706e178cmr37079487pzb.26.1671225110545; Fri, 16 Dec 2022 13:11:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671225110; cv=none; d=google.com; s=arc-20160816; b=Ur9TdFZH3BhPvca+GjujuPB9Ki2w4gm3tps+AH+FF0+YdjQHy9B2DoSGH2pjjPT0sA XNed3rddymFm6mvwL4E0qKNO6Drgz5kc/8oKfyz/PFt8cakt0hyP15Nd1UP/vyCzsdnR Al2NMJp6ENmwgZbBfQiM0vQo6hUN4B44a2HWF5Y1BPOMzxTlEAj5kBeTAMOL4SaAEO27 zMnFzjdZXWu7Gfad0CbCs6C4JIZL+lLDTfwlDqdhdKEWtxQ321+Q55/iThmu4G0UXZ1l iOkcJecqSFEV3bDZLVkiMcxIU2pWKbMsh0LFuuEAnUXA3KMwA0SDAEP53pbHjwggbiSx iHzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :from; bh=c2KHjDJnRC5YNTkIko/xmwvTQrr8KsSsneVhrPjuEbk=; b=bEsy1tAeaY86N317h9uaarPjIJf3Kq2VwLx5wQyZwtvVsgMy6+i/Sc1b7iD6r4F8ES QRdk5ZyxPDXOPWPHXnHliF40ajajKircuIZOkcmxeI+oVJ5JtGyB5Es7dS2Tfmsy1zmK tlZeB9xkhlG9b742lWxmVcgap7Fc71qbu4hUolqUAIRm35MEd8h5ryMWvGk+q7hiKU4+ FLjcEBgTgcJ2nAAdGtcesjGzvpNO/kMsON/PEHqvhf4PxCugr3nD0LDnh0KPO90RbhTT oVx6CTyymYtby5QNUhNgfP928OHZ40MfS1h/zZu7L8A+9VELsQzN4JWU0iM79ziD43ol d0EQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@toke.dk header.s=20161023 header.b="VHKc/0Nf"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=toke.dk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a67-20020a636646000000b004827ef5f0cesi3660560pgc.353.2022.12.16.13.11.38; Fri, 16 Dec 2022 13:11:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@toke.dk header.s=20161023 header.b="VHKc/0Nf"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=toke.dk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231874AbiLPVHI (ORCPT + 66 others); Fri, 16 Dec 2022 16:07:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229863AbiLPVHF (ORCPT ); Fri, 16 Dec 2022 16:07:05 -0500 Received: from mail.toke.dk (mail.toke.dk [IPv6:2a0c:4d80:42:2001::664]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18457DEFE; Fri, 16 Dec 2022 13:07:02 -0800 (PST) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toke.dk; s=20161023; t=1671224820; bh=axhudcVXxWeMFjRH00TDHWDe3TrhCw4MAqJ4cjCF7CE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=VHKc/0Nfg+89Ggfn/Rwm8IuZRYQDPGo4fNdcuZ2Svnb2a+lnyvgJgRCdQNVNje0tN vQY5MOxogiokXBfqj4H3rD7fPapGP7mAIG+/dozwtWR17y2ct7skL2gewbmRxUevM7 dlP7fqHf1iiUa9IPDonOwP+PBblEe0Jeq++RthiNqrhwNkMzw/2sjhsinjfDOmN1El yCbH2m0lcOUwWwsuh46C2TptFGcKpdhR3BwPnDpWiuXPlOkN02+WAKGQaKDVC8a7tX A+dnUjK1AZmMczNjBAIDTF+FHQcDuKXa8d3NBQ8o2wcp6RmeWLGQY8s5EfMq5SUZrt xYxP0dL7jqJ5g== To: Kalle Valo Cc: Arnd Bergmann , Pavel Skripkin , Arnd Bergmann , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Tetsuo Handa , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ath9k: use proper statements in conditionals In-Reply-To: <87359fkt1q.fsf@kernel.org> References: <20221215165553.1950307-1-arnd@kernel.org> <87cz8jbeq8.fsf@toke.dk> <87359fkt1q.fsf@kernel.org> Date: Fri, 16 Dec 2022 22:06:59 +0100 X-Clacks-Overhead: GNU Terry Pratchett Message-ID: <87v8mb9hxo.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Kalle Valo writes: > Toke H=C3=B8iland-J=C3=B8rgensen writes: > >> Arnd Bergmann writes: >> >>> From: Arnd Bergmann >>> >>> A previous cleanup patch accidentally broke some conditional >>> expressions by replacing the safe "do {} while (0)" constructs >>> with empty macros. gcc points this out when extra warnings >>> are enabled: >>> >>> drivers/net/wireless/ath/ath9k/hif_usb.c: In function 'ath9k_skb_queue_= complete': >>> drivers/net/wireless/ath/ath9k/hif_usb.c:251:57: error: suggest braces = around empty body in an 'else' statement [-Werror=3Dempty-body] >>> 251 | TX_STAT_INC(hif_dev, skb_failed); >>> >>> Make both sets of macros proper expressions again. >>> >>> Fixes: d7fc76039b74 ("ath9k: htc: clean up statistics macros") >>> Signed-off-by: Arnd Bergmann >> >> Acked-by: Toke H=C3=B8iland-J=C3=B8rgensen > > I'll queue this to v6.2. Sounds good, thanks! -Toke