Skip to contentSkip to conversation

Fix parport_sunbpp so it compiles

PATCH In review Tom 'spot' Callaway 2 participants 2 messages Mar 7, 2004 Parallel port

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix parport_sunbpp so it compiles

Given the history of this driver, I doubt this gets it into "working" state, but it should at least compile now.

~spot
---
Tom "spot" Callaway <tcallawa(a)redhat*com> LCA, RHCE Red Hat Sales Engineer || Aurora SPARC Linux Project Leader

"The author's mathematical treatment of the conception of purpose is novel and highly ingenious, but heretical and, so far as the present social order is concerned, dangerous and potentially subversive. Not to be published." -- Aldous Huxley's "Brave New World"

drivers/parport/parport_sunbpp.c renamed from drivers/parport/parport_sunbpp.c.OLD +1 -1
@@ -384,7 +384,7 @@
 
 static void __exit parport_sunbpp_exit(void)
 {
-	while (!list_empty(port_list)) {
+	while (!list_empty(&port_list)) {
 		Node *node = list_entry(port_list.next, Node, list);
 		struct parport *p = node->port;
 		struct parport_operations *ops = p->ops;
#1 lore raw
Quoted 2 lines · Tom 'spot' Callaway

Given the history of this driver, I doubt this gets it into "working" state, but it should at least compile now.

Thanks Tom, but I beat you to it. This went to Dave a couple days ago. I also fixed the warning about irqreturn_t. Like you, I don't know if the driver actually works because cables for this beast are incredibly rare.

Signature · 1 line
Keith M Wesolowski