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 X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C03A7C6369E for ; Thu, 19 Nov 2020 09:31:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7B691246E4 for ; Thu, 19 Nov 2020 09:31:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727057AbgKSJbt (ORCPT ); Thu, 19 Nov 2020 04:31:49 -0500 Received: from mga18.intel.com ([134.134.136.126]:12118 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726809AbgKSJbs (ORCPT ); Thu, 19 Nov 2020 04:31:48 -0500 IronPort-SDR: /7CGtJds3aTlIV4it7FEkrNGihx8Wk/90bd84qvdmc7yBYtdj5zWMkD+KKe0dsN9Y8e29v8IUs VAZpANAPW1Hg== X-IronPort-AV: E=McAfee;i="6000,8403,9809"; a="159031872" X-IronPort-AV: E=Sophos;i="5.77,490,1596524400"; d="scan'208";a="159031872" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Nov 2020 01:31:47 -0800 IronPort-SDR: SBk6uKIf0HN15Trt8wcKcBy0DjcTVAn13vX0y9a6L9f8+j/4tXvtvmucJXlVb9jGtqifvdEit7 ceOV+Kpi6j9w== X-IronPort-AV: E=Sophos;i="5.77,490,1596524400"; d="scan'208";a="341630737" Received: from bkeavene-mobl.ger.corp.intel.com (HELO localhost) ([10.251.83.118]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Nov 2020 01:31:46 -0800 From: Jani Nikula To: linux-kernel@vger.kernel.org Cc: intel-gfx@lists.freedesktop.org, Kalle Valo , ath11k@lists.infradead.org Subject: Re: [PATCH 4/6] ath11k: make relay callbacks const In-Reply-To: <20201118165320.26829-4-jani.nikula@intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20201118165320.26829-1-jani.nikula@intel.com> <20201118165320.26829-4-jani.nikula@intel.com> Date: Thu, 19 Nov 2020 11:31:43 +0200 Message-ID: <871rgppu9s.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 18 Nov 2020, Jani Nikula wrote: > Now that relay_open() accepts const callbacks, make relay callbacks > const. > > Cc: Kalle Valo > Cc: ath11k@lists.infradead.org > Signed-off-by: Jani Nikula Kalle, thanks for the acks on the other two ath patches - can I have your ack on this one too please? BR, Jani. > --- > drivers/net/wireless/ath/ath11k/spectral.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/wireless/ath/ath11k/spectral.c b/drivers/net/wireless/ath/ath11k/spectral.c > index ac2a8cfdc1c0..1afe67759659 100644 > --- a/drivers/net/wireless/ath/ath11k/spectral.c > +++ b/drivers/net/wireless/ath/ath11k/spectral.c > @@ -148,7 +148,7 @@ static int remove_buf_file_handler(struct dentry *dentry) > return 0; > } > > -static struct rchan_callbacks rfs_scan_cb = { > +static const struct rchan_callbacks rfs_scan_cb = { > .create_buf_file = create_buf_file_handler, > .remove_buf_file = remove_buf_file_handler, > }; -- Jani Nikula, Intel Open Source Graphics Center