Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753107AbbETTWz (ORCPT ); Wed, 20 May 2015 15:22:55 -0400 Received: from mail-ig0-f180.google.com ([209.85.213.180]:38714 "EHLO mail-ig0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752009AbbETTWx (ORCPT ); Wed, 20 May 2015 15:22:53 -0400 Message-ID: <555CDF0A.9080006@kernel.dk> Date: Wed, 20 May 2015 13:22:50 -0600 From: Jens Axboe User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Jagan Teki , linux-kernel@vger.kernel.org CC: Wolfram Sang Subject: Re: [PATCH] block: Use BIT macro from include/linux/bitops.h References: <1431976472-27596-1-git-send-email-jteki@openedev.com> In-Reply-To: <1431976472-27596-1-git-send-email-jteki@openedev.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 410 Lines: 13 On 05/18/2015 01:14 PM, Jagan Teki wrote: > Replace (1 << nr) to BIT(nr) where nr = 0, 1, 2 .... 31 I don't like it, I think it hurts readability. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/