Re: [PATCH 3/3] lib/kobject: WARN_ON corresponds to BUG_ON

2013-03-19 Thread Greg KH
On Tue, Mar 19, 2013 at 02:47:01PM +0800, Dong Hao wrote: > From: Dong Hao > > WARN_ON corresponds to BUG_ON and also gets more info. Huh? No. Please stop, don't resend these. greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to major

Re: [PATCH 3/3] lib/kobject: WARN_ON corresponds to BUG_ON

2013-03-19 Thread Xiao Guangrong
On 03/19/2013 03:03 PM, Xiao Guangrong wrote: > On 03/19/2013 02:47 PM, Dong Hao wrote: >> From: Dong Hao >> >> WARN_ON corresponds to BUG_ON and also gets more info. > > Change the log like this: > like the comments said, double initialize a kobj is wrong > but can be recoverd, using WARN_ON to

Re: [PATCH 3/3] lib/kobject: WARN_ON corresponds to BUG_ON

2013-03-19 Thread Xiao Guangrong
On 03/19/2013 02:47 PM, Dong Hao wrote: > From: Dong Hao > > WARN_ON corresponds to BUG_ON and also gets more info. Change the log like this: like the comments said, double initialize a kobj is wrong but can be recoverd, using WARN_ON to warn the developer also it can get more info. (Or you ref