Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753479AbaAKUK0 (ORCPT ); Sat, 11 Jan 2014 15:10:26 -0500 Received: from mail-pd0-f174.google.com ([209.85.192.174]:55429 "EHLO mail-pd0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752829AbaAKUKX (ORCPT ); Sat, 11 Jan 2014 15:10:23 -0500 Date: Sat, 11 Jan 2014 12:10:19 -0800 From: Brian Norris To: Huang Shijie , Caizhiyong Cc: "linux-mtd@lists.infradead.org" , "Wanglin (Albert)" , David Woodhouse , "linux-kernel@vger.kernel.org" , Artem Bityutskiy Subject: Re: [PATCH] mtd: nand: assign mtd->name in find_full_id_nand Message-ID: <20140111201019.GD1992@norris-Latitude-E6410> References: <20131226021937.GA6752@shlinux2.ap.freescale.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131226021937.GA6752@shlinux2.ap.freescale.net> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Thu, Dec 26, 2013 at 10:19:39AM +0800, Huang Shijie wrote: > On Thu, Dec 26, 2013 at 01:51:58AM +0000, Caizhiyong wrote: > > From: Cai Zhiyong > > Date: Wed, 25 Dec 2013 21:19:21 +0800 > > Subject: [PATCH] mtd: nand: assign mtd->name in find_full_id_nand > > > > This patch assigned the type->name to mtd->name when mtd->name is > > NULL in function "find_full_id_nand". > > mtd->name is NULL may cause some problem. > > > > Signed-off-by: Cai Zhiyong > Acked-by: Huang Shijie Thanks, the patch looks good. Pushed to l2-mtd.git. Wouldn't this trigger an exception when reading /sys/class/mtd/mtdX/name? If so, should this be marked for stable? Brian -- 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/