This patch fixes the GCC warning:
warning: comparison between signed and unsigned integer expressions
[-Wsign-compare]
for (i = 0; i < len; i++)
^
Signed-off-by: Rodrigo Siqueira
---
include/linux/byteorder/generic.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
d
This patch fixes the CHECKs reported by checkpatch.pl for "alignment
should match open parenthesis"
Signed-off-by: rodrigosiqueira
---
drivers/staging/iio/meter/ade7759.c | 80 ++---
1 file changed, 38 insertions(+), 42 deletions(-)
diff --git a/drive
This patch fixes the checkpatch.pl warning:
drivers/staging/iio/meter/ade7854.h:157: WARNING: function definition
argument 'struct device *' should also have an identifier name...
Signed-off-by: Rodrigo Siqueira
---
drivers/staging/iio/meter/ade7854.h | 28 ++--
1 file c
This patch fixes the checkpatch.pl warning and error:
iio/pressure/ms5611.h:66: ERROR: code indent should use tabs where possible
iio/pressure/ms5611.h:66: WARNING: please, no spaces at the start of a line
iio/pressure/ms5611.h:66: ERROR: "foo* bar" should be "foo *bar"
Signed-off-by: Rodrigo Siq
This patch fixes the checkpatch.pl warning and error:
iio/pressure/ms5611.h:66: ERROR: code indent should use tabs where possible
iio/pressure/ms5611.h:66: WARNING: please, no spaces at the start of a line
iio/pressure/ms5611.h:66: ERROR: "foo* bar" should be "foo *bar"
Signed-off-by: Rodrigo Siq
This patch fixes the checkpatch.pl warning:
drivers/staging/iio/meter/ade7854.h:157: WARNING: function definition
argument 'struct device *' should also have an identifier name...
This commit adds arguments names to the signature declared in the
ade7854_state struct. For consistency reason, It al
The first parameter of prepare_lock_switch (kernel/sched/sched.h) is not
used anymore. Commit c55f5158f removed the code that use the first
parameter and function prepare_lock_switch is only used in
prepare_task_switch (kernel/sched/core.c)
I tested it in a virtual machine running Debian x86_64 wi
Commit e37e43a497d5 ("x86/mm/64: Enable vmapped stacks
(CONFIG_HAVE_ARCH_VMAP_STACK=y)") added prepare_switch_to with one extra
parameter which is not used by the function, remove it.
Signed-off-by: Rodrigo Siqueira
---
arch/x86/include/asm/switch_to.h | 5 ++---
1 file changed, 2 insertions(+),
Function prepare_lock_switch have an unused parameter, and also the
function name was not descriptive. To improve the readability and remove
the extra parameter, the following changes were made:
* Moved prepare_lock_switch from kernel/sched/sched.h to
kernel/sched/core.c, renamed it to acquire_l
Commit-ID: 31cb1bc0dc94882a588930f4d007b570c481fd17
Gitweb: https://git.kernel.org/tip/31cb1bc0dc94882a588930f4d007b570c481fd17
Author: rodrigosiqueira
AuthorDate: Fri, 15 Dec 2017 12:06:03 -0200
Committer: Ingo Molnar
CommitDate: Wed, 10 Jan 2018 11:30:27 +0100
sched/core: Rework and
Commit-ID: 7ac139eaa6bbdb07c547b6916a808eab3897e0e3
Gitweb: https://git.kernel.org/tip/7ac139eaa6bbdb07c547b6916a808eab3897e0e3
Author: rodrigosiqueira
AuthorDate: Fri, 15 Dec 2017 11:15:33 -0200
Committer: Thomas Gleixner
CommitDate: Wed, 27 Dec 2017 20:37:41 +0100
x86: Remove unused
11 matches
Mail list logo