All of lore.kernel.org
 help / color / mirror / Atom feed
* gisi: crash fix
@ 2009-09-09 13:36 =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
  2009-09-09 20:27 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont @ 2009-09-09 13:36 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 71 bytes --]

Trivial tentative fix for PPC ISI crash.

-- 
Rémi Denis-Courmont

[-- Attachment #2: 0001-gisi-disable-logging-by-default.patch --]
[-- Type: text/plain, Size: 768 bytes --]

From cca88d5144ecc2b4f880f209c6a9c8a96a577ba2 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?R=C3=A9mi=20Denis-Courmont?= <remi.denis-courmont@nokia.com>
Date: Wed, 9 Sep 2009 16:35:44 +0300
Subject: [PATCH] gisi: disable logging by default

The debug_func was not initialized.
---
 gisi/client.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gisi/client.c b/gisi/client.c
index 01ec396..b3f685b 100644
--- a/gisi/client.c
+++ b/gisi/client.c
@@ -101,6 +101,7 @@ GIsiClient *g_isi_client_create(GIsiModem *modem, uint8_t resource)
 	cl = ptr;
 	cl->resource = resource;
 	cl->modem = modem;
+	cl->debug_func = NULL;
 	memset(cl->timeout, 0, sizeof(cl->timeout));
 	for (i = 0; i < 256; i++) {
 		cl->data[i] = cl->ind.data[i] = NULL;
-- 
1.6.0.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: gisi: crash fix
  2009-09-09 13:36 gisi: crash fix =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
@ 2009-09-09 20:27 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2009-09-09 20:27 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 116 bytes --]

Hi Remi,

> Trivial tentative fix for PPC ISI crash.

patch has been applied. Thanks.

Regards

Marcel



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-09 20:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-09 13:36 gisi: crash fix =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2009-09-09 20:27 ` Marcel Holtmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.