Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp662555lqm; Wed, 1 May 2024 11:40:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCULzS1Ped/t1fOCUhbfVeORS4b+5eweOOCPfz5xf6N558u1u6Bxa+u2DmVY2budAcGanFgUU0ratixk+9nTXVERE8gwou0MmHzUgD95xg== X-Google-Smtp-Source: AGHT+IED1KKmMoPljcfH9x7Yo9kwCLomLOzBN6YeisEII+GrnesN4aYmf3MufCqD8GNuE63tMRLX X-Received: by 2002:ac8:58cd:0:b0:43a:be0b:4761 with SMTP id u13-20020ac858cd000000b0043abe0b4761mr3149038qta.1.1714588841429; Wed, 01 May 2024 11:40:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714588841; cv=pass; d=google.com; s=arc-20160816; b=UZN6WTwwYxAp2T5YFzorlFTT9rch0mekd+l4IsLk3k7K1ETslOaghuvy/RBSmPNE24 AKnmNCIKBtOHK5lRnM/Id6V4VkJMn7aSzrf2ga7OVxpGQXv8tnin506htLN0bWINkXCq mM7XsxTZkxkzhgoWP7fxckTe5KB+nAbftiWNROOfPH+9dJ8HoBKp72hxdqHibGtZouPR B1CrMi9C9sd/yQ6W90y6dnAsX20XzOM4+Fz6OXtPSb1k88eUDxQA0Z2OlnNYB7M2zgXK mkEGKrJGR12BuezggA0UoXBucrxpVoKsXtEy7XBGkTW65K+R9FmbMT+Jne1+q7Jmb1SI 3asA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=M/6GcVsIvLBqK96I3zWlLbwBlaxn8GYCygR8VwrSy6Y=; fh=KNulpARv0XKpBpGUolCK6Nfukoh6HSj+jiLkKgQoJRA=; b=p6RrIyBUAXWH9UezTFnXxHlebQyRwRVWX1eVInxQ47VxXql/jvInL034FTl6br5DUt AAb8D1rIype47TdJ0opsY/HVpPpW+2Bpg+UVLcMaLu7sh92MPep5WBuYJFOSy5CxnWJK EYM/EeFGshSuTYmE9HcC+8I6zlqT9FaNw/ZP9CtksgqqV5Ia8thsc66T/VxjVK5wpHh+ 9kSAuTWg+MqS+F1slWYVnsOTuM/boi6r/4Olcgc3yAdUuMy9aBxS0Y9AEsWTAhZv4wwS 2iMl+P9Je5TF8h3IszREEtGXr9/aqbOItw53t5bhkrnW8/+oR0Eu2YIfoiYkhx86Rv3K y7wg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=MTaZraSH; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-165690-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165690-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id j16-20020ac85f90000000b0043b03c5b75asi6181375qta.681.2024.05.01.11.40.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 11:40:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165690-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=MTaZraSH; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-165690-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165690-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 2C4F01C214FA for ; Wed, 1 May 2024 18:40:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EDD3B1607AF; Wed, 1 May 2024 18:40:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="MTaZraSH" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3342912F395; Wed, 1 May 2024 18:40:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714588834; cv=none; b=pfxOVOGXxIMphNu9dz6wD2yrx4q/ERxizFrG5i2TqHru88iIi03ivCXulD6aey1UDqJzm5J0txeQ/XbcwM669RaEkirfzkGsWB8E2IapaVJMo1BNo/2IJq06EfcHpN1LTLUgkt2LugGfGpbvvzfZSi7G4zH/4flQjKzdyYu4fG8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714588834; c=relaxed/simple; bh=Mzgv9pzl4+hs8G726Lz4maLhlKFliw7RLIHFVXczfgI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=LOxDKYemBJvquYW+l7hRFhr/0d1VE5H28vBducUv6tYNacbs9FdjT09Fmh1DCrGFLYF1TbJ/UQsuRcGfzkSZylZgB1c7Fx3Ye+bo5fmYE6mirVG1Em1QlLvtiti5JmPwyRify90mu4r24Wg+BQwVXUlzlKpqGRuxLorcJuH/RJ8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=MTaZraSH; arc=none smtp.client-ip=192.198.163.18 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1714588832; x=1746124832; h=from:date:subject:mime-version:content-transfer-encoding: message-id:to:cc; bh=Mzgv9pzl4+hs8G726Lz4maLhlKFliw7RLIHFVXczfgI=; b=MTaZraSHF17mmT28GoqVTn0HRTa1n2rbQHzhVp2A/AQ03/FDJOwzlU2R h0I0lHyCXxoqhAm3FM5yshNJTqXg6gPqSWbTsz0L5vl5OI8vxraf7zUoY RIWPST2KKcghMCcrSF8D8MMiD0Eio+u2vhCZ59MVpvPPoh3o1noeQWpEB ElGkae65DMaxLHQlIL/V3PFNjW/yTD+7U9/LOQtXqzdcai1RKufuUAx28 Mnv2FEDv+dZu1uMv+aR+sOnqocppJtXWK/jfQ7cXH8D9QFUYzmGId319I XXnKHLapfu8XtLSbvUdZXLxTYKfSC084S86UmZWGVGb55htL0Wy9wZhaX Q==; X-CSE-ConnectionGUID: P9w2venFREy4KkAsPi0OYg== X-CSE-MsgGUID: s5jg0wIBStihxZUBmmDNrg== X-IronPort-AV: E=McAfee;i="6600,9927,11061"; a="10185858" X-IronPort-AV: E=Sophos;i="6.07,246,1708416000"; d="scan'208";a="10185858" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 May 2024 11:40:31 -0700 X-CSE-ConnectionGUID: Ckai+5VxSsqFj9YRS1mJpQ== X-CSE-MsgGUID: /uN/ZNZOTvyDOiK+9irPhA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,246,1708416000"; d="scan'208";a="31348092" Received: from iweiny-mobl.amr.corp.intel.com (HELO localhost) ([10.212.82.114]) by fmviesa003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 May 2024 11:40:31 -0700 From: Ira Weiny Date: Wed, 01 May 2024 11:40:23 -0700 Subject: [PATCH] cxl/cper: Fix non-ACPI-APEI-GHES build Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240501-cper-fix-0day-v1-1-c0b0056eafbc@intel.com> X-B4-Tracking: v=1; b=H4sIAJaMMmYC/x2MQQqAIBAAvyJ7bmHViugr0cF0q71YKEQh/T3pO AwzBTIn4QyjKpD4kixHrKAbBX53cWOUUBkMmZY60uhPTrjKjRTcg56sC0Ovl8VbqM2ZuLr/N83 v+wHbPxw9XwAAAA== To: Davidlohr Bueso , Jonathan Cameron , Dave Jiang , Alison Schofield , Vishal Verma , Dan Williams Cc: linux-cxl@vger.kernel.org, linux-kernel@vger.kernel.org, kernel test robot , Ira Weiny X-Mailer: b4 0.13-dev-2d940 X-Developer-Signature: v=1; a=ed25519-sha256; t=1714588831; l=1181; i=ira.weiny@intel.com; s=20221211; h=from:subject:message-id; bh=Mzgv9pzl4+hs8G726Lz4maLhlKFliw7RLIHFVXczfgI=; b=5t1ueDJnE6x+j+9ekOG12qu6ugjSPoamFqnOoF/ury2/1DDeq23OhIKWoTlUK1x5+qvkhNUgA cybnde75kDlCq0h5ILqKipfEKPEyVbWoO3W4VtK5vbjgdci2pPPkJBC X-Developer-Key: i=ira.weiny@intel.com; a=ed25519; pk=noldbkG+Wp1qXRrrkfY1QJpDf7QsOEthbOT7vm0PqsE= If ACPI_APEI_GHES is not configured the [un]register work functions are not properly declared. Fix copy paste error. Reported-by: kernel test robot Signed-off-by: Ira Weiny --- include/linux/cxl-event.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/cxl-event.h b/include/linux/cxl-event.h index a0067c49e2ca..13090857c066 100644 --- a/include/linux/cxl-event.h +++ b/include/linux/cxl-event.h @@ -152,12 +152,12 @@ int cxl_cper_register_work(struct work_struct *work); int cxl_cper_unregister_work(struct work_struct *work); int cxl_cper_kfifo_get(struct cxl_cper_work_data *wd); #else -static inline int cxl_cper_register_work(struct work_struct *work); +static inline int cxl_cper_register_work(struct work_struct *work) { return 0; } -static inline int cxl_cper_unregister_work(struct work_struct *work); +static inline int cxl_cper_unregister_work(struct work_struct *work) { return 0; } --- base-commit: c19ac30eda3a1d14d4883de0ea214b6c5c96a9b4 change-id: 20240501-cper-fix-0day-c03ad861bbc3 Best regards, -- Ira Weiny