[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200912212054.48469.rusty@rustcorp.com.au>
Date: Mon, 21 Dec 2009 20:54:48 +1030
From: Rusty Russell <rusty@...tcorp.com.au>
To: Ben Hutchings <ben@...adent.org.uk>
Cc: Helge Deller <deller@....de>, Martin Michlmayr <tbm@...ius.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] modules: Skip empty sections when exporting section notes
On Sun, 20 Dec 2009 01:13:01 am Ben Hutchings wrote:
> Commit 35dead4 "modules: don't export section names of empty sections
> via sysfs" changed the set of sections that have attributes, but did
> not change the iteration over these attributes in add_notes_attrs().
> This can lead to add_notes_attrs() creating attributes with the wrong
> names or with null name pointers.
>
> Introduce a sect_empty() function and use it in both add_sect_attrs()
> and add_notes_attrs().
Looks good, queued.
Thanks!
Rusty.
--
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