From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D1DCAC433EF for ; Sun, 22 May 2022 16:56:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346544AbiEVQ4b (ORCPT ); Sun, 22 May 2022 12:56:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235505AbiEVQ43 (ORCPT ); Sun, 22 May 2022 12:56:29 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 969EA24F13; Sun, 22 May 2022 09:56:25 -0700 (PDT) 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 977DBB80CA9; Sun, 22 May 2022 16:56:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 10466C385AA; Sun, 22 May 2022 16:56:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653238583; bh=6EXJtR4cnG6MT8IMxtERRltKbq2qz/Ha2duwGNw13bk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=lKWgbNsiaqRtbV3r6a2ViNIYqdG5Ns9vbH5NfxQMge/ZoIk/+wkfwi3o3GoJGOMDq RZD3ZHYl0Iq+kcWts9MSsaZbnekLnL4Xsqfvt9g/AS3ZUL2A2sMF2Vf7QjFLRaNncC k6TZa/RKiB4BxesqYUOP5KD+zjFa2Z5NnipunYAJfxrmxoexVyaNn88vmywSdi7ysA N4lFzFT9VShcjlYCXa9y5Y3INulO4C1DGo4tGZarKr9ewaKs+dQM89Poa5w8f1lZtg rCfVSe5z219dUm+rPp/T3R9+mMOaxoCxFvzOfwNXSQlYN6ggk/A8nkbnxuE08m5Jva t/98T6y5c2dkQ== Date: Sun, 22 May 2022 09:56:21 -0700 From: Jakub Kicinski To: Johannes Berg Cc: kvalo@kernel.org, netdev@vger.kernel.org, linux-wireless@vger.kernel.org, libertas-dev@lists.infradead.org Subject: Re: [PATCH net-next 7/8] wifi: libertas: silence a GCC 12 -Warray-bounds warning Message-ID: <20220522095621.369292d1@kernel.org> In-Reply-To: References: <20220520194320.2356236-1-kuba@kernel.org> <20220520194320.2356236-8-kuba@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Sun, 22 May 2022 00:03:22 +0200 Johannes Berg wrote: > I had a similar issue in our driver, and I could work around it there > with a simple cast ... here not, but perhaps we should consider > something like the below? Excellent, LGTM. Would you be willing to submit this officially? I'll drop patch 7 for now.