On Fri, Sep 04, 2015 at 11:13:00AM -0700, David Matlack wrote:
> On Fri, Sep 4, 2015 at 6:23 AM, Sudip Mukherjee
> wrote:
> > These variables were only assigned some values but they were never used.
> >
> > Signed-off-by: Sudip Mukherjee
> > ---
> > - status = slic_upr_request(adapter, SLI
poll_tick is declared global, so dgnc_driver_pollrate_* need to
take the lock dgnc_poll_lock before accessing to this variable. dgnc_poll_lock
the appropriate lock, since it is intended for poll scheduling and
dgnc_poll_tick
contains the poll rate. dgnc_poll_lock needs to be declared not static an
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
---
drivers/staging/dgnc/dgnc_driver.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/staging/dgnc/dgnc_driver.c
b/drivers/s
Instead of defining DRVNAME and using it in all calls to pr_* family of
macros lets start using pr_fmt.
Signed-off-by: Sudip Mukherjee
---
drivers/staging/fbtft/fbtft_device.c | 79
1 file changed, 35 insertions(+), 44 deletions(-)
diff --git a/drivers/stagi
Using strcpy() is a security risk as the destination buffer size is not
checked and we may over-run the buffer. Use strncpy() instead, while
mentioning the buffer size leaving place for the NULL termination.
Signed-off-by: Sudip Mukherjee
---
drivers/staging/fbtft/fbtft_device.c | 3 ++-
1 file
Using magic numbers are not good coding practise. Use
FBTFT_GPIO_NAME_SIZE as defined in the header files.
Signed-off-by: Sudip Mukherjee
---
drivers/staging/fbtft/fbtft_device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/fbtft/fbtft_device.c
b/drivers/s
2015-09-02 21:19 GMT-04:00 Greg Kroah-Hartman :
> Turns out this file is never even built, you should just remove it :)
You're right, although it seems that is one of the "To-dos" of that
module, as the references I find about the config variable to allow
the compiling of that file is the followin
Oh well. Actually you did it. I answered while pulling the git...
Sorry for that unuseful mail! :)
2015-09-05 12:25 GMT-04:00 Raphaël Beamonte :
> 2015-09-02 21:19 GMT-04:00 Greg Kroah-Hartman :
>> Turns out this file is never even built, you should just remove it :)
>
> You're right, although it
On 01/09/15 00:09, Javier Martinez Canillas wrote:
> Hello Jonathan,
>
> On 08/22/2015 07:59 PM, Jonathan Cameron wrote:
>> On 20/08/15 08:07, Javier Martinez Canillas wrote:
>>> The SPI core always reports the MODALIAS uevent as "spi:"
>>> regardless of the mechanism that was used to register the
I resent it since no one responded to it for 10 days. From what I came
to understand that is the common practice. If that is not the case I'm
sorry (and please let me know so I don't do it again).
Cheers,
Anders Fridlund
On Thu, Sep 3, 2015 at 6:41 PM, Greg KH wrote:
> On Sat, Aug 29, 2015 at 01
This is a patch to the ieee80211_softmac_wx.c file that fixes up issues where
absent spaces beofre braces were found by checkpatch.pl
Signed-off-by: Mike Dupuis
---
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --gi
This is a patch to the ieee80211_softmac_wx.c file that fixes up unary & errors
found by checkpatch.pl.
Signed-off-by: Mike Dupuis
---
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8192u/ieee8
This is a patch to the ieee80211_softmac_wx.c file that removes superfluous
spaces before closed parentheses as identified by checkpatch.pl
Signed-off-by: Mike Dupuis
---
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --
This is a patch to the ieee80211_softmac_wx.c file that adds spaces after
closed braces as identified by checkpatch.pl
Signed-off-by: Mike Dupuis
---
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/stagi
This is a patch to the ieee80211_softmac_wx.c file that fixes up missing spaces
before open parentheses as identified by checkpatch.pl.
Signed-off-by: Mike Dupuis
---
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
di
This is a patch to the ieee80211_softmac_wx.c file that fixes up an indentation
issue identified by checkpatch.pl
Signed-off-by: Mike Dupuis
---
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/rtl
This is a patch to the ieee80211_softmac_wx.c file that replaces C99 comments
with C89 comments as identified by checkpatch.pl
Signed-off-by: Mike Dupuis
---
.../rtl8192u/ieee80211/ieee80211_softmac_wx.c | 28 +++---
1 file changed, 14 insertions(+), 14 deletions(-)
diff -
This is a patch to the ieee_softmac_wx.c file that removes unnecessary spaces
at the start of lines as identified by checkpatch.pl
Signed-off-by: Mike Dupuis
---
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a
This is a patch to the ieee80211_softmac_wx.c file that adds spaces after
commas as identified by checkpatch.pl
Signed-off-by: Mike Dupuis
---
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8192u/i
This is a patch to the ieee80211_softmac_wx.c file that corrects instances
where open braces appear on the incorrect line as identified by checkpatch.pl
Signed-off-by: Mike Dupuis
---
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c | 12 ++--
1 file changed, 6 insertions(+), 6
This is a patch to the ieee80211_softmac_wx.c file that removes unnecessary
braces around conditional statements as identified by checkpatch.pl
Signed-off-by: Mike Dupuis
---
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
d
This is a patch to add spaces around assignment operators as identifed by
checkpatch.pl
Signed-off-by: Mike Dupuis
---
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee
This is a patch to ieee80211_softmac_wx.c to add missing spacing around == and
|| operators as identified by checkpatch.pl
Signed-off-by: Mike Dupuis
---
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging
This is a patch to fix up some brace placement issues in ieee80211_softmac_wx.c
Signed-off-by: Mike Dupuis
---
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c
This is a patch to ieee80211_softmac_wx.c that adds space before an open
brace as identified by checkpatch.pl. This was overlooked in a previous
patch.
Signed-off-by: Mike Dupuis
---
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
On Sat, Sep 05, 2015 at 09:21:58PM +0200, Anders Fridlund wrote:
> I resent it since no one responded to it for 10 days. From what I came
> to understand that is the common practice. If that is not the case I'm
> sorry (and please let me know so I don't do it again).
That's fine to do, but at leas
2015-09-03 13:00 GMT-04:00 Greg Kroah-Hartman :
> You need to prove that they are aligned before I can take this patch :(
Right!
I looked at those structs using pahole. The structs used are
net_device from include/linux/netdevice.h and sockaddr from
include/linux/socket.h, in which we use the ele
Hello Jonathan,
On 09/05/2015 06:31 PM, Jonathan Cameron wrote:
> On 01/09/15 00:09, Javier Martinez Canillas wrote:
>> Hello Jonathan,
>>
>> On 08/22/2015 07:59 PM, Jonathan Cameron wrote:
>>> On 20/08/15 08:07, Javier Martinez Canillas wrote:
The SPI core always reports the MODALIAS uevent
On Sat, Sep 05, 2015 at 06:16:16PM -0400, Raphaël Beamonte wrote:
> 2015-09-03 13:00 GMT-04:00 Greg Kroah-Hartman :
> > You need to prove that they are aligned before I can take this patch :(
>
> Right!
>
> I looked at those structs using pahole. The structs used are
> net_device from include/lin
Prefer ether_addr_copy() over memcpy() if the Ethernet addresses
are __aligned(2)
The values used are stored as dev_addr in net_device (declared in
include/linux/netdevice.h) and sa_data in sockaddr (declared in
include/linux/socket.h). Both these elements are u16 aligned as
shown by using pahole
30 matches
Mail list logo