Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752426AbcDYJpF (ORCPT ); Mon, 25 Apr 2016 05:45:05 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:32856 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751742AbcDYJpD (ORCPT ); Mon, 25 Apr 2016 05:45:03 -0400 Subject: Re: [PATCH] Use MICRO UINT_MAX instead of actual value To: Minfei Huang , keith.busch@intel.com, axboe@fb.com References: <1461554009-1695-1-git-send-email-mnghuan@gmail.com> Cc: linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org From: Sagi Grimberg Message-ID: <571DE71A.7060408@grimberg.me> Date: Mon, 25 Apr 2016 12:44:58 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <1461554009-1695-1-git-send-email-mnghuan@gmail.com> Content-Type: text/plain; charset=windows-1252; 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: 166 Lines: 5 > It's more elegant to use MICRO UINT_MAX to represent the max value of > type unsigned int. So replace the actual value by using this MICRO. You mean macro right?