Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1632441
| From | Fabrizio Perria <fabrizio.perria@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] ion: Fixed initialization of static variable to 0 |
| Date | 2017-04-28 01:40 +0200 |
| Message-ID | <tB1aV-7Gc-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[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
csiph-web