Hi Greg,
I sent you, on May 4, a patchset entitled '[PATCH V6 0/9] staging: rtl8192u:
Checking return value/propagating errors', and I don't get any feedbacks.
Should I resend you the patchset ?
best regards,
salah triki
___
devel mailing list
de
Propagate errors from kzalloc and usb_control_msg and change the
return type of write_nic_dword from void to int.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U.h | 2 +-
drivers/staging/rtl8192u/r8192U_core.c | 10 +++---
2 files chan
Propagate errors from kzalloc and usb_control_msg and change the
return type of write_nic_byte_E from void to int.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U.h | 2 +-
drivers/staging/rtl8192u/r8192U_core.c | 9 ++---
2 files chan
Propagate error from eprom_r and change the return type of eprom_read
from u32 to int.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8180_93cx6.c | 9 +++--
drivers/staging/rtl8192u/r8180_93cx6.h | 2 +-
2 files changed, 8 insertions(+), 3 deletions(-)
The call of eprom_read may fail, therefore its return value must be
checked
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U_core.c | 112 ++---
1 file changed, 76 insertions(+), 36 deletions(-)
diff --git a/drivers/s
Propagate errors from kzalloc and usb_control_msg and change the
return type of write_nic_word from void to int.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U.h | 2 +-
drivers/staging/rtl8192u/r8192U_core.c | 10 +++---
2 files chan
Propagate error from eprom_read and change the return type of
rtl8192_read_eeprom_info from void to int.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U_core.c | 34 ++
1 file changed, 18 insertions(+), 16 deletions(-)
The call of read_nic_word_E may fail, therefore its return value must be
checked and propagated in the case of error.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8180_93cx6.c | 21 +
1 file changed, 17 insertions(+), 4 deletions(-)
These patchs check the return value/propagate error of the functions
read_nic_word_E, eprom_r, eprom_read, rtl8192_read_eeprom_info, write_nic_*
Salah Triki (9):
staging: rtl8192u: check return value of read_nic_word_E
staging: rtl8192u: propagate errors in eprom_read
staging: rtl8192u
Propagate errors from kzalloc and usb_control_msg and change the
return type of write_nic_byte_E from void to int.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U.h | 2 +-
drivers/staging/rtl8192u/r8192U_core.c | 9 ++---
2 files chan
Propagate errors from kzalloc and usb_control_msg and change the
return type of write_nic_dword from void to int.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U.h | 2 +-
drivers/staging/rtl8192u/r8192U_core.c | 9 ++---
2 files chan
Propagate errors from kzalloc and usb_control_msg and change the
return type of write_nic_byte from void to int.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U.h | 2 +-
drivers/staging/rtl8192u/r8192U_core.c | 10 ++
2 files chan
The call of rtl8192_read_eeprom_info may fail, therefore its return
value must be checked and propagated in the case of error
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U_core.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff
Propagate error from eprom_read and change the return type of
rtl8192_read_eeprom_info from void to int.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U_core.c | 37 +-
1 file changed, 19 insertions(+), 18 deletions(-)
Propagate errors from kzalloc and usb_control_msg and change the
return type of write_nic_word from void to int.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U.h | 2 +-
drivers/staging/rtl8192u/r8192U_core.c | 9 ++---
2 files changed, 7 inse
Propagate error from eprom_r and change the return type of eprom_read
from u32 to int.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8180_93cx6.c | 9 +++--
drivers/staging/rtl8192u/r8180_93cx6.h | 2 +-
2 files changed, 8 insertions(+), 3 deletions(-)
These patchs check the return value/propagate error of the functions
read_nic_word_E, eprom_r, eprom_read, rtl8192_read_eeprom_info, write_nic_*
Salah Triki (9):
staging: rtl8192u: check return value of read_nic_word_E
staging: rtl8192u: propagate errors in eprom_read
staging: rtl8192u
The call of read_nic_word_E may fail, therefore its return value must be
checked and propagated in the case of error.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8180_93cx6.c | 21 +
1 file changed, 17 insertions(+), 4 deletions(-)
The call of eprom_read may fail, therefore its return value must be
checked
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U_core.c | 145 +++--
1 file changed, 103 insertions(+), 42 deletions(-)
diff --git a/drivers/s
The call of rtl8192_read_eeprom_info may fail, therefore its return value must
be checked and propagated in the case of error.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U_core.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff
Propagate errors from kzalloc and usb_control_msg and change the
return type of write_nic_dword from void to int.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U.h | 2 +-
drivers/staging/rtl8192u/r8192U_core.c | 9 ++---
2 files chan
Propagate errors from kzalloc and usb_control_msg and change the
return type of write_nic_byte from void to int.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U.h | 2 +-
drivers/staging/rtl8192u/r8192U_core.c | 12 +++-
2 files chan
Propagate errors from kzalloc and usb_control_msg and change the
return type of write_nic_byte_E from void to int.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U.h | 2 +-
drivers/staging/rtl8192u/r8192U_core.c | 9 ++---
2 files chan
The call of eprom_read may fail, therefore its return value must be
checked.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U_core.c | 147 +++--
1 file changed, 104 insertions(+), 43 deletions(-)
diff --git a/drivers/s
Propagate errors from kzalloc and usb_control_msg and change the
return type of write_nic_word from void to int.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U.h | 2 +-
drivers/staging/rtl8192u/r8192U_core.c | 9 ++---
2 files changed, 7 inse
Propagate error from eprom_read and change the return type of
rtl8192_read_eeprom_info from void to int.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U_core.c | 37 +-
1 file changed, 19 insertions(+), 18 deletions(-)
The call of read_nic_word_E may fail, therefore its return value must be
checked and propagated in the case of error.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8180_93cx6.c | 30 --
drivers/staging/rtl8192u/r8180_93cx6.h | 2
These patchs check the return value/propagate error of the functions
read_nic_word_E, eprom_r, eprom_read, rtl8192_read_eeprom_info, write_nic_*.
Salah Triki (8):
staging: rtl8192u: check return value of read_nic_word_E
staging: rtl8192u: check return value eprom_read
staging: rtl8192u
Propagate error from eprom_read and change the return type of
rtl8192_read_eeprom_info from void to int.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U_core.c | 37 +-
1 file changed, 19 insertions(+), 18 deletions(-)
Propagate errors from kzalloc and usb_control_msg and change the
return type of write_nic_dword from void to int.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U.h | 2 +-
drivers/staging/rtl8192u/r8192U_core.c | 9 ++---
2 files chan
Propagate errors from kzalloc and usb_control_msg and change the
return type of write_nic_word from void to int.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U.h | 2 +-
drivers/staging/rtl8192u/r8192U_core.c | 9 ++---
2 files changed, 7 inse
The call of rtl8192_read_eeprom_info may fail, therefore its return value must
be checked and propagated in the case of error.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U_core.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff
Propagate errors from kzalloc and usb_control_msg and change the
return type of write_nic_byte_E from void to int.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U.h | 2 +-
drivers/staging/rtl8192u/r8192U_core.c | 9 ++---
2 files chan
Propagate errors from kzalloc and usb_control_msg and change the
return type of write_nic_byte from void to int.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U.h | 2 +-
drivers/staging/rtl8192u/r8192U_core.c | 12 +++-
2 files chan
These patchs check the return value/propagate error of the functions
read_nic_word_E,eprom_r, eprom_read, rtl8192_read_eeprom_info, write_nic_*.
Salah Triki (9):
staging: rtl8192u: check return value of read_nic_word_E
staging: rtl8192u: eprom_read: check return value of eprom_r
staging
Check the return value from eprom_r and propagate it in the case of error.
The error code is a negative value, therefore change the return type of
eprom_read from u32 to int.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8180_93cx6.c | 9 +++--
d
The call of read_nic_word_E may fail, therefore its return value must be
checked and propagated in the case of error.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8180_93cx6.c | 24 ++--
1 file changed, 18 insertions(+), 6 deletions(-)
The call of eprom_read may fail, therefore its return value must be
checked.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U_core.c | 147 +++--
1 file changed, 104 insertions(+), 43 deletions(-)
diff --git a/drivers/s
Propagate errors from kzalloc and usb_control_msg and change the
return type of write_nic_word from void to int.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U.h | 2 +-
drivers/staging/rtl8192u/r8192U_core.c | 9 ++---
2 files changed, 7 inse
Propagate errors from kzalloc and usb_control_msg and change the
return type of write_nic_dword from void to int.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U.h | 2 +-
drivers/staging/rtl8192u/r8192U_core.c | 9 ++---
2 files chan
Propagate errors from kzalloc and usb_control_msg and change the
return type of write_nic_byte from void to int.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U.h | 2 +-
drivers/staging/rtl8192u/r8192U_core.c | 12 +++-
2 files chan
Propagate errors from kzalloc and usb_control_msg and change the
return type of write_nic_byte_E from void to int.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U.h | 2 +-
drivers/staging/rtl8192u/r8192U_core.c | 9 ++---
2 files chan
Propagate error from eprom_read and change the return type of
rtl8192_read_eeprom_info from void to int.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U_core.c | 37 +-
1 file changed, 19 insertions(+), 18 deletions(-)
The call of read_nic_word_E may fail, therefore its return value must be
checked and propagated in the case of error.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8180_93cx6.c | 24 ++--
1 file changed, 18 insertions(+), 6 deletions(-)
The call of rtl8192_read_eeprom_info may fail, therefore its return value must
be checked and propagated in the case of error.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U_core.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff
Check the return value from eprom_r and propagate it in the case of error.
The error code is a negative value, therefore change the return type of
eprom_read from u32 to int.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8180_93cx6.c | 9 +++--
d
The call of eprom_read may fail, therefore its return value must be
checked.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8192U_core.c | 147 +++--
1 file changed, 104 insertions(+), 43 deletions(-)
diff --git a/drivers/s
These patchs check the return value/propagate error of the functions
read_nic_word_E,eprom_r, eprom_read, rtl8192_read_eeprom_info, write_nic_*.
Salah Triki (9):
staging: rtl8192u: check return value of read_nic_word_E
staging: rtl8192u: eprom_read: check return value of eprom_r
staging
The call of read_nic_word_E may fail, therefore its return value must be
checked.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8180_93cx6.c | 30 +--
drivers/staging/rtl8192u/r8180_93cx6.h | 2 +-
drivers/staging/rtl8192u/r8192U_core.c
The call of read_nic_word_E may fail, therefore its return value must be
checked.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8180_93cx6.c | 30 +--
drivers/staging/rtl8192u/r8180_93cx6.h | 2 +-
drivers/staging/rtl8192u/r8192U_core.c
The call of read_nic_word_E may fail, therefore its return value must be
checked.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8180_93cx6.c | 30 ++--
drivers/staging/rtl8192u/r8180_93cx6.h | 2 +-
drivers/staging/rtl8192u/r8192U_core.c
The call of read_nic_word_E may fail, therefore its return value must be
checked.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8180_93cx6.c | 30 ++--
drivers/staging/rtl8192u/r8180_93cx6.h | 2 +-
drivers/staging/rtl8192u/r8192U_core.c
The call of read_nic_word_E may fail, therefore its return value
must be checked.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/rtl8192u/r8180_93cx6.c | 24 +++-
1 file changed, 19 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/rt
Hi,
Is it useful to clean staging/dgnc, since it supports the same adapters
that those of serial/jsm ?
best regards,
salah triki
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev
Hi,
How to decide if an information should be exported or not to user space ?
best regards
--
salah triki
On Mon, Dec 21, 2015 at 03:52:26PM -0800, Greg KH wrote:
> On Fri, Dec 18, 2015 at 11:57:18AM +0100, Salah Triki wrote:
> > Delegate creation and destruction of sysfs files
Delegate creation and destruction of sysfs files to device
and driver layers in order to eliminate races.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/dgnc/dgnc_driver.c | 11 ++--
drivers/staging/dgnc/dgnc_sysfs.c | 118 ++---
d
Delegate creation and destruction of sysfs files to device
and driver layers in order to eliminate races.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/dgnc/dgnc_driver.c | 11 ++--
drivers/staging/dgnc/dgnc_sysfs.c | 118 ++---
d
On Thu Oct 8 07:22:58 UTC 2015, dan carpenter wrote:
>On Thu, Oct 08, 2015 at 07:26:37AM +0100, Salah Triki wrote:
>> dgnc_ports_state_show is removed, since it exposes ports status which
>> help an adversary to
>> plan an attack.
>
>No. It doesn't export anything harm
dgnc_ports_state_show is removed, since it exposes ports status which help an
adversary to
plan an attack.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/dgnc/dgnc_sysfs.c | 21 -
1 file changed, 21 deletions(-)
diff --git a/drivers/stagin
Reads of dgnc_poll_tick are protected by dgnc_poll_lock spinlock, but the write
to dgnc_poll_tick is not. It could theoretically race.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/dgnc/dgnc_driver.c | 2 +-
drivers/staging/dgnc/dgnc_driver.h | 1 +
drivers/stagin
dgnc_driver_pollrate_store needs to take a lock before modifying the
shared variable dgnc_poll_tick.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/dgnc/dgnc_sysfs.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/stagin
On Wed, Sep 23, 2015 at 11:37:37AM +0530, Sudip Mukherjee wrote:
> On Wed, Sep 23, 2015 at 03:28:07AM +0100, Salah Triki wrote:
> > dgnc_poll_tick is declared global, so dgnc_driver_pollrate_store needs to
> > take the
> > lock dgnc_poll_lock before modifying this var
not static and
extern in order to be visible for dgnc_driver_pollrate_store.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/dgnc/dgnc_driver.c | 2 +-
drivers/staging/dgnc/dgnc_driver.h | 1 +
drivers/staging/dgnc/dgnc_sysfs.c | 9 -
3 files changed, 10 insertions
On Mon, Sep 21, 2015 at 07:17:08PM +0300, Dan Carpenter wrote:
> On Sun, Sep 06, 2015 at 08:00:10PM -0700, Greg KH wrote:
> > On Sat, Sep 05, 2015 at 01:12:01PM +0100, Salah Triki wrote:
> > > poll_tick is declared global, so dgnc_driver_pollrate_* need to
> > > take the
I'm sorry for wasting your time.
best regards,
salah triki
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
>On Sun, 6 Sep 2015 20:00:10 -0700, Greg KH wrote:
>>On Sat, Sep 05, 2015 at 01:12:01PM +0100, Salah Triki wrote:
>> poll_tick is declared global, so dgnc_driver_pollrate_* need to
>> take the lock dgnc_poll_lock before accessing to this variable.
>
>Really? The scope o
>On Wed, 2 Sep 2015 18:15:29 -0700, Greg KH wrote:
>>On Tue, Aug 25, 2015 at 08:09:47PM +0100, Salah Triki wrote:
>> poll_tick is declared global, so dgnc_driver_pollrate_store needs to
>> take
>> the lock dgnc_poll_lock before modifying this variable. dgnc_poll_lock
On Mon, Sep 21, 2015 at 07:17:08PM +0300, Dan Carpenter wrote:
> On Sun, Sep 06, 2015 at 08:00:10PM -0700, Greg KH wrote:
> > On Sat, Sep 05, 2015 at 01:12:01PM +0100, Salah Triki wrote:
> > > poll_tick is declared global, so dgnc_driver_pollrate_* need to
> > > take the
dgnc_poll_stop is a local variable in dgnc_driver.c, so it is useless to take
dgnc_poll_lock before
accessing to this variable.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/dgnc/dgnc_driver.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/stagin
and
extern in order to be visible for dgnc_driver_pollrate_*.
Signed-off-by: Salah Triki <salah.tr...@acm.org>
---
drivers/staging/dgnc/dgnc_driver.c | 2 +-
drivers/staging/dgnc/dgnc_driver.h | 1 +
drivers/staging/dgnc/dgnc_sysfs.c | 18 --
3 files changed, 18 insertions
On Mon, Aug 24, 2015 at 06:16:21PM +0530, Sudip Mukherjee wrote:
On Wed, Aug 19, 2015 at 07:11:55PM +0100, Salah Triki wrote:
poll_tick is declared global, so dgnc_driver_pollrate_store needs to take
the lock dgnc_poll_lock before modifying this variable. dgnc_poll_lock is
the appropriate
and
extern in order to be visible for dgnc_driver_pollrate_store.
Signed-off-by: Salah Triki salah.tr...@acm.org
---
drivers/staging/dgnc/dgnc_driver.c | 2 +-
drivers/staging/dgnc/dgnc_driver.h | 1 +
drivers/staging/dgnc/dgnc_sysfs.c | 9 -
3 files changed, 10 insertions(+), 2 deletions
not static and extern in order to be visible for dgnc_driver_pollrate_store.
Signed-off-by: Salah Triki salah.tr...@acm.org
---
drivers/staging/dgnc/dgnc_driver.c | 2 +-
drivers/staging/dgnc/dgnc_driver.h | 1 +
drivers/staging/dgnc/dgnc_sysfs.c | 9 -
3 files changed, 10 insertions(+), 2
On Wed, Aug 19, 2015 at 10:36:14PM +0300, Dan Carpenter wrote:
On Wed, Aug 19, 2015 at 07:11:55PM +0100, Salah Triki wrote:
poll_tick is declared global, so dgnc_driver_pollrate_store needs to take
the lock dgnc_poll_lock before modifying this variable. dgnc_poll_lock is
the appropriate
not static and
extern
in order to be visible for dgnc_driver_pollrate_store.
Signed-off-by: Salah Triki salah.tr...@acm.org
---
drivers/staging/dgnc/dgnc_driver.c | 2 +-
drivers/staging/dgnc/dgnc_driver.h | 1 +
drivers/staging/dgnc/dgnc_sysfs.c | 10 --
3 files changed, 10 insertions
On Mon, Aug 17, 2015 at 09:26:15PM +0300, Dan Carpenter wrote:
On Mon, Aug 17, 2015 at 04:19:12PM +0100, Salah Triki wrote:
Since dgnc_poll_trick is a global variable.
Signed-off-by: Salah Triki salah.tr...@acm.org
Does this changelog even mean?
Why is Mark not on the CC list? Use
Since dgnc_poll_trick is a global variable.
Signed-off-by: Salah Triki salah.tr...@acm.org
---
drivers/staging/dgnc/dgnc_sysfs.c | 15 +--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/dgnc/dgnc_sysfs.c
b/drivers/staging/dgnc/dgnc_sysfs.c
index
Hi Sanjeev,
thanx for comments.
best regards,
salah triki
On Wed, Aug 05, 2015 at 10:10:58AM +0530, sanjeev sharma wrote:
Hello Salah,
It would be good,if you provide some information why you are doing so like
messages that are associated with a particular device should be tagged
On Thu, Aug 06, 2015 at 09:26:02AM +0900, Sergey Senozhatsky wrote:
On (08/06/15 01:24), Dan Carpenter wrote:
On Tue, Aug 04, 2015 at 07:19:01PM +0100, Salah Triki wrote:
@@ -508,14 +509,15 @@ static struct zram_meta *zram_meta_alloc(int
device_id, u64 disksize)
num_pages = disksize
This patch replaces pr_info/pr_warn/pr_err with
dev_info/dev_warn/dev_err.
Signed-off-by: Salah Triki salah.tr...@acm.org
---
drivers/block/zram/zram_drv.c | 40 +++-
1 file changed, 23 insertions(+), 17 deletions(-)
diff --git a/drivers/block/zram/zram_drv.c
dgnc_ports_state_show exposes ports status which help an adversary to
plan an attack. Thus, the function is removed.
Signed-off-by: Salah Triki salah.tr...@acm.org
---
drivers/staging/dgnc/dgnc_sysfs.c | 20
1 file changed, 20 deletions(-)
diff --git a/drivers/staging/dgnc
This sysfs file is not useful for anything.
Signed-off-by: Salah Triki salah.tr...@acm.org
---
drivers/staging/dgnc/dgnc_sysfs.c | 25 -
1 file changed, 25 deletions(-)
diff --git a/drivers/staging/dgnc/dgnc_sysfs.c
b/drivers/staging/dgnc/dgnc_sysfs.c
index a72e353
--
Salah Triki
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
The failure code is negative. So check 0 instead of =0.
Return the failure code instead of -ENXIO.
Signed-off-by: Salah Triki salah.tr...@acm.org
---
drivers/staging/dgnc/dgnc_driver.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/dgnc/dgnc_driver.c
b
Return the failure code from register_chrdev instead of -ENXIO.
Signed-off-by: Salah Triki salah.tr...@acm.org
---
drivers/staging/dgnc/dgnc_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/dgnc/dgnc_driver.c
b/drivers/staging/dgnc/dgnc_driver.c
index
The failure code is negative. So check 0 instead of =0.
Signed-off-by: Salah Triki salah.tr...@acm.org
---
drivers/staging/dgnc/dgnc_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/dgnc/dgnc_driver.c
b/drivers/staging/dgnc/dgnc_driver.c
index f177d3a
sysfs file is not useful for anything.
Signed-off-by: Salah Triki salah.tr...@acm.org
---
drivers/staging/dgnc/Makefile | 3 +-
drivers/staging/dgnc/dgnc_driver.c | 10 +-
drivers/staging/dgnc/dgnc_driver.h | 2 -
drivers/staging/dgnc/dgnc_sysfs.c | 713
The error handling for register_chrdev is taken care by goto statement.
The failure code from register_chrdev is returned.
Signed-off-by: Salah Triki salah.tr...@acm.org
---
drivers/staging/dgnc/dgnc_driver.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging
This patch fixes the following checkpatch.pl warning:
braces {} are not necessary for single statement blocks
Signed-off-by: Salah Triki salah.tr...@acm.org
---
drivers/staging/dgnc/dgnc_tty.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers
This patch removes unnecessary checks of unit magic, channel magic, board
magic and board state.
Signed-off-by: Salah Triki salah.tr...@acm.org
---
drivers/staging/dgnc/dgnc_sysfs.c | 14 --
1 file changed, 14 deletions(-)
diff --git a/drivers/staging/dgnc/dgnc_sysfs.c
b/drivers
This fixes the following checkpatch.pl warnings:
WARNING: Macros with flow control statements should be avoided.
Signed-off-by: Salah Triki salah.tr...@acm.org
---
drivers/staging/dgnc/dgnc_sysfs.c | 38 --
1 file changed, 12 insertions(+), 26 deletions
This fixes the following checkpatch.pl warnings:
WARNING: min() should probably be min_t()
Signed-off-by: Salah Triki salah.tr...@acm.org
---
drivers/staging/dgnc/dgnc_neo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/dgnc/dgnc_neo.c b/drivers/staging/dgnc
This fixes the following checkpatch.pl warnings:
WARNING: Macros with flow control statements should be avoided.
Signed-off-by: Salah Triki salah.tr...@acm.org
---
drivers/staging/dgnc/dgnc_sysfs.c | 64 ---
1 file changed, 39 insertions(+), 25 deletions
This fixes the following checkpatch.pl warnings:
WARNING: min() should probably be min_t()
---
drivers/staging/dgnc/dgnc_neo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/dgnc/dgnc_neo.c b/drivers/staging/dgnc/dgnc_neo.c
index c9a8a98..1268aa9 100644
---
This fixes the following checkpatch.pl warnings:
WARNING: min() should probably be min_t()
---
drivers/staging/dgnc/dgnc_neo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/dgnc/dgnc_neo.c b/drivers/staging/dgnc/dgnc_neo.c
index c9a8a98..1268aa9 100644
---
Hi, Greg and others,
Is that patch ok ?
The last time I messed up with git.
Signed-off-by: Salah Triki salah.tr...@acm.org
---
drivers/staging/dgnc/dgnc_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/dgnc/dgnc_driver.c
b/drivers/staging/dgnc
This fixes the following checkpatch.pl warnings:
WARNING: printk() should include KERN_ facility level
Signed-off-by: Salah Triki salah.tr...@acm.org
---
drivers/staging/dgnc/dgnc_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/dgnc/dgnc_driver.c
b
Signed-off-by: Salah Triki salah.tr...@acm.org
---
drivers/staging/dgnc/dgnc_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/dgnc/dgnc_driver.c
b/drivers/staging/dgnc/dgnc_driver.c
index 0a05ed2..45c584c 100644
--- a/drivers/staging/dgnc/dgnc_driver.c
This fixes the following checkpatch.pl warnings:
WARNING: printk() should include KERN_ facility level
Signed-off-by: Salah Triki salah.tr...@acm.org
---
drivers/staging/dgnc/dgnc_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/dgnc/dgnc_driver.c
b
This fixes the following checkpatch.pl warnings:
WARNING: printk() should include KERN_ facility level
Signed-off-by: Salah Triki salah.tr...@acm.org
---
drivers/staging/dgnc/dgnc_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/dgnc/dgnc_driver.c
b
1 - 100 of 101 matches
Mail list logo