Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp466008pxb; Wed, 18 Nov 2020 08:57:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJxzh3CDMJXqx3osbXBHkci1J0aC5kizksp26D2Gyo97RyxIbFj8pbkjW6kl0UhJMD2dFwem X-Received: by 2002:aa7:c499:: with SMTP id m25mr25986772edq.237.1605718667383; Wed, 18 Nov 2020 08:57:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605718667; cv=none; d=google.com; s=arc-20160816; b=wt//Xkd1RhzP/uckeve1AoJecIByzLEIB7bAip76wZZX3t7qE4DjjIyqpS76y+JLvZ eYOJTTsPbKl+qPLen1hY4ybYVOF7LEJITXHj5y+QuFVzj8erzbZ6uFdNbRDEFazih9y1 haY/sg/jC9ngAn6DJY9L5p6zebjHltUD/BDUclwx/EFpFpjZY4g+YjX10JqNyAdTNt2a 6pDDlmvRlwzkAczzHsc4LlpStOWRfdzth21LnRLoOcc5YvzDceJSWejrAKWfCDO1lbqR QkXOQGtOWVgL5lwyHpYnLihGIep5lNvBwqk7KcBPDUCnG4yY847X9u7plCVe/4DXsP5b P9vg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :ironport-sdr:ironport-sdr; bh=M5v9I29H+19+T6VSdcdqV3qxjQHKZ2BmxwTTwhGqb1w=; b=DWFq0pz5ucaR/VDPHdu3bCnDylTERsZliLR9OK0jsxRB+I+RYS4w0dqwGLYU65bV/P oCB2Z1fA6503bMtXQFwrPaD1it7sV4ik9qlvPf07Nykylk9c2d19z/jyzmgWWhu7dIzj d07YQECQcG7Ladd5Dv/5zo9ioMBNrxNb8y0LNsIs8EQ3yRG19KF2UsHbNSMkXs/UQlW8 P21/mC5576Ok5ync4DF1KUjTdJ8MeKCod+xiTDxLzPpQLhR4Y3zADxYqr4WBVMnvDlAC TVyZfWEgNPhUPL8sZKCMgQ8qZPanN5PM/QNFgdiZMELktvyojWVDnGTNm563UHyD1yHl Zbvg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 l14si16381671edq.543.2020.11.18.08.57.23; Wed, 18 Nov 2020 08:57:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S1727719AbgKRQxq (ORCPT + 99 others); Wed, 18 Nov 2020 11:53:46 -0500 Received: from mga04.intel.com ([192.55.52.120]:4883 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727008AbgKRQxp (ORCPT ); Wed, 18 Nov 2020 11:53:45 -0500 IronPort-SDR: kkv7YsrhtILOk8w4oazSh3BWoyG09gpV33roYvgPCbdk4tKWm+D+32atFPShRVUD24ybPUKuRO BuJsfNdZMNwA== X-IronPort-AV: E=McAfee;i="6000,8403,9809"; a="168575151" X-IronPort-AV: E=Sophos;i="5.77,488,1596524400"; d="scan'208";a="168575151" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Nov 2020 08:53:42 -0800 IronPort-SDR: PQkw+u4g1E8KZ66VZVeohgH8HZEtONx18A96/lUcKW2DV70qutK0aQmuHcHkqbUbWj6hOsmltV d4w4pKZ894ZQ== X-IronPort-AV: E=Sophos;i="5.77,488,1596524400"; d="scan'208";a="359541185" Received: from dlmurray-mobl3.ger.corp.intel.com (HELO localhost) ([10.251.82.13]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Nov 2020 08:53:40 -0800 From: Jani Nikula To: linux-kernel@vger.kernel.org Cc: jani.nikula@intel.com, intel-gfx@lists.freedesktop.org Subject: [PATCH 2/6] drm/i915: make relay callbacks const Date: Wed, 18 Nov 2020 18:53:16 +0200 Message-Id: <20201118165320.26829-2-jani.nikula@intel.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201118165320.26829-1-jani.nikula@intel.com> References: <20201118165320.26829-1-jani.nikula@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now that relay_open() accepts const callbacks, make relay callbacks const. Cc: intel-gfx@lists.freedesktop.org Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/gt/uc/intel_guc_log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/gt/uc/intel_guc_log.c b/drivers/gpu/drm/i915/gt/uc/intel_guc_log.c index 9bbe8a795cb8..c92f2c056db4 100644 --- a/drivers/gpu/drm/i915/gt/uc/intel_guc_log.c +++ b/drivers/gpu/drm/i915/gt/uc/intel_guc_log.c @@ -134,7 +134,7 @@ static int remove_buf_file_callback(struct dentry *dentry) } /* relay channel callbacks */ -static struct rchan_callbacks relay_callbacks = { +static const struct rchan_callbacks relay_callbacks = { .subbuf_start = subbuf_start_callback, .create_buf_file = create_buf_file_callback, .remove_buf_file = remove_buf_file_callback, -- 2.20.1