Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3262736rwb; Fri, 16 Dec 2022 12:18:13 -0800 (PST) X-Google-Smtp-Source: AA0mqf6GFRsvd/KDfQ+gVXdtUcE6Uo60bv6u1wFhn9uZ5C81IMx9HMupjQRXC2IOqdDNfiJeLlbN X-Received: by 2002:a05:6a00:e8c:b0:575:f349:5971 with SMTP id bo12-20020a056a000e8c00b00575f3495971mr28161831pfb.33.1671221893315; Fri, 16 Dec 2022 12:18:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671221893; cv=none; d=google.com; s=arc-20160816; b=n35vOb//VMcmpCpiEEELXbj+VUtGVZKZ4mafPmpyhgaQuWdvvZX1ZLqBakM873ZpXp OdusQyLQrhtzTpQRZJQAizhL9B2IvbqSHeJ73AW5ZnTMCrde1JFmBXh7PjZuh7pLTH7Z gwaQMVTUC0Z5MmqEKUSV0BBR7pp0czFlwul00zQQBpeYdfhX2EA73etx84uYPfEcf4u6 xtnqQxvqQEbNPkrUED1Qd5yX79pRiimwHhCZdFORtiREv1edNZtnC0rjs1Y9DQuYZhPC Z1dmLtt0RTLZJXXCyv5/+qp+3MW3ALdOo3JmWP2SoCYR9W2+ypbtUXONVaHV7B/T7WhX lkww== 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 :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=EecW23NK707f617f+kr6mAq3Bq55D4plF65jSkB/cME=; b=W1/mKN0wXQXXgfinxB9saY3JUkRRSwC0IONw8lx/l1KzkoMi59hnk7EQnVmj8S7zze 9oxsx5stc0O75O6fFqZjkVTCVftFJixeGtm78sS5fUE7yJvwY2Mrz2tLa8gWaKSv1tSh DkYhVTSu5UgqAeWCMKOWrBGpgz1UGHIEAYjBPzFAsXvH5QBHmTLHeS9eM+m7fL90ocKI q1Chd8Nu5n96EYIeOf4w1Ad+0SH1IrMTuhFMGGuKS3cXQS8bXh4RS9DFsET7idk4zBCJ 866QLKMAhKpHo1sGgHHE0tPt3t0Xxl4hSevRpEJ1sCKlR4ohEhbHPFIiW7y+MKqHVmQR +Xyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iFQs0uGz; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q12-20020a056a00150c00b0056ba98afe0dsi3741424pfu.75.2022.12.16.12.17.43; Fri, 16 Dec 2022 12:18:13 -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=@kernel.org header.s=k20201202 header.b=iFQs0uGz; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231678AbiLPULl (ORCPT + 66 others); Fri, 16 Dec 2022 15:11:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230448AbiLPULk (ORCPT ); Fri, 16 Dec 2022 15:11:40 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26AA032B82; Fri, 16 Dec 2022 12:11:39 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C3A9EB81DFF; Fri, 16 Dec 2022 20:11:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 359ADC433EF; Fri, 16 Dec 2022 20:11:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1671221496; bh=c36cyYZ6f9o0WhZCEckS0zAx9IQ/4jg44Mug8y2mRQU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=iFQs0uGzwd6R1tS+LzZe4DWr011uE8YAZeSx+qLLd1tjTLz5I29/zRqumOrv9DMwg yXdPXhzPgS2PLcjkMqri/HDiFuC0CNwkkIAD3i7y41TK1aQK6FqFqNkmXv1pf5U9Y+ mVZ9BuNNndHYesCrnZG3g+TziBTW4G4kdJbBeubuSIfyhrvdEwPnqtwQJjjTXacUdp r6oqm2XNchVhXqfqmIBQjaL6I2/ca/ynMqEfgbifWYnidZlT9tHlunAbnzptNjTP13 Rk6hGIWXR4mIGQiweb0SiSNhQa4Y0aYcIfMR7RLggD8Vnx9E63MNUJHZ2qR9DABAG/ E//NS/7qZtcjw== From: Kalle Valo To: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= 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 References: <20221215165553.1950307-1-arnd@kernel.org> <87cz8jbeq8.fsf@toke.dk> Date: Fri, 16 Dec 2022 22:11:29 +0200 In-Reply-To: <87cz8jbeq8.fsf@toke.dk> ("Toke \=\?utf-8\?Q\?H\=C3\=B8iland-J\?\= \=\?utf-8\?Q\?\=C3\=B8rgensen\=22's\?\= message of "Fri, 16 Dec 2022 15:33:19 +0100") Message-ID: <87359fkt1q.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 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_c= omplete': >> drivers/net/wireless/ath/ath9k/hif_usb.c:251:57: error: suggest braces a= round 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. --=20 https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatc= hes