From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mga03.intel.com ([134.134.136.65]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kfgIC-00080q-Kg for ath11k@lists.infradead.org; Thu, 19 Nov 2020 09:31:58 +0000 From: Jani Nikula Subject: Re: [PATCH 4/6] ath11k: make relay callbacks const In-Reply-To: <20201118165320.26829-4-jani.nikula@intel.com> 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath11k" Errors-To: ath11k-bounces+kvalo=adurom.com@lists.infradead.org To: linux-kernel@vger.kernel.org Cc: intel-gfx@lists.freedesktop.org, ath11k@lists.infradead.org, Kalle Valo 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 -- ath11k mailing list ath11k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath11k 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 3EF63C388F9 for ; Thu, 19 Nov 2020 09:31:51 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CE0A92468D for ; Thu, 19 Nov 2020 09:31:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CE0A92468D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 101DC89A8B; Thu, 19 Nov 2020 09:31:50 +0000 (UTC) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by gabe.freedesktop.org (Postfix) with ESMTPS id C7AA289A8B for ; Thu, 19 Nov 2020 09:31:48 +0000 (UTC) IronPort-SDR: wfYcPEDuAWurIILMMsu0C+AqmP991MGEr2JcHvw6+TMl57zAPlKXnjf9kmD8D1SfPEz063SaSf bpcG/ZQZ2I1A== X-IronPort-AV: E=McAfee;i="6000,8403,9809"; a="168688859" X-IronPort-AV: E=Sophos;i="5.77,490,1596524400"; d="scan'208";a="168688859" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Nov 2020 01:31:48 -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 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 Subject: Re: [Intel-gfx] [PATCH 4/6] ath11k: make relay callbacks const X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: intel-gfx@lists.freedesktop.org, ath11k@lists.infradead.org, Kalle Valo Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" 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 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx 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