Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1632441 > unrolled thread

[PATCH] ion: Fixed initialization of static variable to 0

Started byFabrizio Perria <fabrizio.perria@gmail.com>
First post2017-04-28 01:40 +0200
Last post2017-04-28 09:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] ion: Fixed initialization of static variable to 0 Fabrizio Perria <fabrizio.perria@gmail.com> - 2017-04-28 01:40 +0200
    Re: [PATCH] ion: Fixed initialization of static variable to 0 Greg KH <gregkh@linuxfoundation.org> - 2017-04-28 09:40 +0200

#1632441 — [PATCH] ion: Fixed initialization of static variable to 0

FromFabrizio Perria <fabrizio.perria@gmail.com>
Date2017-04-28 01:40 +0200
Subject[PATCH] ion: Fixed initialization of static variable to 0
Message-ID<tB1aV-7Gc-3@gated-at.bofh.it>
From: Fabrizio <fabrizio.perria@gmail.com>

Signed-off-by: Fabrizio <fabrizio.perria@gmail.com>
---
 drivers/staging/android/ion/ion.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c
index fb836c6..03d3a4f 100644
--- a/drivers/staging/android/ion/ion.c
+++ b/drivers/staging/android/ion/ion.c
@@ -41,7 +41,7 @@
 #include "ion.h"
 
 static struct ion_device *internal_dev;
-static int heap_id = 0;
+static int heap_id;
 
 bool ion_buffer_cached(struct ion_buffer *buffer)
 {
-- 
1.9.1

[toc] | [next] | [standalone]


#1632587

FromGreg KH <gregkh@linuxfoundation.org>
Date2017-04-28 09:40 +0200
Message-ID<tB8Fs-4jD-27@gated-at.bofh.it>
In reply to#1632441
On Thu, Apr 27, 2017 at 07:29:53PM -0400, Fabrizio Perria wrote:
> From: Fabrizio <fabrizio.perria@gmail.com>

I need a full name here.

> 
> Signed-off-by: Fabrizio <fabrizio.perria@gmail.com>

And here.

Also, I can not take patches without any changelog text, please fix, and
fix up your subject to say what part of the kernel you are working with
(look at other patches for this file...)

thanks,

greg k-h

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web