Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp265646lqt; Thu, 6 Jun 2024 03:00:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW3ZMNYxJ/FKG1Ujxn/WtZUJzVQFuVMXTYx4eNa76iRHXi7OeFQAfjkhgJtM3k9QLmcraGn8FjX2FKI6s6aRHS64OVGTXW1HEcAkRNItw== X-Google-Smtp-Source: AGHT+IGVzNdF//kigDfzzpT8N9pmvNRGoT/GZk31Qn6IJLpPO2bR2XC1o84UUHVQP8L72rncKVp/ X-Received: by 2002:a17:903:283:b0:1f6:8157:b52f with SMTP id d9443c01a7336-1f6a5905e51mr60294515ad.8.1717668047082; Thu, 06 Jun 2024 03:00:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717668047; cv=pass; d=google.com; s=arc-20160816; b=sm+02rZ7H2g4Ah7f2HYhVyJvnRPkcfcKocnFrgDfiqu9Nw/pVAIo8ucI8UiepbMBzb cCJSR6YwqU+aQGjcWG/hDlTugy/vBqJXDEUCWwRDHokg3JROxDX0jJPk0D/2FJx2jhOv cLEIXs5YZNWxRZ2l+Ptq8LDLmv0a2YzuVMRBsPtb6N0j+YMBFZF+JoyDaM03zFyu4BSr VmcU1e87aqMaOAN7quxM56F9717M59hSwxlDvNqD480vjAPC2EMUzP8Pe5YWPnzTY7zR 5hCa//NnE9Epj5+vHtOGCYowtReWuYaWpe96hux9mughFoeGZzujcW5QQHvr40CrTxPD G5jg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=8fhIeaRcCMzGBPpV19PrfDc05zFokc/RSIlEBIMrrrQ=; fh=NcVi36nXHL59YFw8v29sTjdRc5OBtNvwTMSqXMEDJPc=; b=feSo2OUES83dtduZhSNkWg+vcz4JYXMZKsFqX2NC3rtBMJhlKftG/1k7UBJVZl3dQO cSwgyQn5yUVRzO+k7ar08htbBxa2qRrrUeJmw6gz2U+/hJ6LWnc9syhwQw+gGXPHUi65 iwTCpMeMbijwDRJiFUOA6o22zZRd1qNInn+XueAV3tRhRh4mtImOL0tviUPnoAm0oS1g 8zoyhWRpb38elHeDhSWvnNppeuhsMnQ0gZ1wq+60tfd1VOyTtDnlV1nAWg+VazGXn3F7 XZ1td32lNcnkfY/zMwWF/ULWrBUMBpD+DJBHoKnYQtLcPOn+HriX99UN05+9mUTuI87Y e+pw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="KM9cT3/5"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-203966-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203966-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d9443c01a7336-1f6bd75fba9si8861085ad.47.2024.06.06.03.00.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 03:00:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203966-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="KM9cT3/5"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-203966-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203966-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 5ECE3B2E403 for ; Thu, 6 Jun 2024 09:19:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CACB3154C09; Thu, 6 Jun 2024 09:14:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="KM9cT3/5" Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AF38A13DDA9 for ; Thu, 6 Jun 2024 09:14:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717665281; cv=none; b=UXlPi8QGJlKJ7d0pJinOasL1x1aCwXZHku0xyhJmA9B5d+5cMkTq5VK4dys8saSxZhPdyu35//x6g6KW9sa2kq7C06HUZ8XaZys+Eqvx3VxLH486DhgRF3J6avLdGxyQ/OUgcrRl+l9d+LEBqoOXoMucRnT60xprdCTKjEIxThg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717665281; c=relaxed/simple; bh=El7wMREA9FAs2uCVxPiuxz5mLkNbj4M7DKAj+YhaJGE=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=YYYzsKUB9E/xxrRhgx1oJr3FaQEereEQ4M6jDxReOdvZAkz7/y1Qbeqxc++lwIcXFgKKGZNaufhPJhNlTWY3GDLxSXf2MVoc/GdoItV5xSZWlEQx7WTmGg9MYJbEKfUCgW1I0AZigfCTGZ03/rBZrHDQUKGxs2I9MEnEDFYLWCQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=KM9cT3/5; arc=none smtp.client-ip=209.85.214.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-1f61f775738so6568675ad.2 for ; Thu, 06 Jun 2024 02:14:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717665279; x=1718270079; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=8fhIeaRcCMzGBPpV19PrfDc05zFokc/RSIlEBIMrrrQ=; b=KM9cT3/5V4Nt86loSL9PYnxsdlcQlEl2Mpb4NdKa1V0pEhdrPx1sTzs3OufqVdkMIn cvERub6I8ySETDpsaLQC/0tGMCh6RFft/46kyNJbxvlH765AlygxGwOtNy8AT1HIjPVZ KZ5V6B8+GOsAxcxGj5ecDDijKGCSH0M8gNYunq9w7TG+vnxgttUPGsfRFNyH41WgQStE C3negasS+RCl/fDwfVje0R8uNXTNJDYE5TNGPHOD7h/Sc6M7mlaUGjEMKspQ4yCEdHrB uyyZr61ar/5ySv/gubE/wR69S0z500e0a3zY2AP+3nDm3QwJsvuI8xzHmCZX/4QxwvZF 3hgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717665279; x=1718270079; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8fhIeaRcCMzGBPpV19PrfDc05zFokc/RSIlEBIMrrrQ=; b=KX0ANe1Cz7o1EWBcfxMqGfHHWw0zhZFdddEFGAUneV4KvKdzwRx9bjZgnmS+pVd4Sj SihC0Wh06dKb62eFFrcjS/axpKjcJEXgij5DHTTLIAuIVC8G1w3dAe9sqb9dK+IrE7xJ OK5bAWtyFFwPNRBHDsLvXnlA9IMgZONXoITx33m7lncwloWXjWr43LCI+X7wUNEZOKeH W6gpMi9NkqYPnXonB7S8ugvlnW+vauYD3HNjo7LRotCBdehnQi8MJcbD6e7D3tbCCVhA XvakImjWaXK6rQWxJqnhcCt7aVsTgMjnFV/vixBAsLsLkFoDbzIi4HDhd/b8y6nx+V56 V/hw== X-Forwarded-Encrypted: i=1; AJvYcCXyN8YgltPBE308KvEElB4V31KqxMGQpFEEKc7oQ9biMfA72e5ES1cbvCAwocGxjUBJpwxNcUIFrl3PGxwbhAQtqVcqh6Mtu7WOs/bH X-Gm-Message-State: AOJu0Yx3jmYJGFJn1Eo3Ln/T7cU6nfpKn3wafyoyljMCOXU4yMjMQ5g9 C1U5JUXjGZ4RwnSOHo4ZX2YlOLbxOabMbTbN5jxpXARrFUOJkBHFH6cKFVRLNJq1FQ== X-Received: by 2002:a17:902:d4c2:b0:1f6:20f4:196a with SMTP id d9443c01a7336-1f6a5a161admr58883265ad.32.1717665278794; Thu, 06 Jun 2024 02:14:38 -0700 (PDT) Received: from localhost (97.64.23.41.16clouds.com. [97.64.23.41]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f6bd75f210sm9885505ad.48.2024.06.06.02.14.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 02:14:38 -0700 (PDT) From: Wenchao Hao To: Baoquan He , Vivek Goyal , Dave Young , kexec@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Wenchao Hao Subject: [PATCH] crash: Remove header files which are included more than once Date: Thu, 6 Jun 2024 17:14:27 +0800 Message-Id: <20240606091427.3512314-1-haowenchao22@gmail.com> X-Mailer: git-send-email 2.38.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Following warning is reported, so remove these duplicated header including: ./kernel/crash_reserve.c: linux/kexec.h is included more than once. This is just a clean code, no logic changed. Signed-off-by: Wenchao Hao --- kernel/crash_reserve.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/crash_reserve.c b/kernel/crash_reserve.c index 5b2722a93a48..d3b4cd12bdd1 100644 --- a/kernel/crash_reserve.c +++ b/kernel/crash_reserve.c @@ -13,7 +13,6 @@ #include #include #include -#include #include #include -- 2.38.1