Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2801873imm; Sun, 19 Aug 2018 05:41:46 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxP0CQhjR+/70YomFjgU2ySUvZn6xRgK8yKgUQGh+AOozq2YR2oJXQ4YR49c3Rq8c1zRwsd X-Received: by 2002:a63:e60c:: with SMTP id g12-v6mr39965857pgh.308.1534682506286; Sun, 19 Aug 2018 05:41:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534682506; cv=none; d=google.com; s=arc-20160816; b=VONuqOYmUMK2FMb7F8gMsDKV7MHQfGcq6BuQmz/Rzfo1OwqtZ+xsiZr986vUM4ogsi Eovm2FgA3YTkLTWnVCOevkgSSW6xQrl9MSzaEuWEkE2GGrw/nLRFmeVoe69PL0KB4SmT As+7WTH1BxGI4rIAPU7nuyfWrUgVRSMYulABrrTHMhZM9YhgWlaHADbWbGtH+fyxNAs2 j/zhApLsywrOzum1bdzXZ1OyartpOjznfqsIxqctERsF7oWZEMUf23PaFB5i7Zc7yclF iOtiqTvsnndQd9JlQZE6cazb8v0y3S4O38psvJh7BN69yi/a1JFBICqNgZ9LH6Jx2T29 WJXA== 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 :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=U3/oEBIxi3HeTu12thnL/2kwqwPm/kiUzSMp2rXuYT0=; b=Olb4RbsW4ZPcVol1uFbrE56ucpd+Dhf1h7qAzSuBNK8f0oyDtZXdPrt3IbbKWGpUsm Y5D0lwtEig9E25BDOuaQXA6VJ87uqB+9F4KW7Wb/RmRGxMYNEv7Zmw9Cj2pq3kOXqNGW Smz2BsFo5FXmeGRPcbflc6on2KO0iVoIlF406tpzVUh7pXtgEcnpiFEvPufV9hTpW0Nh SlPAPPfehSe4iJEKFTmJlgzxPaMYpNAkz0h5bh+VA3q5eOdbS3So+1Ch1Roe1Ju2VsCT KxvLERdQ3jqpS7zpmvOmEBfU1r59s7DTxhejfDFBsGfOodw4X03GM1b9JnpmsuSDJ1wW dSRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="CgvDtK9/"; 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 d10-v6si6871433pgg.341.2018.08.19.05.41.30; Sun, 19 Aug 2018 05:41:46 -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="CgvDtK9/"; 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 S1726543AbeHSPun (ORCPT + 99 others); Sun, 19 Aug 2018 11:50:43 -0400 Received: from mail-qk0-f194.google.com ([209.85.220.194]:40305 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725940AbeHSPun (ORCPT ); Sun, 19 Aug 2018 11:50:43 -0400 Received: by mail-qk0-f194.google.com with SMTP id c126-v6so9163453qkd.7 for ; Sun, 19 Aug 2018 05:39:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=U3/oEBIxi3HeTu12thnL/2kwqwPm/kiUzSMp2rXuYT0=; b=CgvDtK9/lUTcUJjP+bKIwxecu6VZ2if2I5TNC61GlLRqsO+X3Dqyv3HrHenvSkxsgA +bu7/+lmf0NYet8vlzka0wyCJ0bthffCbjj6S0wlAcfWMvhewCSLs/IMO+KER/DrRFS+ TCaxb1ZczYxyUWUAk0tnaIHt/7tqBiVTVTYch4U7tWnik4JlzYUKTDHJXgJ7uMMy9GAr GauC0OabTdt1zZ4B66RmaensDDgZtWnFCtM0B9Zg8o/B5yG+ac8LezmjAqdyl7r1wzGV TxRUinAfgnmb2/m5SkV64c9VS4dOs6P7s3OMn+auZsFFrvE+AJ6Wsfv4/oOfXdBvRGnK LA5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=U3/oEBIxi3HeTu12thnL/2kwqwPm/kiUzSMp2rXuYT0=; b=cILQ49SvMqRkszyzrLQ80gOdduAuiAsrEBEnIBJz3dQ4dWlpZX45fG1JwxIJFTQLW7 WykQVHl7MPXo0FDZTD03cDwmyWAaf6RpmypJPvZt15Z4435VRV87u2nLVkspyGhNu7pm ZctmD1pWY1/UDa0MGwydvEb8uDoYbT1JSKJ69ef29fb8cThFZtZ8/TvdUMGY1dWkerjJ 2TsnIMRGT6ZYsnlTmxOGz4sVtzkqGjjFORAjIuCCcExSOKkmmQ5dzT0+ydPUKMjNo/GJ HoMg5fxJw/QEg2XILwb9nZeDCSlP+4i79Sdxhgshe1VyhptNKfLrP4mVYv6wL8Z+PrPW qA+w== X-Gm-Message-State: AOUpUlE9slnZHzJSAUz4c+6wU4eGQ+kfBgERYNOxStCzDzGwuzq58LGA pLwTcGbr6bU9nc/x0g9xoiv7LpnSkLWuY5HyYjE= X-Received: by 2002:a37:7004:: with SMTP id l4-v6mr36256964qkc.83.1534682362276; Sun, 19 Aug 2018 05:39:22 -0700 (PDT) MIME-Version: 1.0 References: <20180818131623.8755-1-linux@rasmusvillemoes.dk> In-Reply-To: <20180818131623.8755-1-linux@rasmusvillemoes.dk> From: Andy Shevchenko Date: Sun, 19 Aug 2018 15:39:11 +0300 Message-ID: Subject: Re: [PATCH 0/7] assorted minor bitmap patches To: Rasmus Villemoes Cc: Andrew Morton , Yury Norov , Andy Shevchenko , Linux Kernel Mailing List 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 Sat, Aug 18, 2018 at 4:17 PM Rasmus Villemoes wrote: > > A recent LKML thread had me look into bitmap.{h,c} again, and I > stumbled on/rediscovered a few things. > Good fixes, thanks! Reviewed-by: Andy Shevchenko P.S. Perhaps needs addressing my comment to patch 6. > Rasmus Villemoes (7): > lib/bitmap.c: remove wrong documentation > linux/bitmap.h: handle constant zero-size bitmaps correctly > linux/bitmap.h: remove redundant uses of small_const_nbits() > linux/bitmap.h: fix type of nbits in bitmap_shift_right() > linux/bitmap.h: relax comment on compile-time constant nbits > lib/bitmap.c: fix remaining space computation in > bitmap_print_to_pagebuf > lib/bitmap.c: simplify bitmap_print_to_pagebuf > > include/linux/bitmap.h | 37 +++++++++++++++---------------------- > lib/bitmap.c | 21 +++++++-------------- > 2 files changed, 22 insertions(+), 36 deletions(-) > > -- > 2.16.4 > -- With Best Regards, Andy Shevchenko