Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp1601440ybm; Sat, 30 May 2020 14:22:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/i1i9K+O4wSE83gzw1aj1yzg4Jj0QkYKectZmzjqrEqgXJsdK5FJlH/yv6tEvTbguq7vf X-Received: by 2002:a17:906:d215:: with SMTP id w21mr12804247ejz.383.1590873730539; Sat, 30 May 2020 14:22:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590873730; cv=none; d=google.com; s=arc-20160816; b=b9AfBvRcAajB4KIBadWv+dwUs7aaLVxtaBM1e9AB5ACL0+1j7ijTqGyO3x1OzkKlmN k5vtwR5KRo/J8PjXalGLV3ZEtpRzbpYbyGIhpw4HIrhV2ND3emZfXSApKW6sahPhPvdx c8MbuZJDSMVFZ96LODAoAJi+Rzt5g3A0kgdbVsEquy0NyQKSiDz5L95edZtvmKPirsnM 0EaE7aHVEU17KfzrqQ/44Ifj96zukWYFuR6+cKayaAmX6BUZyqIeDvsZ1F8WOeFUzGAJ hvvcVA8deg/0ku1SNclrpmjyg3psCmZOqBsChE3eAyhYSsJ4vA++FrJvwI/rUWPp1yQu HGBg== 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=brLuk/7nKmQrq9OdsWk89Pl0Pl7TBX9LKXsVmuQiI/s=; b=h890Z/EXn4DJ593G0j+s+//MDtyxbaq4oTqkArE+ygYCDD9cP61+wbiYh0EggWIWon GMpu3vxTjQrTLWNc56wSTdbJxHUyUurd28GbmBekpUSJAPIBOVexolnm688eTspRFA7c 3MdGKZTn/UCv9TXxEGXpcygDckvuj4UATTx1ZsLjAKX0axRBha9V2Irkrb5xG+nKUxJA 6PGsro1VyOlpfTvgYlzpLUws+bTalxzWLLmCZJn3DKYyBEw8z0kOQTmzLZUb+XzGVtIm rwUy9QTEfITTPhZyzCXjkJaq9+3/nafXZazLHVT6JMq7osmQ/XRoOeCTEqxrpvLHPyPR EFcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tNpSqQ5V; 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 a39si6341676edf.25.2020.05.30.14.21.47; Sat, 30 May 2020 14:22:10 -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=tNpSqQ5V; 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 S1729368AbgE3VTo (ORCPT + 99 others); Sat, 30 May 2020 17:19:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728741AbgE3VTn (ORCPT ); Sat, 30 May 2020 17:19:43 -0400 Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B718C03E969 for ; Sat, 30 May 2020 14:19:43 -0700 (PDT) Received: by mail-ej1-x641.google.com with SMTP id x1so5539614ejd.8 for ; Sat, 30 May 2020 14:19:42 -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=brLuk/7nKmQrq9OdsWk89Pl0Pl7TBX9LKXsVmuQiI/s=; b=tNpSqQ5VC34UhuLF6P7w6PvXgsmGVU9DiLW8qcRDHAARcmlP7upty+uniT+lFNdC/1 ar6UZGyI7GH5UQfIbPiqxt8BJLYXWkNmbz0DICXqvgQfpuIVSLkHrlaXmxyQTv5AQ+2v gVOrIJUy2f0ps8czEo459gRt3BqmbUHqESTjMrmW8EI6L3hthmhKVkwNNWFsxd66Z7C8 Z94FAbCPNxq/a7nozA2pVcF1uim1qOo3gG5vA+em0oY5NDYB8Wx/bBeb6YyYgMhUG2Bj 6tFUa2A6PlEGiF5ti/3If1TiV92Rs1N9cFO6ALboc6iFMTUSvlIYzoRQST+RWphENF+X DMTA== 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=brLuk/7nKmQrq9OdsWk89Pl0Pl7TBX9LKXsVmuQiI/s=; b=BWQOO2Hm4ra1UUVg+/GQONssa8pqWCeBsjHzkt6bR+/Xc+9ME/inEeDEjXd3ecS1cw pMp2WwTBAEhCeCHQn+jgHK0SdGGAWSfiL+T1T2Mc9GcCJShaxj7DLcQET/Ce5Ah9augW T4HdhyWo4CLPg/kXE8GsOOczC8VlDpSb/8Vnh/P0bBicXom//5eeZI777PwY6hio8d/D tU2bi3j/Y7unfbmxyK+8yXwVDg6ZLfb/ZEFK43ySSfuJpn4u2G+K/WDD7ViiIe4JbYVI I5MEDN7lBphFYIc5onC6S9jV7VTiYiV4/cApPtO+YmjV00cpnODCPqzadv9ucFyVJsCf H67A== X-Gm-Message-State: AOAM531mqlP1Bz6FXFR4hOX4SP0l7YSAGqzGvgLZ4ZK5HOhr2lSbXNbB osYWBec0PM0CcKYp26e4y6A= X-Received: by 2002:a17:906:5285:: with SMTP id c5mr2813445ejm.372.1590873581808; Sat, 30 May 2020 14:19:41 -0700 (PDT) Received: from localhost ([185.92.221.13]) by smtp.gmail.com with ESMTPSA id c34sm11112129edd.7.2020.05.30.14.19.40 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 30 May 2020 14:19:40 -0700 (PDT) Date: Sat, 30 May 2020 21:19:40 +0000 From: Wei Yang To: Andy Shevchenko Cc: Wei Yang , akpm@linux-foundation.org, christian.brauner@ubuntu.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] lib: make a test module with get_count_order/long Message-ID: <20200530211940.yninqlngnzfvsvki@master> Reply-To: Wei Yang References: <20200530004328.30530-1-richard.weiyang@gmail.com> <20200530102531.GA1634618@smile.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200530102531.GA1634618@smile.fi.intel.com> 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 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. >-- >With Best Regards, >Andy Shevchenko > -- Wei Yang Help you, Help me