Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 30112C433B4 for ; Thu, 13 May 2021 18:56:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0A9E1610F8 for ; Thu, 13 May 2021 18:56:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231905AbhEMS5V (ORCPT ); Thu, 13 May 2021 14:57:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:45366 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231844AbhEMS5V (ORCPT ); Thu, 13 May 2021 14:57:21 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B3E36613DF; Thu, 13 May 2021 18:56:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620932171; bh=YB+x1uWJJXbxDHCJJWi/oKYLuH4rg7wMjIce54jHnIk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=2ll+Ro1CUt0ktrq8IuZtyJTBkD88MPjAFHtliBR9Fvw1qA3ThF58w3RwaknULOiyh AxpaJo3NhPFnp+zzKjlQOtNqG0KXNvW/CfEf8a0el4Qq+SBwa1A+47J8xD0WmqhEih SC1DLw0qbvwrEgoHOuB4xuYuAFuPfSojx/HDq12I= Date: Thu, 13 May 2021 20:56:09 +0200 From: Greg KH To: Emmanuel Grumbach Cc: linux-wireless@vger.kernel.org, johannes.berg@intel.com, tomas.winkler@intel.com, luciano.coelho@intel.com, Ayala Beker Subject: Re: [PATCH v2 2/3] iwlwifi: mei: add the driver to allow cooperation with CSME Message-ID: References: <20210412124328.24472-1-emmanuel.grumbach@intel.com> <20210420172755.12178-1-emmanuel.grumbach@intel.com> <20210420172755.12178-2-emmanuel.grumbach@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210420172755.12178-2-emmanuel.grumbach@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Tue, Apr 20, 2021 at 08:27:54PM +0300, Emmanuel Grumbach wrote: > +#define ROUND_UP_TO(x, y) (((x) + (y) - 1) / (y) * (y)) What's wrong with roundup() that the kernel provides? Please don't reinvent things we already have :( thanks, greg k-h