Skip to contentSkip to conversation

autofs: s/0/NULL/ in pointer context

PATCH New Alexey Dobriyan 1 participant 1 message Jan 9, 2005 Kernel automounter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 autofs: s/0/NULL/ in pointer context

fs/autofs/waitq.c +1 -1
Index: linux-2.6.10-bk11-warnings/fs/autofs/waitq.c
===================================================================
@@ -183,7 +183,7 @@
 {
 	struct autofs_wait_queue *wq, **wql;
 
-	for ( wql = &sbi->queues ; (wq = *wql) != 0 ; wql = &wq->next ) {
+	for ( wql = &sbi->queues ; (wq = *wql) != NULL ; wql = &wq->next ) {
 		if ( wq->wait_queue_token == wait_queue_token )
 			break;
 	}