lkml.org 
[lkml]   [2004]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] cs.c: release_cis_mem() missing?
...and one more

diff -u -r1.1.1.8.6.1.2.1 cs.c
--- drivers/pcmcia/cs.c 2003/10/24 15:15:12 1.1.1.8.6.1.2.1
+++ drivers/pcmcia/cs.c 2004/03/24 11:20:44
@@ -674,6 +674,7 @@
cs_sleep(shutdown_delay);
s->state &= ~SOCKET_PRESENT;
shutdown_socket(s);
+ release_cis_mem(s);
}

static void parse_events(void *info, u_int events)
- also with a question mark? Without this patch the mappping stays after
card removal and the resource doesn't get freed. Maybe, holds for 2.6
too. The function to be patched seems to be socket_shutdown.

Guennadi
---------------------------------
Guennadi Liakhovetski, Ph.D.
DSA Daten- und Systemtechnik GmbH
Pascalstr. 28
D-52076 Aachen
Germany
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.015 / U:0.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site