Skip to contentSkip to conversation

ion: Fixed initialization of static variable to 0

PATCH In review Fabrizio Perria 2 participants 2 messages Apr 27, 2017 – Apr 28, 2017 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ion: Fixed initialization of static variable to 0

From: Fabrizio <[email protected]>

---
 drivers/staging/android/ion/ion.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/android/ion/ion.c +1 -1
index fb836c6..03d3a4f 100644
@@ -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)
 {
Signature · 1 line
1.9.1
maintainer
#1 lore raw
Quoted 1 line · Fabrizio Perria

From: Fabrizio <[email protected]>

I need a full name here.

Quoted 2 lines

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