Re: [PATCH] staging: lustre: fix address space mismatches

2015-12-15 Thread Okash Khawaja
> On 15 Dec 2015, at 18:48, Greg KH wrote: > >> On Tue, Dec 15, 2015 at 04:50:45PM +, Okash Khawaja wrote: >> This patch fixes address space warnings from sparse. Function >> lprocfs_write_helper() accepts user space buffer but was being >> passed kernel space buffer by these functions: >>

Re: [PATCH] staging: lustre: fix address space mismatches

2015-12-15 Thread Greg KH
On Tue, Dec 15, 2015 at 04:50:45PM +, Okash Khawaja wrote: > This patch fixes address space warnings from sparse. Function > lprocfs_write_helper() accepts user space buffer but was being > passed kernel space buffer by these functions: > > contention_seconds_store() > lockless_truncate_store

[PATCH] staging: lustre: fix address space mismatches

2015-12-15 Thread Okash Khawaja
This patch fixes address space warnings from sparse. Function lprocfs_write_helper() accepts user space buffer but was being passed kernel space buffer by these functions: contention_seconds_store() lockless_truncate_store() Since these functions are used to implement show and store functions of