Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1875434imm; Sat, 18 Aug 2018 06:19:39 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxLoSHemyy3Xaj+BCS6Rbk8HIMXvaCPGRmotVYii2K12IUHayCCkHzZ+D8/yzELyw+2EvdY X-Received: by 2002:a63:190e:: with SMTP id z14-v6mr48484pgl.302.1534598379153; Sat, 18 Aug 2018 06:19:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534598379; cv=none; d=google.com; s=arc-20160816; b=ooNmFVxBlmXCvlxD4Vm5tZ3FUnI+PLNqs5ZAtW7C1ZBaizXPdsXDt8eLhLP7KxOIAL Zch6xYPYQY6fIyv96rvNXbDxkAGFqHHMIf3LxwjCIaGXWMLorJHDfpJXHJ6H3v7p8PZo p4STD4O9jZZfzOITVRZXY9a62n+wRWS6h749fUQxWJzrAGXyhNqMTwoOsULC4yVS4OXA Y174LTZ8qnVO+UP2RfROLMoPtcxX9rqomccHOOvCUKTTo/Nb/jB1ImOQLB09mdKl6mQR 1v3xyMBXXxjYavlgUF+i3RQcI9xyhRZinAfsFnzXBl+7GxqrvRRbuWBUXQ3v2tKn06QB 2cQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=smZlwRjCau1h1UsulivlHO6z6gJHSARLxtQ/GIkK74Q=; b=cyDavDbrWJn4M5ZunxNMaMeCadoNJXt43bZVBgDuy+mZFWKqgCMKdCo6+UXN3qGrxL pMvi5zz+LbPjdZbvuq0N2LKCBfQy3p5wkKYOBzyE1oiN6oT2ujxWgyeH0DvbTu4PLr/G rL3rEE/pZGKIF07HLr2YPUKYOmV73ZMeRAgsnBH7/T53FvQfsm7738Ef+H+ZO25+ZDsm /Ff9fb/cGSEct6ImD364y8vKo2eder1uBFcQfiQ/oq0z3wciAKtFHq+qoxOJr7mz8gsO ObQj5EZ/BAQQ6ic7rYuCl21qFIrkQNDoGNJDYodDe3qxCz3eCSxJCg0J6dqdJrDKNy6d zVTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=Hujycri0; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t19-v6si3919112pgu.285.2018.08.18.06.19.24; Sat, 18 Aug 2018 06:19:39 -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=@rasmusvillemoes.dk header.s=google header.b=Hujycri0; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726300AbeHRQYK (ORCPT + 99 others); Sat, 18 Aug 2018 12:24:10 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:43313 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726202AbeHRQYK (ORCPT ); Sat, 18 Aug 2018 12:24:10 -0400 Received: by mail-ed1-f65.google.com with SMTP id j21-v6so5958986edp.10 for ; Sat, 18 Aug 2018 06:16:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=from:to:cc:subject:date:message-id; bh=smZlwRjCau1h1UsulivlHO6z6gJHSARLxtQ/GIkK74Q=; b=Hujycri0SFG7ScwgGzysu78pjnajbGjD0C9oRLzpkKN8ZapElLETJvvHRudMwnmqBp oHMnOOgvrGK3c7AXaXaNzCv5vd6MQT4Kvel/s6JS0s/tT18XS0Ln6u+GFhLIJ+nX6RJZ UkBZDfZrPgl5rp3EGbC3saLQxdpZ6HtmDMNek= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=smZlwRjCau1h1UsulivlHO6z6gJHSARLxtQ/GIkK74Q=; b=sni03qK4+jMCY1q93AJdPqF5/ZTJZ7cYy4wfneSVK86c8661WAtnuZy5kixTp9SgEU P1lqMfucHpYWU1U5bHSxQQdb6pJ2dSr4LEEY2Zoy9S8xlOcP47eZ0/6sctMPDc86QrxE qHvXPt40YO0bIwoe8FDzSl807xDwA7kZVjzpQGVvrWr0H7DCJSXUT8wHBUQBzV/YxDBr yz2bWn/GKBUGX5tUjILshOP4hgzGDcyaF4bXnsLjvmlMX+Hn/s0r7bCx8E/RQm6nhT4I SxHcIVJSuX88pBZszLPZ17ywD4uJm8SvBzj7SvGBumyjM7KHIu1GcQ2LolNouooFqQi+ feig== X-Gm-Message-State: AOUpUlFS29s9Ry/kk6pG7NtJ1pRrkvQE7gv7r0U2SNEJMudB4OUn/wRk UTWYFdut45+CAEX8usLgvLVFwGwL3EjT1A== X-Received: by 2002:a50:b1f3:: with SMTP id n48-v6mr46276029edd.197.1534598188173; Sat, 18 Aug 2018 06:16:28 -0700 (PDT) Received: from prevas-ravi.waoo.dk (dhcp-5-186-114-212.cgn.ip.fibianet.dk. [5.186.114.212]) by smtp.gmail.com with ESMTPSA id r11-v6sm2821403edp.60.2018.08.18.06.16.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 18 Aug 2018 06:16:27 -0700 (PDT) From: Rasmus Villemoes To: Andrew Morton , Yury Norov Cc: Andy Shevchenko , Rasmus Villemoes , linux-kernel@vger.kernel.org Subject: [PATCH 0/7] assorted minor bitmap patches Date: Sat, 18 Aug 2018 15:16:16 +0200 Message-Id: <20180818131623.8755-1-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.16.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A recent LKML thread had me look into bitmap.{h,c} again, and I stumbled on/rediscovered a few things. 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