Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp2002038rwi; Tue, 1 Nov 2022 02:34:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4rkrAtRdd69H2WwiEYYvZPORfDryOGOsDeUvEAG3wJr/c2sxZ6m2WMG/qhlWM+nje/woE1 X-Received: by 2002:a63:5fd6:0:b0:46f:fdc1:4086 with SMTP id t205-20020a635fd6000000b0046ffdc14086mr138983pgb.154.1667295282221; Tue, 01 Nov 2022 02:34:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667295282; cv=none; d=google.com; s=arc-20160816; b=c44mQ7hq9zePo0HDS/9RLivkHlpwK2YShCC03uvJPdhuH/tVORfWtUgRptOSlET00z lRHMIGJHmoQO+yzZz1OZGdwYl653v/chDdAeYQRRPfywv1WQgila5tpoYO5Ha5DgebiJ ZCjq5W3yq0s+8oTo6GuMNl4tPFKutgpePahojvDYmZQSiZCx2ubfimY2ozDRUIlnMYFN rwLlXC4aLEIoRTgkHjgoqhk4Erjp36NmqxoVuJPfcdi6eKNDmV9nVxsfg95FdSgtCqw5 QiNQ3w4EL0/vZ9SdkNV/+MYOLquhW60SYcSQZq7O+2gQFZRDPjtSyFuarfrCALPrFEfp zYGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=VYfwzJOhpa6is3gzKveuxnXVVrXrBINEGJU4dsLAygc=; b=MHTLyE+huEr+gH6Ev/gU2xkZM5Vp/BaAb31TTNKlkBcjibA11y+z6BMdTLZz922kfW rNoliZ1W+CtN67F7b6syj0TpNgNlmC/aMWJCSYFn0TA225JLu2bxEH6k8U8od4dp2VJo SnflO733jaEVz8pILziu7HsOksz8f4ZF35xjuCUaNqFPMadBujPhT0Ft8VOhETiEKN/5 Tu5lq87+AKBJfLSLk915dDHDg1DY+AB8i5Ace9DhWK8cRcp3s3A2pimRwVR91+vF1kSa WlDTXVZmG8h2VTWNR2XFfSbrmVN3DuBW+UfciuWsCvtbKECpAAn1tya7ZG6jFtvyVMRA KPQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=A6PYBwJ5; 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 p4-20020a637f44000000b004614aa5f31csi12362103pgn.255.2022.11.01.02.34.32; Tue, 01 Nov 2022 02:34:42 -0700 (PDT) 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=A6PYBwJ5; 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 S230063AbiKAJZY (ORCPT + 66 others); Tue, 1 Nov 2022 05:25:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229475AbiKAJZW (ORCPT ); Tue, 1 Nov 2022 05:25:22 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDE1D1209B for ; Tue, 1 Nov 2022 02:25:20 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 880B46153C for ; Tue, 1 Nov 2022 09:25:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 37C98C433C1; Tue, 1 Nov 2022 09:25:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667294720; bh=ppGtIxe9KgtjjF2kT8EXlNp/+vE/2Q2/6ID07rh1Bfk=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=A6PYBwJ5z50mQaEwOukHHwH5Ak5nl4pu7aP8MBFw7I6d0s9/6lfxw+3c88tTRyQiQ IMuUb0i6f9oKaJQDEkSu3+/U20kyg3LXLqBUarkyPBy3g7/n+ZhqOLkIMExgzssYZx yv5aunrQch1ToKnlKXv3bkmyu96L/uvIiD+KjduvzjtgjrPBma7q9D38oQRv0QfJjW JHHAb4cKx2vvAek23p/PqfBNEY0I2jm9v6OOhS66whwlqT7qip+ADOgTd/4X/BK8me rs9tC4w5VSbJiYwhoX2l89Rnqm/nKxjoxT3/yJMAObdDX+WoMIzHKN8LlCfjEvvlIj 1WF0i6rDLijig== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH 1/2] wifi: rtw89: declare support bands with const From: Kalle Valo In-Reply-To: <20221020052702.33988-1-pkshih@realtek.com> References: <20221020052702.33988-1-pkshih@realtek.com> To: Ping-Ke Shih Cc: , User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <166729471747.21401.17808128062164705834.kvalo@kernel.org> Date: Tue, 1 Nov 2022 09:25:19 +0000 (UTC) X-Spam-Status: No, score=-8.2 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 Ping-Ke Shih wrote: > From: Zong-Zhe Yang > > They are just default declarations and we won't modify them directly. > Instead, we actually do moification on their memdup now. So, they > should be declared with const. > > Signed-off-by: Zong-Zhe Yang > Signed-off-by: Ping-Ke Shih 2 patches applied to wireless-next.git, thanks. a29dba478b6f wifi: rtw89: declare support bands with const e69ae29e00ce wifi: rtw89: 8852c: make table of RU mask constant -- https://patchwork.kernel.org/project/linux-wireless/patch/20221020052702.33988-1-pkshih@realtek.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches