Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5910576imu; Sun, 20 Jan 2019 23:13:53 -0800 (PST) X-Google-Smtp-Source: ALg8bN6Vklcn51LKBRviHa9W7zajGRNzMg/XIfaVoXTXwgU0N29qxCi2QLVYL7mQQ5oNIEtTyr6a X-Received: by 2002:a17:902:2b84:: with SMTP id l4mr29140366plb.191.1548054833269; Sun, 20 Jan 2019 23:13:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548054833; cv=none; d=google.com; s=arc-20160816; b=Fom4D/bnt/YinZ4ONOOQNa3PQbCjBpFn4TuLINO5vhrF6RtWWzMtaDaoroHfITNCLO N5B9zVhWAGNVmwfOPMzJVASCT6cus1/DkNckxHtWNmuXLUSeG54FqEOkS7u01iaonC1Z QwrBzMbs3qh48CPoVfhiGWk9ufibzLOn6SdPXfUNY47uOX/43nhIe4AqVQkJRpIQLLZ1 e2yljN0uMV7qtDv5buAzNz/DhQ+AjtIoDOGgC3LItmro8Krhb2XvV1K3HYTd88dyB7sa OrVaoylm093saLgofSyOI7J1nj8JDw2bBb7yBhFkcGpte68IibT97WVJ7F72eWsC3bBn hqGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=1ScuhqJca0uj5wxaiMhHAqTBVV8LdYPNZ4+ByDc6o4o=; b=uL4N7sK82TOA+XQHsVtNE3dl+oMfV3cf9PCAjkAcMFrYX7noLKOdLf1nuyrN3wJTfg BI7RMjOi6ng6JJWg/knPsYqGAP53L2E/fl2EB86roLGVry1pX2+IlCd3WqoSqBZA7KFj BOn+3too+L6IwZGIecbCSOCPXHDo2Bx82JP+MRFaAe1pCY3ZBi0niAzWibj+SMPy1ylz igjrDwgV7SnxqDTIMA/Cn4GhRAHanfcRYyjDhSiab4I1NzjmRjtiq3u3ByM6FoQQnu3U dp+me8i/ZHYImql/AH8AXx+MGy+WeogbfRgvRlQTjDFx/oU30TT6O1JOvg3aLRaEbjuj SIXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=a1TU2cKC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c65si11540092pfa.148.2019.01.20.23.13.38; Sun, 20 Jan 2019 23:13:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=a1TU2cKC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726575AbfAUHLR (ORCPT + 99 others); Mon, 21 Jan 2019 02:11:17 -0500 Received: from condef-07.nifty.com ([202.248.20.72]:49348 "EHLO condef-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725871AbfAUHLQ (ORCPT ); Mon, 21 Jan 2019 02:11:16 -0500 Received: from conuserg-08.nifty.com ([10.126.8.71])by condef-07.nifty.com with ESMTP id x0L2nbWo000684; Mon, 21 Jan 2019 11:49:37 +0900 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id x0L2ms5g015717; Mon, 21 Jan 2019 11:48:54 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com x0L2ms5g015717 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1548038934; bh=1ScuhqJca0uj5wxaiMhHAqTBVV8LdYPNZ4+ByDc6o4o=; h=From:To:Cc:Subject:Date:From; b=a1TU2cKCVZcTtKz1/n9K4UZk/n8nAmkXhLP04ub/O3HMTi7ZxE2cWdij4PU/K6z6T 1jxabuQSRgJLf5skKBrcKX+zyVNvsgt+FZ46Vxl9Wa9SI/1a9cdkkwgTzGWI0sKGMb B8LzKnmvLyB8dqHBdUudd71KQtFyhczAL0YDLWv+H26qsTX9ST7aXr5bX+9WxTu8Sw 2Z31p/6GTtbohBMOdRoaJVh/ROY4Sj6TMTImhlhZLBhrrrZ9rM3r11Dd96K90/oNeD KiQOFn2ZgzKaMliOwfs5PPEXu8dwJpTZQtRy/c7DGp3TKRjzeKxRwH4ok5c+RZdKd3 9mzSDd22OnCFg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Paul Burton , linux-mips@vger.kernel.org Cc: Masahiro Yamada , Ralf Baechle , James Hogan , linux-kernel@vger.kernel.org Subject: [PATCH] MIPS: remove meaningless generic-(CONFIG_GENERIC_CSUM) += checksum.h Date: Mon, 21 Jan 2019 11:48:49 +0900 Message-Id: <1548038929-11814-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This line is weird in multiple ways. (CONFIG_GENERIC_CSUM) might be a typo of $(CONFIG_GENERIC_CSUM). Even if you add '$' to it, $(CONFIG_GENERIC_CSUM) is never evaluated to 'y' because scripts/Makefile.asm-generic does not include include/config/auto.conf. So, the asm-generic wrapper of checksum.h is never generated. Even if you manage to generate it, it is never included by anyone because MIPS has the checkin header with the same file name: arch/mips/include/asm/checksum.h As you see in the top Makefile, the checkin headers are included before generated ones. LINUXINCLUDE := \ -I$(srctree)/arch/$(SRCARCH)/include \ -I$(objtree)/arch/$(SRCARCH)/include/generated \ ... Commit 4e0748f5beb9 ("MIPS: Use generic checksum functions for MIPS R6") already added the asm-generic fallback code in the checkin header: #ifdef CONFIG_GENERIC_CSUM #include #else ... #endif Signed-off-by: Masahiro Yamada --- arch/mips/include/asm/Kbuild | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/mips/include/asm/Kbuild b/arch/mips/include/asm/Kbuild index f15d5db..87b86cd 100644 --- a/arch/mips/include/asm/Kbuild +++ b/arch/mips/include/asm/Kbuild @@ -3,7 +3,6 @@ generated-y += syscall_table_32_o32.h generated-y += syscall_table_64_n32.h generated-y += syscall_table_64_n64.h generated-y += syscall_table_64_o32.h -generic-(CONFIG_GENERIC_CSUM) += checksum.h generic-y += current.h generic-y += device.h generic-y += dma-contiguous.h -- 2.7.4