Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp676851ybi; Fri, 24 May 2019 09:37:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqyIWAdVA+lax/nPN0OiwNCzSGGh0/jPk54d4I5pAk8SXoafAyqSKo5D0CnYILn+OKpc7AL2 X-Received: by 2002:a17:90a:d3c6:: with SMTP id d6mr10366877pjw.25.1558715866542; Fri, 24 May 2019 09:37:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558715866; cv=none; d=google.com; s=arc-20160816; b=a0sTBVpBuQ6ukcVAfmzCMheEss5kpGDaYA42+XyOLEfk5q+j5060fevNZ6/Aaosyzd ire9OAoJzHK58VP6SUjJW3pbAhqKtpnqRk9azvm3o4SKeBrSGwFcygq2kLitmfECCHci pxOa2Nqk7M+eQOtkrPtGLTyTW4t5jNY6ItlgXCt6L6EUP+2DECytA2r2iWxN1rOx0QO+ /3BomUiN5kBki1jPCzSPMxcU8t374zliylXLQWYDFdAzxu0TH6P8ZcWb61e5PShYU/yY 2R3Rgm7wAkLgJugGM8afWpDHYb0qgA6oj9E8dd8z/35gS/Ie8PobI1tXQi5abW7u/Mr5 yWMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=TchByjbnRPxMtnJ4YfUtwmZ261fntljgFYTbIZc7tLY=; b=hlV1aLvftL3a+0RgHyGV/rvoNoZKV4UcCYwKcj71wjq5drA+QPdqaAfshgkvnSo6NJ aAabX0cT55SLNh15xUoAGZXmgJ9/c1nR0L6ynZ0obLpqn98TPRRhy3y1lHhN5I0jdPkA qQ0X5CIl2kE352RxJK7mccbXZPqhs0QnWru4DLfi4rjY3rvkFRLvITXODdNm2OodOwKw zcFA3IUJZrre/OwwwJgcORUB12NelcJXPsx+UE/+R3HAbh1JCFgAmnimLT4E1aDTAuyi sqaP3jWefM2dJ3nJw5gq2Cqemipz8R8B/faEAqWme/B4AmyVwALak6yepW8LtNDvocMk OsnQ== ARC-Authentication-Results: i=1; mx.google.com; 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 67si4545261pla.356.2019.05.24.09.37.31; Fri, 24 May 2019 09:37: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; 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 S2391037AbfEXQgG (ORCPT + 99 others); Fri, 24 May 2019 12:36:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:36996 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390210AbfEXQgG (ORCPT ); Fri, 24 May 2019 12:36:06 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 610462133D; Fri, 24 May 2019 16:36:04 +0000 (UTC) Date: Fri, 24 May 2019 12:36:02 -0400 From: Steven Rostedt To: Nikolay Borisov Cc: Roger Willcocks , Linus Torvalds , LKML , Ben Skeggs , David Airlie , Daniel Vetter , Leon Romanovsky , Doug Ledford , Jason Gunthorpe , "Darrick J. Wong" , linux-xfs@vger.kernel.org, dri-devel , nouveau@lists.freedesktop.org, linux-rdma , Andrew Morton Subject: Re: [RFC][PATCH] kernel.h: Add generic roundup_64() macro Message-ID: <20190524123602.402c01b4@gandalf.local.home> In-Reply-To: References: <20190523100013.52a8d2a6@gandalf.local.home> <20190523112740.7167aba4@gandalf.local.home> <20190524112656.5ef67c6c@gandalf.local.home> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 24 May 2019 19:30:45 +0300 Nikolay Borisov wrote: > > Yes I do. I corrected it in my next email. > > > > http://lkml.kernel.org/r/20190523133648.591f9e78@gandalf.local.home > > Or perhaps just using is_power_of_2 from include/linux/log2.h ? Even better. Thanks, -- Steve