]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
UIO: fix Greg's stupid changes
authorBrandon Philips <brandon@ifup.org>
Tue, 19 Feb 2008 09:55:05 +0000 (01:55 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Feb 2008 23:27:07 +0000 (15:27 -0800)
commit4f808bcdf8dcf1f1ecd028f6d5c5347db4cddc54
tree5b0e9e6a543ae3911ddba263a64864d05e14e235
parent46cdf871d9970b9252469531f9efd4a17243bb0b
UIO: fix Greg's stupid changes

This fixes two bugs with UIO that cropped up recently in -rc1

1) WARNING: at fs/sysfs/file.c:334 sysfs_open_file when trying to open
   a map addr/size file - complaining about missing sysfs_ops for ktype

2) Permission denied when reading uio/uio0/maps/map0/{addr,size} when
   files are mode S_IRUGO

Also fix a typo: attr_attribute -> addr_attribute

Signed-off-by: Brandon Philips <bphilips@suse.de>
Signed-off-by: Hans J. Koch <hjk@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/uio/uio.c