On Fri, Mar 29, 2013 at 10:17:04AM +0800, Fengguang Wu wrote: > Hi Kay, > > I got the below warning and the first "bad" commit is > > commit 8f46baaa7ec6cd0851794020b31958e64679dd26 > Author: Felipe Balbi <[email protected]> > Date: Wed Feb 20 10:31:42 2013 +0200 > > base: core: WARN() about bogus permissions on device attributes > > Whenever a struct device_attribute is registered > with mismatched permissions - read permission without > a show routine or write permission without store > routine - we will issue a big warning so we catch > those early enough. > > Signed-off-by: Felipe Balbi <[email protected]> > Signed-off-by: Greg Kroah-Hartman <[email protected]>
That's just a "warning" patch, I'll fix this up properly (kernel/rtmutex-tester.c has 0600 as the mode for a read-only attribute as well as a write-only attribute.) thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

