Re: [PATCH] Fix debugfs_create_file's error checking method for usb/gadget/

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Zhaolei
Date: Sunday, October 19, 2008 - 6:19 pm

From: "Alan Stern" <stern@rowland.harvard.edu>
To: "Zhaolei" <zhaolei@cn.fujitsu.com>
Cc: <linux-kernel@vger.kernel.org>; <dbrownell@users.sourceforge.net>; <linux-usb@vger.kernel.org>
Sent: Friday, October 17, 2008 11:18 PM
Subject: Re: [PATCH] Fix debugfs_create_file's error checking method for usb/gadget/


Hello, Alan Stern

If we only check if (!udc->regs_info), that is no problem except that we
can't see dev_warn when debugfs isn't enabled in the kernel.
It this warning message is not necessary, I agree with you.
->If this warning message is not necessary, I agree with you.

Thanks!
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] Fix debugfs_create_file's error checking metho ..., Zhaolei, (Sun Oct 19, 6:19 pm)