[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140418171022.GB23576@htj.dyndns.org>
Date: Fri, 18 Apr 2014 13:10:22 -0400
From: Tejun Heo <tj@...nel.org>
To: Lai Jiangshan <laijs@...fujitsu.com>
Cc: LKML <linux-kernel@...r.kernel.org>, stable@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Jean Delvare <jdelvare@...e.de>,
Monam Agarwal <monamagarwal123@...il.com>,
Jeff Layton <jlayton@...hat.com>,
Andreas Gruenbacher <agruen@...bit.com>,
Stephen Hemminger <stephen@...workplumber.org>
Subject: Re: [PATCH 1/8] idr: fix overflow bug for the max-high layer
On Sat, Apr 19, 2014 at 01:08:46AM +0800, Lai Jiangshan wrote:
> On Sat, Apr 19, 2014 at 12:29 AM, Tejun Heo <tj@...nel.org> wrote:
> > Hello,
>
> Hi,
>
> Should I resend the patch with your updated changelog?
> Or something else I need to do?
Yeah, please resend with the description updated.
> >> static void test5(void)
> >> {
> >> int id;
> >> DEFINE_IDR(test_idr);
> >> #define TEST5_START ((1<<27)+42) /* use the highest layer */
> >>
> >> printk(KERN_INFO "Start test5\n");
> >> id = idr_alloc(&test_idr, (void *)1, TEST5_START, 0, GFP_KERNEL);
> >> BUG_ON(id != TEST5_START);
> >> TEST_BUG_ON(idr_replace(&test_idr, (void *)2, TEST5_START) != (void *)1);
> >> idr_destroy(&test_idr);
> >> printk(KERN_INFO "End of test5\n");
> >> }
>
> Does the above testing code need to be kept in the changelog.
Yeah, why not? It makes what's failing very clear.
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists