-staging-pi433-New-driver/20170716-181617
reproduce:
# apt-get install sparse
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__
sparse warnings: (new ones prefixed by >>)
include/linux/compiler.h:260:8: sparse: attribute 'no_sanitize_address':
u
attribute_groups are not supposed to change at runtime. All functions
working with attribute_groups provided by work
with const attribute_group. So mark the non-const structs as const.
Signed-off-by: Arvind Yadav
---
drivers/staging/lustre/lustre/obdclass/lprocfs_status.c | 2 +-
1 file changed
attribute_groups are not supposed to change at runtime. All functions
working with attribute_groups provided by work
with const attribute_group. So mark the non-const structs as const.
Signed-off-by: Arvind Yadav
---
drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c | 2 +-
1 file changed, 1 inse
attribute_groups are not supposed to change at runtime. All functions
working with attribute_groups provided by work
with const attribute_group. So mark the non-const structs as const.
Signed-off-by: Arvind Yadav
---
drivers/staging/lustre/lustre/obdclass/linux/linux-module.c | 2 +-
1 file cha
attribute_groups are not supposed to change at runtime. All functions
working with attribute_groups provided by work
with const attribute_group. So mark the non-const structs as const.
File size before:
textdata bss dec hex filename
9489 992 40 105212919 lustr
attribute_groups are not supposed to change at runtime. All functions
working with attribute_groups provided by work
with const attribute_group. So mark the non-const structs as const.
Arvind Yadav (4):
[PATCH 1/4] staging: lustre: constify attribute_group structures.
[PATCH 2/4] staging: lus
Below was the trival error flagged by checkpatch.pl:
ERROR: space prohibited after that open parenthesis '('
Signed-off-by: Shy More
---
changes in v2:
- made the suggested corrections
---
.../atomisp/pci/atomisp2/css2400/runtime/isys/src/ibuf_ctrl_rmgr.c | 3 +--
1 file changed, 1 insertio
Four fields in struct fpgaimage are char arrays of length MAX_STR (256).
The amount of data read into these buffers is controlled by a length
field in the bitstream file read from userspace. If a corrupt or
malicious firmware file was supplied, kernel data beyond these buffers
can be overwritten ar
On Sun, 2017-07-16 at 16:38 -0700, Shy More wrote:
> Below was the trival error flagged by checkpatch.pl:
> ERROR: space prohibited after that open parenthesis '('
[]
> diff --git
> a/drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/isys/src/ibuf_ctrl_rmgr.c
>
> b/drivers/staging/media
Below was the trival error flagged by checkpatch.pl:
ERROR: space prohibited after that open parenthesis '('
Signed-off-by: Shy More
---
.../atomisp/pci/atomisp2/css2400/runtime/isys/src/ibuf_ctrl_rmgr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/drivers/staging/me
Below was the trivial wanrning flagged by checkpatch.pl
WARNING: Block comments use * on subsequent lines
Signed-off-by: Shy More
---
.../css2400/runtime/isys/src/ibuf_ctrl_rmgr.c | 24 +++---
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git
a/drivers/staging/m
From: Andrey Severin
kzalloc call was changed to kcalloc by checkpatch.pl recommendation
---
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_util.c
b/drive
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
staging-testing
head: 874bcba65f9a3a2a304b5f520529c046887c3cdc
commit: 874bcba65f9a3a2a304b5f520529c046887c3cdc [83/83] staging: pi433: New
driver
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gnu-gcc
This patch makes use of functions added in the previous patch. It
registers ldisc during init of main speakup module and unregisters it
during exit. It also removes the code to register ldisc every time a
synth module is loaded. This way we only register the ldisc once when
main speakup module is l
This patch adds the above two functions and makes them available to
main.c where they will be called during init and exit functions of
main speakup module. Following patch will make use of them.
Signed-off-by: Okash Khawaja
---
drivers/staging/speakup/spk_priv.h |2 ++
drivers/staging/spea
Hi,
These patches make sure that N_SPEAKUP is correctly unregistered when all
speakup related modules are unloaded, making sure the refcount correctly
represents the number of users.
Patch 1: simply adds functions to register and unregister ldisc, without
changing existing behaviour
Patch
On Sun, Jul 16, 2017 at 03:53:57PM +0200, Marcus Wolf wrote:
> Hi Greg,
>
> like I wrote before - unfortunally I couldn't find a git command, squashing
> all my commits into one single patch. Therfore I copy and pasted the patch
> manually.
git diff FIRST_PATCH..HEAD > my.patch
will do it.
> N
Hi Greg,
like I wrote before - unfortunally I couldn't find a git command, squashing
all my commits into one single patch. Therfore I copy and pasted the patch
manually.
Never the less, the first three rows were copied from a patch, originally
generated by git.
I used
git format-patch master
On Sun, Jul 16, 2017 at 12:33:16PM +0200, Simon Sandström wrote:
> Hi
>
> On Tue, Jul 11, 2017 at 07:00:33PM +0200, Greg KH wrote:
> > Not all of these applied, some did, if you could rebase the remaining
> > against my staging-testing branch at the moment, and resend, that would
> > be great.
>
Hi
On Tue, Jul 11, 2017 at 07:00:33PM +0200, Greg KH wrote:
> Not all of these applied, some did, if you could rebase the remaining
> against my staging-testing branch at the moment, and resend, that would
> be great.
I'm not sure about the preferred procedure. Is it OK to send the
rebased patche
On Sun, Jul 16, 2017 at 11:52:32AM +0200, Wolf Entwicklungen wrote:
> From: Marcus Wolf
> Date: Tue,16 Jul 2017 11:52:06 +0100
> Subject: [PATCH 1/1] drivers/staging/pi433: New driver
Why is this all here in the patch body? Usually git will strip this
out, but in the future, please don't put it
From: Marcus Wolf
Date: Tue,16 Jul 2017 11:52:06 +0100
Subject: [PATCH 1/1] drivers/staging/pi433: New driver
Added a driver for the pi433 radio module
(see https://www.pi433.de/en.html for details).
Signed-off-by: Marcus Wolf
---
diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig
i
Current function name is accessed using __func__.
Use '%s and __func__' instead of a function name.
Problem found by checkpatch.
Signed-off-by: Shreeya Patel
---
drivers/staging/rtl8192u/r8192U_core.c | 23 +++
1 file changed, 11 insertions(+), 12 deletions(-)
diff --git a/
Hi,
Let's deal with the ldisc refcount problem separately. Purpose of this
patch is to close tty safely, so I have removed the call to unregister
the ldisc. I will follow this up with a separate patch which addresses
the ldisc issue.
Thanks,
Okash
___
d
Speakup opens tty using tty_open_by_driver. When closing, it calls
tty_ldisc_release but doesn't close and remove the tty itself. As a
result, that tty cannot be opened from user space. This patch calls
tty_release_struct which ensures that tty is safely removed and freed
up. It also calls tty_ldis
ee, please drop us a note to help
> improve the system]
>
> url:
> https://github.com/0day-ci/linux/commits/Wolf-Entwicklungen/drivers-staging-pi433-New-driver/20170716-021625
> :: branch date: 2 hours ago
> :: commit date: 2 hours ago
>
> >> drivers/staging/pi43
26 matches
Mail list logo