[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100811152155.GC9180@suse.de>
Date: Wed, 11 Aug 2010 08:21:55 -0700
From: Greg KH <gregkh@...e.de>
To: Davidlohr Bueso <dave@....org>
Cc: LKML <linux-kernel@...r.kernel.org>, kay.sievers@...y.org
Subject: Re: [PATCH] kernel/ksysfs: use snprintf for sysfs show
On Wed, Aug 11, 2010 at 09:44:10AM -0400, Davidlohr Bueso wrote:
> Use snprintf(buf, PAGE_SIZE, ...) instead of sprintf for sysfs show
> methods. This is suggested in Documentation/filesystems/sysfs.txt
As Al pointed out, none of these will ever overflow so it makes no sense
to change them.
thanks,
greg k-h
--
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