When building for ARM64 the following build warning is seen:
drivers/staging/fbtft/fbtft-core.c:1004:4: warning: format '%d' expects
argument of type 'int', but argument 3 has type 'size_t' [-Wformat=]
Use '%zu' to print 'size_t' format.
Signed-off-by: Fabio Estevam
---
drivers/staging/fbtft/
When building for ARM64 the following build warnings are seen:
drivers/staging/fbtft/fbtft-io.c: In function 'fbtft_write_spi_emulate_9':
drivers/staging/fbtft/fbtft-io.c:63:4: warning: format '%d' expects argument of
type 'int', but argument 4 has type 'size_t' [-Wformat=]
drivers/staging/fbtft
This patch reduces the kernel size by removing error messages that duplicate
the normal OOM message.
A simplified version of the semantic patch that finds this problem is as
follows: (http://coccinelle.lip6.fr)
@@
identifier f,print,l;
expression e;
constant char[] c;
@@
e = \(kzalloc\|kmalloc\|
On 02/17/2015 08:17 PM, Pavel Machek wrote:
> On Tue 2015-02-17 11:07:53, Rob Landley wrote:
>>
>>
>> On 02/15/2015 04:40 PM, Pavel Machek wrote:
>>> On Wed 2015-01-21 13:27:00, Jason Gunthorpe wrote:
On Wed, Jan 21, 2015 at 06:33:12PM +0200, Pantelis Antoniou wrote:
My point is that the
In some cases host asks us to overballoon and this triggers OOM killer which
eventually kills everyone. The easiest way to get into such situation is to
avoid onlining memory-hotplugged blocks. Address the issue twice:
- Report offline pages as used to the host so it won't ask us to overballoon;
-
When host asks us to balloon up we need to be sure we're not committing suicide
by overballooning. Use already existent 'floor' metric as our lowest possible
value for free ram.
Signed-off-by: Vitaly Kuznetsov
---
drivers/hv/hv_balloon.c | 11 +++
1 file changed, 11 insertions(+)
diff -
When hot-added memory pages are not brought online or when some memory blocks
are sent offline the subsequent ballooning process kills the guest with OOM
killer. This happens as we don't report these pages as neither used nor free
and apparently host algorythm considers them as being unused. Keep t
From: Devendra Naga
The code does the checks on should_stop variable in the kernel
threads. The uisthread_stop function sets the should_stop and calls
KILL (eventually kill_pid) to stop the thread.
The checking of should_stop variable can be replaced to a call to
kthread_should_stop function and
This set contains Devendra's patches for fixing s-Par's drivers so they use
the kthread API.
This patch set has been tested on s-Par and works correctly.
Devendra Naga (5):
unisys: replace kthread_create and wake_up_process with kthread_run
unisys: use simpler kthread_ API
unisys: use kthre
From: Devendra Naga
kthread_run calls kthread_create and if the thread is created
it then calls wake_up_process on the corresponding returned
task struct. So the code can be simplified by calling just
kthread_run.
Cc: Ken Cox
Cc: Benjamin Romer
Signed-off-by: Devendra Naga
Signed-off-by: Benj
From: Devendra Naga
remove the should_stop variable and KILL API as they are
no longer required
Cc: Ken Cox
Cc: Benjamin Romer
Signed-off-by: Devendra Naga
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/include/uisthread.h | 1 -
drivers/staging/unisys/uislib/uisthread.c | 2 --
From: Devendra Naga
convert the users of should_stop into using kthread_should_stop API.
Cc: Ken Cox
Cc: Benjamin Romer
Signed-off-by: Devendra Naga
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/uislib/uislib.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
From: Devendra Naga
convert the users of should_stop variable into kthread_should_stop() API.
Cc: Ken Cox
Cc: Benjamin Romer
Signed-off-by: Devendra Naga
Signed-off-by: Benjamin Romer
---
drivers/staging/unisys/virthba/virthba.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
dif
Telekom Malaysia Berhad
G.03B, Ground Floor, Kompleks Antarabangsa, Jln Sultan Ismail, Off Jalan Ampang
50250 Kuala Lumpur
Malaysia.
NOTIS RASMI HADIAH TELEKOM MALAYSIA
Pihak Telekom Malaysia @Program Kemenangan yang telah diadakan pada 9th
Februari 2015 di mana alamat email anda yang disertakan
Replaced C99 comments with C89.
Signed-off-by: Tolga Ceylan
---
drivers/staging/rtl8192u/r819xU_firmware.c | 33 +++---
1 file changed, 17 insertions(+), 16 deletions(-)
diff --git a/drivers/staging/rtl8192u/r819xU_firmware.c
b/drivers/staging/rtl8192u/r819xU_firmware.c
Removed an assert that was commented out. The comment provides
no documentation value as rt_status is properly handled.
Signed-off-by: Tolga Ceylan
---
drivers/staging/rtl8192u/r819xU_firmware.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/rtl8192u/r819xU_firmware.c
b/dr
Removed commented out variable
Signed-off-by: Tolga Ceylan
---
drivers/staging/rtl8192u/r819xU_firmware.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/rtl8192u/r819xU_firmware.c
b/drivers/staging/rtl8192u/r819xU_firmware.c
index c230be2..9d0067e 100644
--- a/drivers/stagin
Resolved space required after that ',' errors reported by checkpatch.
Signed-off-by: Tolga Ceylan
---
drivers/staging/rtl8192u/r819xU_firmware.c | 17 +++--
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/rtl8192u/r819xU_firmware.c
b/drivers/staging/rt
On Thu, 2015-02-19 at 21:54 -0800, Tolga Ceylan wrote:
> Resolved space required after that ',' errors reported by checkpatch.
trivia:
> diff --git a/drivers/staging/rtl8192u/r819xU_firmware.c
> b/drivers/staging/rtl8192u/r819xU_firmware.c
[]
> @@ -66,7 +66,7 @@ static bool fw_download_code(stru
19 matches
Mail list logo