Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1621068pxj; Sat, 12 Jun 2021 14:44:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZ9kYbvZO3ha9lfF4CO0AARMeNCEaP2VVeHIeJDuX89lnqe3wyTldCgJcGhxMXuEStz+gK X-Received: by 2002:a05:6402:1906:: with SMTP id e6mr10041276edz.14.1623534250461; Sat, 12 Jun 2021 14:44:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623534250; cv=none; d=google.com; s=arc-20160816; b=MrsorsNhF5TfXQAgZyS/s4TYaXJ/y0bnnfXLIfFKOtytdCczEO0yM6KnLX3Cg71rbQ ndS7+8Ns+cAsZG7msZD+xrF8haEP94MA1wsVE85qoAJ94Xd4HwvBzUuvOjnwq4IK2AeJ jgMkIh63W0V9Rgic19H8InF4hdcSVxqS/6SMDw+As0McfuCuxENBhNq3G5uqRGmKd7z/ dM03sP/L3mJG4WAgM64wpuInlkBFSQPQb2lSeeAHWQtR5d4of/Yo8HUTF2v5VIzJiPjv why+WrLuxNp7bfLjknj2NGRhCGyzraPCiaZnAxiPN7HDQ8qiMB/QNnYe9f6pad3CCkae buiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=epMHjnPhbNNlT6Qw4ItgSYLiUlQgXsV+IiGQEE2nlc8=; b=OYOJWkhMrGYogEB/PlLBGxpdxLFbm73l9W+g+2fL/kPrxC0JmZwaUDc9Qhr38DRAyp p7znEqAo2pv6j/Xw7Q3WBwRdJmZIocyhmZJTCiCVmv6anXl93PjSAeC3GxqzIvGC5A3X lFfRKZYB0lmFYObjhrKtOFbWeexGXRilMb8BL7dY5/c7TTYpgeX6iS2NCHsWzDwualfb 3+R0QqeZmXUygdeAf3m6jkaEiX7W4SQzvawPnsKQ/wX21YMgBDJdh7hlVm2aKeKscNvt zK1dYciDN0g4hsYjKTVuyDQz3Dp1XPgRN7O/yWD9bzw6x7l7qj2E42KzVK7igSEakEMH x3DQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=l66IJcNg; 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 u15si8936867edt.211.2021.06.12.14.43.47; Sat, 12 Jun 2021 14:44: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=l66IJcNg; 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 S231417AbhFLVmU (ORCPT + 99 others); Sat, 12 Jun 2021 17:42:20 -0400 Received: from mail-pf1-f181.google.com ([209.85.210.181]:45037 "EHLO mail-pf1-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229753AbhFLVmU (ORCPT ); Sat, 12 Jun 2021 17:42:20 -0400 Received: by mail-pf1-f181.google.com with SMTP id u18so7433063pfk.11; Sat, 12 Jun 2021 14:40:09 -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=epMHjnPhbNNlT6Qw4ItgSYLiUlQgXsV+IiGQEE2nlc8=; b=l66IJcNglArpOxWXoB+BLSXBEUKRmWftbpOZsqpk/Y5vB0ZjjYIcpuZSYc+m/mysjb F+D13P7dPAWaURph7SUKPIHgyho8JRfEI4SrdN7yE4+jkly5Lb3N+GWoISiTtOl3Yb+F d3TpGJcq4CWXGq7QtN6WAWJ5DobKZyNLYHHssdgqdVgWJ54JyECO4cSTqF4++jUTCm5t uzSVbA0BF6D83NR+AmVPEECCzTLkuGwF0/y7xOXVlZD9E1ZDjxD99pcDqSpb5EZzwyuI z/WezFkonHwaMMQ1gE/xWPB3CtrdHCRESZHobp5OkwAp2SCUn47quU/CBD9qHYTbppgv NozQ== 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=epMHjnPhbNNlT6Qw4ItgSYLiUlQgXsV+IiGQEE2nlc8=; b=Wpnf8p1QBIbEhSPqvLFArPVms9FSFJTXV2mCqlk/+XvcjQIXREAxwQgCYxUH/Fbmc/ 2wcKT0/CYfAMbeP7hh4NDzK6jBR++Q5xMfSd8+6ZOc+70LnA0CA6vY+9tuilKgMFm6LN wlJjiTdARq+WecVK9EEWyZ59c+nroQYmF/tlHQe9XKQ6Q510YYgV9aaR2rw3WP5XP0Ip AhAyV0pvG/nQLJ/rla1jcMA2071r1qNh8twDeUS29boI4r2xhokqVoifGPDW6Ypj6W+x WnUV7uiNJIPaCPIbP9EjJPPraFyCaJHgkIHxRUYQ/HNnWGO9N671KraW3ucQylsTWap8 HsPg== X-Gm-Message-State: AOAM530Lo6DObHM1wFwOSm3XaZ2O42rO2a7Gps/TgldyPPLFxJCP4a/o sG7WVuxj+OihPSP3qSfgnBLG6XbCrR5Ufqvmx9M= X-Received: by 2002:a05:6a00:139c:b029:2f7:102c:5393 with SMTP id t28-20020a056a00139cb02902f7102c5393mr7941129pfg.40.1623533949479; Sat, 12 Jun 2021 14:39:09 -0700 (PDT) MIME-Version: 1.0 References: <20210612123639.329047-1-yury.norov@gmail.com> <20210612123639.329047-2-yury.norov@gmail.com> In-Reply-To: <20210612123639.329047-2-yury.norov@gmail.com> From: Andy Shevchenko Date: Sun, 13 Jun 2021 00:38:52 +0300 Message-ID: Subject: Re: [PATCH 1/8] bitops: protect find_first_{,zero}_bit properly To: Yury Norov Cc: Linux Kernel Mailing List , Linux-Arch , Benjamin Herrenschmidt , Catalin Marinas , Will Deacon , Yoshinori Sato , Brian Cain , Geert Uytterhoeven , Thomas Bogendoerfer , Jonas Bonn , Stefan Kristiansson , "James E.J. Bottomley" , Palmer Dabbelt , Heiko Carstens , Rich Felker , David Hildenbrand , Jaegeuk Kim , Arnd Bergmann , Andy Shevchenko , Rasmus Villemoes , Andrew Morton , Alexander Lobakin , Samuel Mendoza-Jonas , Jakub Kicinski , Daniel Bristot de Oliveira , Alexey Klimov , Ingo Molnar , kernel test robot Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 12, 2021 at 3:38 PM Yury Norov wrote: > > find_first_bit() and find_first_zero_bit() are not protected with > ifdefs as other functions in find.h. It causes build errors on some > platforms if CONFIG_GENERIC_FIND_FIRST_BIT is enabled. Fixes? > Reported-by: kernel test robot > Signed-off-by: Yury Norov -- With Best Regards, Andy Shevchenko