Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp2010894ybm; Sun, 31 May 2020 05:50:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrwk9fuY0IrkK+AbkBk6jBpUhttXRjaU2oC9Jqe3e4NT5g85F3jeJbh6qDUvQZMpB11w6t X-Received: by 2002:a50:d553:: with SMTP id f19mr17042630edj.219.1590929455312; Sun, 31 May 2020 05:50:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590929455; cv=none; d=google.com; s=arc-20160816; b=SLTug3mcLQagBfRWIvGC9A1hCoW/47dfMxSbsADiO2v8MAY+9c7yDuqGiWeKGyc7Xf vmbFj0OKTnnGB2tQkgTW6DQq1QOAPwHVWeVzRTzfp9xnfiFidmzVr/qNJNRVGR0tEvqx wvSZ9iYRjb2UXwyw8orpiSAGvuizrZP9yrRAZoWOPBM7dhN+aVrQ8EtvGF7ABFBKwpLq NPjIMGyi+cSHFGzyk/Ojq5w7o/vMKfbI1+2o+3NeWeYPhqLLAU6glkSIKJGKSQY2rllw ywXoBJrANTdZJvefeNDwsvfMEWg6u+mS+SqERFN4IXd4YIRRKXuGDnF+a9WrpdcRO2uA BBJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=vAcOiewiM0GfwCw2XnuxYEzbIf1e34d11aUvmTPE/c8=; b=v7cX3ZicY8y8f5K4vAq7w3f4l4qJ6jwekGEMlgQMU0Fg6ksGbuDbAtoDUZLmmOaYol V/PxTC2b1F8YUQrNUcu3cPMYnAsowI/rCHW+c+yJQMfr6lLtsj2debA4stNVIC4XhWul TGZ28SJ8Au4efpLDJLN2xy3kRdC6alblFjSVxpsO0TxYBn0yUItf0veCHIGpG5F+t9nr l0LyJrtv8VgQjoJnp0yUpirhPqRPq6NgZb4dc3ReoRwuG4fYgXd9X460knS/0Gw7q5cT n0ptAZhE7KsOR3hXwz7vM2nVNif+dEdjsljkItnyMQrSnzmQCZpES/0AbCQCks6LbBFs alLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AxmBpl43; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v8si9107140edd.58.2020.05.31.05.50.32; Sun, 31 May 2020 05:50:55 -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=@gmail.com header.s=20161025 header.b=AxmBpl43; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726951AbgEaMrP (ORCPT + 99 others); Sun, 31 May 2020 08:47:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725889AbgEaMrN (ORCPT ); Sun, 31 May 2020 08:47:13 -0400 Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5559C061A0E for ; Sun, 31 May 2020 05:47:11 -0700 (PDT) Received: by mail-ed1-x544.google.com with SMTP id m21so5164922eds.13 for ; Sun, 31 May 2020 05:47:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-disposition:in-reply-to:user-agent; bh=vAcOiewiM0GfwCw2XnuxYEzbIf1e34d11aUvmTPE/c8=; b=AxmBpl43qmr1n4pMYsrWnuMrKz0emm4HEPhS4rQZALGPVFt7WwlJXXy+AlzsfuY7/5 ny+Mk9nnc2S5h5M2WWbq1LqVajGB0pxvY7Ods3ieiCZ09XF2BbhjeZi1gOOoxu8+283S 6BysulO5bbTAEmoqj21cr8szOzl/y6hdK2U8/QHAXlUIJ5JdrXPk28lUyL1KLse0em6z HTh1k1l2kJTG1h++MkeeE4sPhm9OJ7CSC5xmUAK2SYzHgfWKaEYXji82JqX81J/sm7t4 bHcMlF3ycyU4aJIGlbtclgnzWufvMW/ntMPsmwCshabL92kdrtuZgDboJtmds+7CopRK 8AcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:reply-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=vAcOiewiM0GfwCw2XnuxYEzbIf1e34d11aUvmTPE/c8=; b=GNRsCXfbxnpyfTqq793ixr3wY6+sUolkYI0yTaTxXpzH8dP/5dKF9Hsr9Fr4gsDIJN XIKV6PhocRcYO5a0cv6TfDNeOnG+ZqaFwQyzU5SvxzQUsrDjHvBn9+bqPNjY/YjvQtth w7IvXybWN5/1YyZ9yjT/BEy7uXgqHFN3oBBjUdaMGefQnaGgKEFeWZdqRu29wV4SbBjB BCUxP+gHr6K4p2uwKD/04nmMa6g0pPxEl9XisbFpMXvf9wdagGhR3zVhPzCjkcVa8F59 8NgSkpWuPh155KsCYZQthWcTtHwYu9wLcs4QmWoSgMWkiSuPUu+Hbhxt+jAZ4ZSUM9D8 vvvA== X-Gm-Message-State: AOAM5326Cl6/ElxPQCGJ389L/P9dLzsYuZIY5mVMVffNz014Wa2vkuC0 n/srlI+l9yVj0vb03euPg4c= X-Received: by 2002:a50:b2e1:: with SMTP id p88mr17120454edd.198.1590929230528; Sun, 31 May 2020 05:47:10 -0700 (PDT) Received: from localhost ([185.92.221.13]) by smtp.gmail.com with ESMTPSA id lf23sm12245273ejb.46.2020.05.31.05.47.09 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 31 May 2020 05:47:09 -0700 (PDT) Date: Sun, 31 May 2020 12:47:09 +0000 From: Wei Yang To: Andy Shevchenko Cc: Wei Yang , Andy Shevchenko , Andrew Morton , Christian Brauner , Linux Kernel Mailing List Subject: Re: [PATCH] lib: make a test module with get_count_order/long Message-ID: <20200531124709.c7o7pw7o2rfv4klc@master> Reply-To: Wei Yang References: <20200530004328.30530-1-richard.weiyang@gmail.com> <20200530102531.GA1634618@smile.fi.intel.com> <20200530211940.yninqlngnzfvsvki@master> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, May 31, 2020 at 12:56:29AM +0300, Andy Shevchenko wrote: >On Sun, May 31, 2020 at 12:23 AM Wei Yang wrote: >> On Sat, May 30, 2020 at 01:25:31PM +0300, Andy Shevchenko wrote: >> >On Sat, May 30, 2020 at 12:43:28AM +0000, Wei Yang wrote: >> >> A test module to make sure get_count_order/long returns the correct result. >> > >> >> lib/Kconfig.debug | 13 ++++++ >> >> lib/Makefile | 2 + >> >> lib/test_getorder.c | 64 ++++++++++++++++++++++++++++++ >> > >> >I didn't get why it's not a part of test_bitops? >> > >> >> I see the document of test_bitops says it does exercise on clear_bit and >> set_bit. So not sure it is proper to put them together. > >It's not a problem to amend a documentation as well :-) > Sure. I am fine with this. Andrew, do you expect me to merge it into test_bitops.c? >-- >With Best Regards, >Andy Shevchenko -- Wei Yang Help you, Help me