From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Jones Subject: Re: [PATCH v3] misc: adds support the FSA9480 USB Switch Date: Tue, 8 Mar 2011 16:02:27 -0500 Message-ID: <20110308210227.GA12804@redhat.com> References: <4D75D338.9070801@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <4D75D338.9070801-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Minkyu Kang Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Greg KH , Andrew Morton , kyungmin.park-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org, Ben Dooks List-Id: linux-i2c@vger.kernel.org On Tue, Mar 08, 2011 at 03:56:56PM +0900, Minkyu Kang wrote: > +static DEVICE_ATTR(switch, S_IRUGO | S_IWUGO, > + fsa9480_show_manualsw, fsa9480_set_manualsw); This probably shouldn't be world writable if it's writing to hardware. Dave