From patchwork Sun Dec 5 06:41:16 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaud Lacombe X-Patchwork-Id: 380681 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oB56aBSd015917 for ; Sun, 5 Dec 2010 06:42:10 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753026Ab0LEGmK (ORCPT ); Sun, 5 Dec 2010 01:42:10 -0500 Received: from mail-yx0-f174.google.com ([209.85.213.174]:64339 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752263Ab0LEGmJ (ORCPT ); Sun, 5 Dec 2010 01:42:09 -0500 Received: by yxt3 with SMTP id 3so4973107yxt.19 for ; Sat, 04 Dec 2010 22:42:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=xqZ9w3HFRt5K0mmL4V+VuHPTl8jlzSQ/sPvlv3KUrXQ=; b=RIykUZVr7tcuAR6HVeH55NJyT/0e9hUGHzdLuEk81pFp5G/jIVY9yYlCcgzHvChW58 y2kW1L0XOopUOt2XtZxhjICKU89d82GOi2GGF1acM20vM2Pb/84qNjqEvnFKdWIZLhtd PGKChPoVyiDycZg/jagyHRO3me3/XuL6PSb9g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=RI91ri9YdBpLiTOtkoy2H8PS8hqLe48rzGfrhBowJ6hf3dnRXyOsyZw77scqV2ZLf6 FpCdVIcGQ8MKTp1LjO4+yx3T8UqN/bcKLHQL4QUkqskGbJuUkyLTTw1KhuCJ1TVd6pX9 F/HRfV+SQSkTMSSeoJwbTP3edgwpmknMduhUc= Received: by 10.100.171.10 with SMTP id t10mr2956019ane.26.1291531328670; Sat, 04 Dec 2010 22:42:08 -0800 (PST) Received: from localhost.localdomain (75-119-248-218.dsl.teksavvy.com [75.119.248.218]) by mx.google.com with ESMTPS id x31sm3881518ana.29.2010.12.04.22.42.07 (version=SSLv3 cipher=RC4-MD5); Sat, 04 Dec 2010 22:42:08 -0800 (PST) From: Arnaud Lacombe To: linux-kbuild@vger.kernel.org Cc: Arnaud Lacombe Subject: [PATCH 3/5] kconfig: fix typos Date: Sun, 5 Dec 2010 01:41:16 -0500 Message-Id: <1291531278-7395-3-git-send-email-lacombar@gmail.com> X-Mailer: git-send-email 1.7.2.30.gc37d7.dirty In-Reply-To: <1291531278-7395-1-git-send-email-lacombar@gmail.com> References: <1291531278-7395-1-git-send-email-lacombar@gmail.com> Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Sun, 05 Dec 2010 06:42:10 +0000 (UTC) diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c index 6f2f3a4..b2d9486 100644 --- a/scripts/kconfig/confdata.c +++ b/scripts/kconfig/confdata.c @@ -992,7 +992,7 @@ static void randomize_choice_values(struct symbol *csym) int cnt, def; /* - * If choice is mod then we may have more items slected + * If choice is mod then we may have more items selected * and if no then no-one. * In both cases stop. */ @@ -1088,10 +1088,10 @@ void conf_set_all_new_symbols(enum conf_def_mode mode) /* * We have different type of choice blocks. - * If curr.tri equal to mod then we can select several + * If curr.tri equals to mod then we can select several * choice symbols in one block. * In this case we do nothing. - * If curr.tri equal yes then only one symbol can be + * If curr.tri equals yes then only one symbol can be * selected in a choice block and we set it to yes, * and the rest to no. */ diff --git a/scripts/kconfig/symbol.c b/scripts/kconfig/symbol.c index e42240d..3acce4d 100644 --- a/scripts/kconfig/symbol.c +++ b/scripts/kconfig/symbol.c @@ -688,7 +688,7 @@ const char *sym_get_string_default(struct symbol *sym) switch (sym->type) { case S_BOOLEAN: case S_TRISTATE: - /* The visibility imay limit the value from yes => mod */ + /* The visibility may limit the value from yes => mod */ val = EXPR_AND(expr_calc_value(prop->expr), prop->visible.tri); break; default: