Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1037062pxu; Mon, 23 Nov 2020 10:01:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJz12ddblTMJ9RH/lczejiW36oq4DuRCthJQ3RWf+Elzp6YZiD6CM01+4ayc6lG4CSMu9nwR X-Received: by 2002:a1c:1c1:: with SMTP id 184mr127593wmb.16.1606154485505; Mon, 23 Nov 2020 10:01:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606154485; cv=none; d=google.com; s=arc-20160816; b=rFk/WBMMz5rhA1p0USgYB0Ur9xj3db5PxSNiv/UjpBn8No2vj9r/tLUaMUqPaf5I8C qcMbH29M7536s2fMyycIXbFOjSZofY7CGfSJQeaQKuMMsijoEfycalTzUgs7GsEu3PPu plOJ/WAvJWxbldJHpPJNgAzKN0DWdAaqpkrXyYp6MXhOUoWiRWdUQm4unwzWiADClCSM l/nlYlgkYnoX7JHt76UfVUx8xwVlSLwfNwzL1xLhRlMkRh6ZDLblHqDxv8fciTY+Qs7O DrxApW9sHBnvCG3LAWXKp9Ybz7jfbKFDBPqnstDWFkhI+VKMfekXNDM+P+3q87GTJLjC cNJw== 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 :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=IkIuPs0hf9KcdAmodIO3M0AeNnqMUYMeKDuiHBC8WGE=; b=J0NErF1NHPQ919akFtslvLDJTyAWsWgPw5AnmMUMkcdq9zX49nQhSr0I/oBRz2U4at 41F+94r07G0FNJKfOKMCX2ZeHWOtL0S8PBtXORjEqjIFGHab6LPYr7sV02DVpjTUJwrA oAKxmeZuj1m5jpa0l1jn3mv5rBVO7G+n7/hGPBdrTw9ATtNY3urAA4mjcLNAycrsTZ6j mhqwNzEy3z3azZVE6NmneeYCug0wjUSrJm88Zf5yvQSrvDQXZ8ps0etPq8mWZOTOlBZ7 8IA1IQyMI9nmgroVlBWjm0UXV6uy+1gMNHqkVp205gWrMM6h2dRw709I70suoEvh1Yp9 uo0g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e5si7149792edr.30.2020.11.23.10.00.48; Mon, 23 Nov 2020 10:01:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390594AbgKWR7l (ORCPT + 99 others); Mon, 23 Nov 2020 12:59:41 -0500 Received: from mga06.intel.com ([134.134.136.31]:43852 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726817AbgKWR7k (ORCPT ); Mon, 23 Nov 2020 12:59:40 -0500 IronPort-SDR: fe1XNTtQkMvsb8qg+nelZKEWRq/MIBjSFwLY9okkNXU2TENPUlaLrTF9ALG842SflPzxfAe1Lx kIXbFhA0gjUA== X-IronPort-AV: E=McAfee;i="6000,8403,9814"; a="233424243" X-IronPort-AV: E=Sophos;i="5.78,364,1599548400"; d="scan'208";a="233424243" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2020 09:59:39 -0800 IronPort-SDR: Q2doGdMBBD/o9VKKKs0arlrEN93GyRQTmyoSg6Jwlob60iTvAgTDZCKOrkG4SEAru6Wn69QAWg kGXqHNBGNr7g== X-IronPort-AV: E=Sophos;i="5.78,364,1599548400"; d="scan'208";a="546504782" Received: from suygunge-mobl.ger.corp.intel.com (HELO localhost) ([10.249.40.108]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2020 09:59:35 -0800 From: Jani Nikula To: linux-kernel@vger.kernel.org Cc: Christoph Hellwig , Andrew Morton , intel-gfx@lists.freedesktop.org, jani.nikula@intel.com, linux-block@vger.kernel.org, Jens Axboe , ath11k@lists.infradead.org, ath10k@lists.infradead.org, Kalle Valo , linux-wireless@vger.kernel.org, QCA ath9k Development Subject: [PATCH 0/9] relay: cleanup and const callbacks, take 2 Date: Mon, 23 Nov 2020 19:59:20 +0200 Message-Id: X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org This is v2 of [1], with a number of cleanups added first based on Christoph's feedback, making the actual constness patch much smaller and cleaner. I don't know who actually maintains relay, it's not in MAINTAINERS - Cc'd Andrew just in case. I'd think it would be simplest to queue patches 5-9 via whichever tree the relay patches get merged. They're all one-liners so neglible conflict potential. BR, Jani. [1] http://lore.kernel.org/r/20201118165320.26829-1-jani.nikula@intel.com Cc: linux-block@vger.kernel.org Cc: Jens Axboe Cc: ath11k@lists.infradead.org Cc: ath10k@lists.infradead.org Cc: Kalle Valo Cc: linux-wireless@vger.kernel.org Cc: QCA ath9k Development Cc: intel-gfx@lists.freedesktop.org Cc: Christoph Hellwig Cc: Andrew Morton Jani Nikula (9): relay: remove unused buf_mapped and buf_unmapped callbacks relay: require non-NULL callbacks in relay_open() relay: make create_buf_file and remove_buf_file callbacks mandatory relay: allow the use of const callback structs drm/i915: make relay callbacks const ath10k: make relay callbacks const ath11k: make relay callbacks const ath9k: make relay callbacks const blktrace: make relay callbacks const drivers/gpu/drm/i915/gt/uc/intel_guc_log.c | 2 +- drivers/net/wireless/ath/ath10k/spectral.c | 2 +- drivers/net/wireless/ath/ath11k/spectral.c | 2 +- .../net/wireless/ath/ath9k/common-spectral.c | 2 +- include/linux/relay.h | 29 ++--- kernel/relay.c | 107 +++--------------- kernel/trace/blktrace.c | 2 +- 7 files changed, 26 insertions(+), 120 deletions(-) -- 2.20.1