Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1069036pxf; Thu, 8 Apr 2021 22:07:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxELRPPqeU2zClzBZB0kUa0xHQkb1ZIhKIhQuMjpjhOcvC515rRXBe6m1IOHrInqAX/NnQ+ X-Received: by 2002:a17:907:2d0c:: with SMTP id gs12mr420189ejc.443.1617944847460; Thu, 08 Apr 2021 22:07:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617944847; cv=none; d=google.com; s=arc-20160816; b=sBTS/HvHGPCgYBPO0Fj9k16zgf8FyX0vL76fUh7CAaLtXDXeW9kV2P6N+vqwirHqd7 7yesvMJdoTMqKC5A1Z8hf/GtSV7zo0PxnzBpmhMYdC9grTZhKJVEcAgAtWkZA2icIrql wK7VIVQCL+zRylQsVFgLpjjrlWhZC2En16bTNkOb8Qh+YP02BwLlDgOTkl2ZQo7tsh1j zsPBbIGb5Q3wxTAY+DHIa90aHk1PhqQdPQLBstnUqzU802G9t1ik8xV70x5m6XOiRaNg eTkqMA9k4MdNRfK9ipFmjKBx7QRed1cPkc1tLK3rICJjRbJTdw+6fKsP/7Rx9bC0UwwG l5Ug== 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:subject:cc:to:from:date :dkim-signature; bh=GcloeIBRd1er9YIg3JgH4KGInP0NLr6h9LSCIDZ7BuU=; b=chokQ4li4w9IWJbZ0ULgaQ4EGNpAvCScoQSL5bJuZvrzhFpMu0AGQfoXIweUSePMzt w30ytRN3jFk9iUwNqh6w/B5gBW/3wpzEwZkXlTW+Eey/ZclyCbjnhi6Fwlc+KJiTdFDe 3HR5Cys/QV1gXtLQEnScOLIQDlQulGTobHnaDt5j1CkVOh/bbPP1VM/S89823poktETG v319P5UnybZoF6CigwTeMcrn8qZ9KHFd4FErAYQW1h6NUfa4sz265OoUFbe+Cj1O8P9u wLWhE/9ucFiPDW8EpUe6+uLyObJRP4ww7S6cpb5ZqTiXvTDF2l6B9fPkV83AU7MIojhM zq/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=nhy8T7Gq; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u12si1579122eda.121.2021.04.08.22.07.04; Thu, 08 Apr 2021 22:07:27 -0700 (PDT) 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; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=nhy8T7Gq; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233121AbhDIFFX (ORCPT + 99 others); Fri, 9 Apr 2021 01:05:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:50424 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231491AbhDIFFW (ORCPT ); Fri, 9 Apr 2021 01:05:22 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2D7D8610A2; Fri, 9 Apr 2021 05:05:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1617944709; bh=j8l4SEopzg9LwuyP7KnznlhaAIzJcQ/gKMBLZiJDf1Q=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=nhy8T7GqBtLAiMSeoGybvs3lX+YqxBSaEQUXfuuyJBFu8qfSIYqPZgVgQUkakqxr+ NeFfY8s20V0tbE8m2nzjV5f0dfduVeWnWK7eyEd2104TsLVWe0ytJVHN8EeNE9EW/s J4FOMtLtcWU01Amm0XSWAGwI28oZPO0B5ILnQDMY= Date: Thu, 8 Apr 2021 22:05:08 -0700 From: Andrew Morton To: Tian Tao Cc: , , , , "Zhiqi Song" Subject: Re: [PATCH] init/version.c: remove unused including Message-Id: <20210408220508.c7ce7b1b90202a19223ed1f4@linux-foundation.org> In-Reply-To: <1617863218-14905-1-git-send-email-tiantao6@hisilicon.com> References: <1617863218-14905-1-git-send-email-tiantao6@hisilicon.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 8 Apr 2021 14:26:58 +0800 Tian Tao wrote: > Remove including that don't need it. > Um, how can version.c possibly not include version.h? Sure, it may obtain access to version.h via some other include, but that's plain luck and nonsense. And it's unreliable and it requires whichever-header-is-doing-this to continue to include version.h on behalf of some .c file which should be including it directly!