Re: qlcnic binary sysfs file abuse
From: Greg KH
Date: Thu Jul 25 2013 - 16:09:05 EST
On Thu, Jul 25, 2013 at 07:37:46PM +0000, Sony Chacko wrote:
> > -----Original Message-----
> > From: Greg KH [mailto:gregkh@xxxxxxxxxxxxxxxxxxx]
> > Sent: Saturday, July 06, 2013 5:30 PM
> > To: Rajesh Borundia; Shahed Shaikh; Jitendra Kalsaria; Sony Chacko; Dept-Eng
> > Linux Driver
> > Cc: netdev; linux-kernel
> > Subject: qlcnic binary sysfs file abuse
> > I was doing a kernel-wide audit on all of the binary sysfs files, and noticed a
> > metric ton of them in the qlcnic driver.
> > So, any objection to me just deleting these entirely? Or, if they really are
> > needed, can I just move them to debugfs, which is where I think they should
> > have been from the beginning?
> Some applications are using these files, please move them to debugfs.
What applications care about the internal data structures of the kernel
driver? What can those applications do with that information? What
happens when you have a 64bit kernel on a 32bit userspace? How about
endian issues on different processor types? That sounds like a
nightmare to even consider getting correct...
Anyway, I'll move them to debugfs, thanks.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/