From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753749AbZHBUTR (ORCPT ); Sun, 2 Aug 2009 16:19:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753735AbZHBUTO (ORCPT ); Sun, 2 Aug 2009 16:19:14 -0400 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:56856 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753727AbZHBUTN (ORCPT ); Sun, 2 Aug 2009 16:19:13 -0400 Date: Sun, 02 Aug 2009 13:19:21 -0700 (PDT) Message-Id: <20090802.131921.19721973.davem@davemloft.net> To: petkovbb@googlemail.com Cc: julia@diku.dk, linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH 15/15] drivers/ide/ide-cd.c: Use DIV_ROUND_CLOSEST From: David Miller In-Reply-To: <20090802135122.GA15279@liondog.tnic> References: <20090802135122.GA15279@liondog.tnic> X-Mailer: Mew version 6.2.51 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Borislav Petkov Date: Sun, 2 Aug 2009 15:51:22 +0200 > On Sun, Aug 02, 2009 at 10:49:54AM +0200, Julia Lawall wrote: >> From: Julia Lawall >> >> The kernel.h macro DIV_ROUND_CLOSEST performs the computation (x + d/2)/d >> but is perhaps more readable. >> ... >> Signed-off-by: Julia Lawall > > Acked-by: Borislav Petkov Applied to ide-next-2.6, thanks.