Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754106Ab3EMHKy (ORCPT ); Mon, 13 May 2013 03:10:54 -0400 Received: from mail-ob0-f176.google.com ([209.85.214.176]:57910 "EHLO mail-ob0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750866Ab3EMHKw (ORCPT ); Mon, 13 May 2013 03:10:52 -0400 MIME-Version: 1.0 In-Reply-To: <1368428882.5360.3.camel@sauron.fi.intel.com> References: <1365860324-21295-1-git-send-email-linkinjeon@gmail.com> <1368428882.5360.3.camel@sauron.fi.intel.com> Date: Mon, 13 May 2013 16:10:51 +0900 Message-ID: Subject: Re: [PATCH 3/8] mtd: use generic helper to set max_discard_sectors From: Namjae Jeon To: dedekind1@gmail.com Cc: dwmw2@infradead.org, axboe@kernel.dk, shli@kernel.org, Paul.Clements@steeleye.com, npiggin@kernel.dk, neilb@suse.de, cjb@laptop.org, adrian.hunter@intel.com, linux-mtd@lists.infradead.org, nbd-general@lists.sourceforge.net, linux-raid@vger.kernel.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Namjae Jeon , Vivek Trivedi Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 991 Lines: 30 2013/5/13, Artem Bityutskiy : > On Sat, 2013-04-13 at 22:38 +0900, Namjae Jeon wrote: >> From: Namjae Jeon >> >> It is better to use blk_queue_max_discard_sectors helper >> function to set max_discard_sectors as it checks >> max_discard_sectors upper limit UINT_MAX >> 9 >> >> similar issue was reported for mmc in below link >> https://lkml.org/lkml/2013/4/1/292 > > Pushed to l2-mtd.git, thanks! > Hi. Artem. Please revert this patch and ignore it. Because this issue was already fixed by the below patch. https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=871dd9286e25330c8a581e5dacfa8b1dfe1dd641 Sorry for interrupt. Thanks. > -- > Best Regards, > Artem Bityutskiy > > -- 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/