Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2511537ybl; Mon, 19 Aug 2019 03:18:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqy91wBxfqX9GGoXDrhnNcOYvuVWmJi+hpqttxxnn+idvSQTskI1EC/FoHWkkqmDqdHDDWnc X-Received: by 2002:a17:902:1e3:: with SMTP id b90mr21150651plb.82.1566209892797; Mon, 19 Aug 2019 03:18:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566209892; cv=none; d=google.com; s=arc-20160816; b=aGc2kgT/1+xOXNg5mpVM7ttjBY6tVo+wpdSa8wudatO78nOZ9qz4t0NWtk0XCZm5g1 +ln+s5LqhXyJA+7gsCDxWblgZZ1H5eEiziLQJ98AbGdewSQDb8xc0YpGB/CRIlH9O/iD H24Zse2Z9Qc1w7nAJdJJjNaji+jFuAzy4S9CmOGCu7dXH4INUzVxIWIjJ7YV1WfVCK65 pe1uok3VcXoInmRHYsiztBTzRj4u9GCdhiYK/inOTt5cojodiMJik14/YF5kT/Zuwou1 R7mwVQFww2aSOBO6jGmTCT1nY56qzqA5MJzmgz2gnxApkwBMBCeKT1ump443ylABFTvM 3JJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature; bh=dvoZuXsWbX7lGOYq0TI7+TMlH9iF9uBzei6TSIkQpEo=; b=mfsRqFaXwaqBeyYEcUcq2Cqr0itnqo02HWxEGjdY73rnGlOveSIvlqkKN5bDIc/Bbo x6Bq6uWb7a04hG2r0cbDqufY1aMLzYWU5F7YkalmFardGTrNy+V6EzkhATRZKJ5AfZRr dqvkdWsYkS8PUyXf7IBJKvtm00cagaB7Gaga90CFtSAjkCS9Px20Z2DL/nNT5fOqMhe4 3AaECk+0PrW8ECFS/sOp9a2+C9m0pbzvo8XG87AghBTmO758UGL/c0BTMAEbsdhunUc5 n3qxhNS018A2/TpsLIY9/2fQLVVOAgDTIcLV3eWoc8gs0vlav/RxeR/we89pjs/U2aoZ HoOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="i/VaJFb6"; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h31si9509311pgm.129.2019.08.19.03.17.57; Mon, 19 Aug 2019 03:18:12 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b="i/VaJFb6"; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727259AbfHSKPk (ORCPT + 99 others); Mon, 19 Aug 2019 06:15:40 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:39691 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726692AbfHSKPk (ORCPT ); Mon, 19 Aug 2019 06:15:40 -0400 Received: by mail-pf1-f196.google.com with SMTP id f17so907306pfn.6 for ; Mon, 19 Aug 2019 03:15:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=dvoZuXsWbX7lGOYq0TI7+TMlH9iF9uBzei6TSIkQpEo=; b=i/VaJFb6t3Te0/Ydwxw+vNiDeOkdb+MJcn7TXNKivhdWghXmslO+y9j87467I23K5B UEIdHIp5NmCbO2tD0ms4O0rHfC9npZUxAQBJwWN2F1wOvMf78WZozaAhabZwXV8s6gme kr0uF3g+rOBACFQwNusHDXx0rDj3zT0uXJuO2ELFMqR9kumQa8+cEsOTnGOXV53mYZ/7 eJ2P7RVuUV0As1NWdtd6aa9IAu0zjMd8v1DnOmTKmilI2vqiIRgtnAvAf6f2rEF+Owvk fvCVxPV5Pf7NZim8ShF9cnEGA62qMbfwPvm4GU1U06dDRlFPtwj++Y8rxmEMd5Gr6Np0 hCyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=dvoZuXsWbX7lGOYq0TI7+TMlH9iF9uBzei6TSIkQpEo=; b=qQ6azGBm7GPqv1AU9etSmtI9BESYXxGwI7MgB5e5izShdIn9UpBYaHi5kcu+QHjluG yeoLBX6qiffXw1eLKO3Zj2DvwBhjmO+TZonXx5RP8q7mMKY1CjfTvtSVN5bO0rOBYQYi tokyW+01yF6JQ9Y2vPcuz/H9oNH9d/p1zHkrVgpqnna27fTuIdUR0KL6qVUaGiBfqyaE A9wb7BRkZbt8lGmYpM5gBLi0vXbjd6fAzhV5uwLWP6ZELFmL4kCn/Zs8+8q42Qn+pb56 VMwuFaHuf54abvxddoFe/uI/9FyQEmjjMmLIMxUDrTPDd/Cex5q0XhL8HGwyM3Tgvrb9 9h7w== X-Gm-Message-State: APjAAAVz3EYVp0KUp6HA7giNMruFq/me7C27PsmYGPX8Yce+atLJphAS abXRwHwsRnbVFvVe4ElZPqlVODGrhP7yCuE62jimQpdp X-Received: by 2002:aa7:8488:: with SMTP id u8mr23776800pfn.229.1566209739353; Mon, 19 Aug 2019 03:15:39 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a17:90a:b296:0:0:0:0 with HTTP; Mon, 19 Aug 2019 03:15:38 -0700 (PDT) In-Reply-To: <20190807182316.28013-1-atish.patra@wdc.com> References: <20190807182316.28013-1-atish.patra@wdc.com> From: Jacob Lifshay Date: Mon, 19 Aug 2019 03:15:38 -0700 Message-ID: Subject: Re: [v5 PATCH] RISC-V: Fix unsupported isa string info. To: Atish Patra Cc: linux-kernel@vger.kernel.org, Albert Ou , Anup Patel , Palmer Dabbelt , Johan Hovold , Paul Walmsley , linux-riscv@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/7/19, Atish Patra wrote: > } > } > + if (isa[0] != '\0') { > + /* Add remainging isa strings */ That should be spelled "remaining" > + for (e = isa; *e != '\0'; ++e) { > +#if !defined(CONFIG_VIRTUALIZATION) > + if (e[0] != 'h') > +#endif > + seq_write(f, e, 1); > + } > + } > seq_puts(f, "\n"); Jacob Lifshay