Re: [PATCH net-next resend 10/13] debugfs: constify argument to debugfs_real_fops()

2016-11-10 Thread Jakub Kicinski
On Thu, 10 Nov 2016 15:25:59 +0100, Greg Kroah-Hartman wrote: > On Thu, Nov 03, 2016 at 05:12:06PM +, Jakub Kicinski wrote: > > seq_file users can only access const version of file pointer, > > because the ->file member of struct seq_operations is marked > > as such. Make parameter to

Re: [PATCH net-next resend 10/13] debugfs: constify argument to debugfs_real_fops()

2016-11-10 Thread Jakub Kicinski
On Thu, 10 Nov 2016 15:25:59 +0100, Greg Kroah-Hartman wrote: > On Thu, Nov 03, 2016 at 05:12:06PM +, Jakub Kicinski wrote: > > seq_file users can only access const version of file pointer, > > because the ->file member of struct seq_operations is marked > > as such. Make parameter to

Re: [PATCH net-next resend 10/13] debugfs: constify argument to debugfs_real_fops()

2016-11-10 Thread Greg Kroah-Hartman
On Thu, Nov 03, 2016 at 05:12:06PM +, Jakub Kicinski wrote: > seq_file users can only access const version of file pointer, > because the ->file member of struct seq_operations is marked > as such. Make parameter to debugfs_real_fops() const. > > CC: Greg Kroah-Hartman

Re: [PATCH net-next resend 10/13] debugfs: constify argument to debugfs_real_fops()

2016-11-10 Thread Greg Kroah-Hartman
On Thu, Nov 03, 2016 at 05:12:06PM +, Jakub Kicinski wrote: > seq_file users can only access const version of file pointer, > because the ->file member of struct seq_operations is marked > as such. Make parameter to debugfs_real_fops() const. > > CC: Greg Kroah-Hartman > CC: Nicolai Stange

[PATCH net-next resend 10/13] debugfs: constify argument to debugfs_real_fops()

2016-11-03 Thread Jakub Kicinski
seq_file users can only access const version of file pointer, because the ->file member of struct seq_operations is marked as such. Make parameter to debugfs_real_fops() const. CC: Greg Kroah-Hartman CC: Nicolai Stange CC: Christian Lamparter

[PATCH net-next resend 10/13] debugfs: constify argument to debugfs_real_fops()

2016-11-03 Thread Jakub Kicinski
seq_file users can only access const version of file pointer, because the ->file member of struct seq_operations is marked as such. Make parameter to debugfs_real_fops() const. CC: Greg Kroah-Hartman CC: Nicolai Stange CC: Christian Lamparter CC: LKML Signed-off-by: Jakub Kicinski ---