Received: by 10.223.176.5 with SMTP id f5csp2756040wra; Mon, 5 Feb 2018 09:19:09 -0800 (PST) X-Google-Smtp-Source: AH8x2243Wzd332f+YA9l4n9nQES51WZB23353w7LV7YG075wBsNWlKjyLX9lWzF7AMN6nxNaAUwL X-Received: by 10.98.72.206 with SMTP id q75mr5479069pfi.219.1517851149128; Mon, 05 Feb 2018 09:19:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517851149; cv=none; d=google.com; s=arc-20160816; b=LNabvF7Ia1o46UPfaDFMqLxZDRjlj5P/4P6/kaXBYfrupXsnBWab9GQfrUNKMw4UWi B2NON0uNzOuMvpH2ZngNGehXwZFKyGFYEH8znKRh27RylMa/6KwOfR2EnomsCCYxzLr7 EULlT0Lu3UGMz2y1J2wDp7eQvGlUZ1MlL3EzL7875UChR0XcDDVQyteJwDjpauA8kfli 0T2qWuGTXz0i4P1fcz9MmMQUmR+skrdjK55vslODafMGKWnY5OW92hY/gkC+u4T4rBcK J0p0IcJCyUeH3MMi3ES5CGyxuO7v6JCB2tJ47jgiZpeYTy+11spfrAfQwTZF+ih1fLT0 0qog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:newsgroups:cc:to:subject :arc-authentication-results; bh=9ayFietUZXwzKZmcRs8OAGRlGk+Yo/szClcReyXciTg=; b=BrV5YE+6lhLWCqqvQ3UcrE4LH5jsSxKBwWeLYKPBFuIJGcV5iRtewC07SUEIQcvDyq H8lSNuF7ATyU1+/1lomP+a+5tPKCOncylTNI0GMr4zndr/X04VP/+v0MVPnKWS+Edrai dtK0wbnRU6S7GqMZqTcpZR2gakHYfx4XQfMu8irCyaTwPLCKMC/FgklPXXu1jWXENi1r ceAtHvZdNWie59CKag+yz0NlHQyeTy4M9c7S0yKVLoara+ToavKYDp+FYLAEymiiTEXB JX/uxc1yX8xFM4WyUD3kTip0JGEqetaJVz8FKBXpm08yAprr5Pe4nKKQCI93K+NIDz1O 438A== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e13si5679687pgq.476.2018.02.05.09.18.54; Mon, 05 Feb 2018 09:19:09 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753359AbeBERSP (ORCPT + 99 others); Mon, 5 Feb 2018 12:18:15 -0500 Received: from smtprelay2.synopsys.com ([198.182.60.111]:36034 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752787AbeBERSI (ORCPT ); Mon, 5 Feb 2018 12:18:08 -0500 Received: from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239]) by smtprelay.synopsys.com (Postfix) with ESMTP id 9576E10C0997; Mon, 5 Feb 2018 09:18:06 -0800 (PST) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id 69A1A500; Mon, 5 Feb 2018 09:18:06 -0800 (PST) Received: from US01WEHTC3.internal.synopsys.com (us01wehtc3.internal.synopsys.com [10.15.84.232]) by mailhost.synopsys.com (Postfix) with ESMTP id 3EECF4ED; Mon, 5 Feb 2018 09:18:05 -0800 (PST) Received: from IN01WEHTCA.internal.synopsys.com (10.144.199.104) by US01WEHTC3.internal.synopsys.com (10.15.84.232) with Microsoft SMTP Server (TLS) id 14.3.266.1; Mon, 5 Feb 2018 09:18:05 -0800 Received: from IN01WEHTCB.internal.synopsys.com (10.144.199.106) by IN01WEHTCA.internal.synopsys.com (10.144.199.103) with Microsoft SMTP Server (TLS) id 14.3.266.1; Mon, 5 Feb 2018 22:48:02 +0530 Received: from [10.10.161.84] (10.10.161.84) by IN01WEHTCB.internal.synopsys.com (10.144.199.243) with Microsoft SMTP Server (TLS) id 14.3.266.1; Mon, 5 Feb 2018 22:48:01 +0530 Subject: Re: [PATCH 19/20] ARC: Fix malformed ARC_EMUL_UNALIGNED default To: Ulf Magnusson , CC: , , , , , , , , , , , , , , , , Newsgroups: gmane.linux.kernel.arc,gmane.linux.kernel,gmane.linux.kbuild.devel References: <20180205012146.23981-1-ulfalizer@gmail.com> <20180205012146.23981-20-ulfalizer@gmail.com> From: Vineet Gupta Message-ID: <2e1dcff1-8bf6-39ce-9646-2441a78a3e34@synopsys.com> Date: Mon, 5 Feb 2018 09:17:53 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180205012146.23981-20-ulfalizer@gmail.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.10.161.84] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/04/2018 05:21 PM, Ulf Magnusson wrote: > 'default N' should be 'default n', though they happen to have the same > effect here, due to undefined symbols (N in this case) evaluating to n > in a tristate sense. > > Remove the default from ARC_EMUL_UNALIGNED instead of changing it. bool > and tristate symbols implicitly default to n. > > Discovered with the > https://github.com/ulfalizer/Kconfiglib/blob/master/examples/list_undefined.py > script. > > Signed-off-by: Ulf Magnusson Added to ARC for-curr. Thx, -Vineet > --- > arch/arc/Kconfig | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig > index f3a80cf164cc..d76bf4a83740 100644 > --- a/arch/arc/Kconfig > +++ b/arch/arc/Kconfig > @@ -484,7 +484,6 @@ config ARC_CURR_IN_REG > > config ARC_EMUL_UNALIGNED > bool "Emulate unaligned memory access (userspace only)" > - default N > select SYSCTL_ARCH_UNALIGN_NO_WARN > select SYSCTL_ARCH_UNALIGN_ALLOW > depends on ISA_ARCOMPACT >