Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1874059imm; Sat, 18 Aug 2018 06:17:54 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwq8XhTSf99G75GVo/bCPJ8NjpU7/T7XbgcWi1fAWbSfBI47xMgLFmpXRyVlXqjpWbklcnj X-Received: by 2002:a63:1518:: with SMTP id v24-v6mr36597327pgl.162.1534598274409; Sat, 18 Aug 2018 06:17:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534598274; cv=none; d=google.com; s=arc-20160816; b=F8elYBsZOLoyj89gy/NQkDveS62YYKY2WF5wBy6uUKldUxnJ0sfkGru1CDM0JyTiUr 8/O1uyRX4293KrqV+RAqtg/QnYDNjLOX9LWGSsp59lSWjI3sIukQvBmBjCTh603+Qzh/ tbl67MlaP2E0fwVMmLVA1KPW4FCQTSKUfYAkPnxkK+318Snj6LxIXUBVFjuJfrjv9dRK Yqd1eHi07K4IVNqqoxtnE74YSr6kQxEyV/9GbV/Sc6IIiHCuk/FKcD8yRy9galFyQM6f ukHLAAgZTARjlOSnLzfl49zYLO+tF94QFQyuGWWjvbJPmFQSo/KY0Pd1jV4X9DcuggNF 1b5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=MsP5XEX80h3V1E1JTLseW+1xxbWnnezrvkrmyDUenmw=; b=zyROAEBiVrqXg9EoiEvWtRSLigZu+0t5pIdrfWJA2L+Mb2Bq9gjs5881R9/6m0Hi0q ExJ3xxZ5qY/RYInO7Dexc/tOY6qT+HZ5AEJsdwX6w1PK5KBUe1CRUssdGOhiSrRttf6E ZNNrUnYxOYoySx36uT6u+2LJvgmChPgQn+vDyVLHuTFgl0BSI3UHBXnAPvaUYsKJK/F6 m2f6fUiZvPXI3XZoMqc1UQtzUcWlH0osNn+U70Lej5tUwk3RGmUqujHKTkrbZDe76S45 ajI5/yuCR6fvn5xMWOJNi/Jd1/g2ePzRzTq5XfYIAAFjJU5oAAAzCOZx7VSEmoskMTVX gcUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=LdbaQBlv; 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 67-v6si4739288pfc.21.2018.08.18.06.17.39; Sat, 18 Aug 2018 06:17:54 -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=LdbaQBlv; 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 S1726374AbeHRQYL (ORCPT + 99 others); Sat, 18 Aug 2018 12:24:11 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:34075 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726219AbeHRQYL (ORCPT ); Sat, 18 Aug 2018 12:24:11 -0400 Received: by mail-ed1-f67.google.com with SMTP id h1-v6so5981185eds.1 for ; Sat, 18 Aug 2018 06:16:29 -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:in-reply-to:references; bh=MsP5XEX80h3V1E1JTLseW+1xxbWnnezrvkrmyDUenmw=; b=LdbaQBlvpCblJU9PqM59Zre7RjrSRt4h/VOevExvSQTCJd2GTKkVPI30Xz9rnfGuQv DpidolYclIxsFhcCTMeEhH61GpbgbclFIB46yuH2bfPX66d2cxg0NPW/hBAdA938u9ub XT1HzvKmsbTzNIdW0XAHskC/RHzUmHY7ayp14= 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:in-reply-to :references; bh=MsP5XEX80h3V1E1JTLseW+1xxbWnnezrvkrmyDUenmw=; b=kISF6JuEVTp33RZ5FIo/F4WAxd56rEvrExfK3VLQtj+NmMxJPiX9Nv/mvUvPzxajWC NHz1lZLL4wj6mE7/Y2WDNvqWdiC21jyqf5dWLd2WREhKbSqWzVDH2dx4uFUwWDb+JCs9 qNSYCvaD7lUdMolWeuw6aibMFGbctUMewQQ/L0RD9syE0oYXB/1m9sbgY7H+FoA+2UZh 50Y53NoJe7wTeJQRn3osslmnLCNW4f3OusJlr7YLQbQbJAYB5lAKRS5+ejzr8lTcl/tF J1glsltUPUkXFKKEdK9QruhwSP40lLSoXJJ8garwRU1koxR4DjBgbG/TJ1/a/Vt1v4an avBw== X-Gm-Message-State: AOUpUlFlvZHeWz03yS5sqm0nq0GGXci+6Z0ZMIX7deB7sMj3BkRUzDx6 RDAL8XSZ4zxoTD/gPd5pSsa5Qw== X-Received: by 2002:a50:b266:: with SMTP id o93-v6mr47136999edd.173.1534598189209; Sat, 18 Aug 2018 06:16:29 -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.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 18 Aug 2018 06:16:28 -0700 (PDT) From: Rasmus Villemoes To: Andrew Morton , Yury Norov Cc: Andy Shevchenko , Rasmus Villemoes , linux-kernel@vger.kernel.org Subject: [PATCH 1/7] lib/bitmap.c: remove wrong documentation Date: Sat, 18 Aug 2018 15:16:17 +0200 Message-Id: <20180818131623.8755-2-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20180818131623.8755-1-linux@rasmusvillemoes.dk> References: <20180818131623.8755-1-linux@rasmusvillemoes.dk> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This promise is violated in a number of places, e.g. already in the second function below this paragraph. Since I don't think anybody relies on this being true, and since actually honouring it would hurt performance and code size in various places, just remove the paragraph. Signed-off-by: Rasmus Villemoes --- lib/bitmap.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/bitmap.c b/lib/bitmap.c index 58f9750e49c6..1f73b2e52186 100644 --- a/lib/bitmap.c +++ b/lib/bitmap.c @@ -35,11 +35,6 @@ * carefully filter out these unused bits from impacting their * results. * - * These operations actually hold to a slightly stronger rule: - * if you don't input any bitmaps to these ops that have some - * unused bits set, then they won't output any set unused bits - * in output bitmaps. - * * The byte ordering of bitmaps is more natural on little * endian architectures. See the big-endian headers * include/asm-ppc64/bitops.h and include/asm-s390/bitops.h -- 2.16.4