All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rich Baum <baumr1@coral.indstate.edu>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] fix compile warnings in 2.4.15pre6
Date: Sun, 18 Nov 2001 20:02:47 -0500	[thread overview]
Message-ID: <D4EAEC1917@coral.indstate.edu> (raw)

The following patch fixes some compile warnings in 2..4.15pre6.  The warnings 
are for using labels at the end of compound statements and for tokens at the 
end of #undef statements.  Please consider applying this patch to 2.4.15 
final.

Thanks, 
Rich


diff -urN linux/drivers/atm/firestream.c linux-rb/drivers/atm/firestream.c
--- linux/drivers/atm/firestream.c	Sun Nov 18 15:07:44 2001
+++ linux-rb/drivers/atm/firestream.c	Sun Nov 18 19:42:53 2001
@@ -758,6 +758,7 @@
 			kfree (td);
 			break;
 		default:
+			break;
 			/* Here we get the tx purge inhibit command ... */
 			/* Action, I believe, is "don't do anything". -- REW */
 		}
diff -urN linux/drivers/media/video/meye.c linux-rb/drivers/media/video/meye.c
--- linux/drivers/media/video/meye.c	Thu Oct 25 15:53:47 2001
+++ linux-rb/drivers/media/video/meye.c	Sun Nov 18 19:17:56 2001
@@ -903,6 +903,7 @@
 		mchip_free_frame();
 	}
 out:
+	return;
 }
 
 /****************************************************************************
/
diff -urN linux/drivers/media/video/zr36067.c 
linux-rb/drivers/media/video/zr36067.c
--- linux/drivers/media/video/zr36067.c	Sun Nov 18 15:07:46 2001
+++ linux-rb/drivers/media/video/zr36067.c	Sun Nov 18 19:43:39 2001
@@ -1418,6 +1418,7 @@
 		post_office_write(zr, 3, 0, 0);
 		udelay(2);
 	default:
+		break;
 	}
 	return 0;
 }
diff -urN linux/drivers/scsi/cpqfcTSworker.c 
linux-rb/drivers/scsi/cpqfcTSworker.c
--- linux/drivers/scsi/cpqfcTSworker.c	Thu Oct 25 15:53:50 2001
+++ linux-rb/drivers/scsi/cpqfcTSworker.c	Sun Nov 18 19:21:00 2001
@@ -2912,6 +2912,7 @@
   }
 
 Done:  
+  	return;
 }
 
 static void 
@@ -3029,7 +3030,7 @@
 
 
 Done:
-
+	return;
 }
 
 
diff -urN linux/drivers/scsi/sym53c8xx_2/sym_hipd.c 
linux-rb/drivers/scsi/sym53c8xx_2/sym_hipd.c
--- linux/drivers/scsi/sym53c8xx_2/sym_hipd.c	Sun Nov 18 15:07:50 2001
+++ linux-rb/drivers/scsi/sym53c8xx_2/sym_hipd.c	Sun Nov 18 19:19:07 2001
@@ -4691,6 +4691,7 @@
 	OUTL_DSP (SCRIPTA_BA (np, clrack));
 	return;
 out_stuck:
+	return;
 }
 
 /*
@@ -5226,6 +5227,7 @@
 
 	return;
 fail:
+	return;
 }
 
 /*
diff -urN linux/drivers/scsi/sym53c8xx_2/sym_nvram.c 
linux-rb/drivers/scsi/sym53c8xx_2/sym_nvram.c
--- linux/drivers/scsi/sym53c8xx_2/sym_nvram.c	Sun Nov 18 15:07:50 2001
+++ linux-rb/drivers/scsi/sym53c8xx_2/sym_nvram.c	Sun Nov 18 19:19:38 2001
@@ -505,10 +505,10 @@
 	return retv;
 }
 
-#undef SET_BIT 0
-#undef CLR_BIT 1
-#undef SET_CLK 2
-#undef CLR_CLK 3
+#undef SET_BIT /* 0 */
+#undef CLR_BIT /* 1 */
+#undef SET_CLK /* 2 */
+#undef CLR_CLK /* 3 */
 
 /*
  *  Try reading Symbios NVRAM.
diff -urN linux/fs/ntfs/fs.c linux-rb/fs/ntfs/fs.c
--- linux/fs/ntfs/fs.c	Thu Oct 25 02:02:26 2001
+++ linux-rb/fs/ntfs/fs.c	Sun Nov 18 19:21:50 2001
@@ -852,7 +852,7 @@
 		}
 		break;
 	default:
-		/* Nothing. Just clear the inode and exit. */
+		break;	/* Nothing. Just clear the inode and exit. */
 	}
 	ntfs_clear_inode(&inode->u.ntfs_i);
 unl_out:
diff -urN linux/net/802/cl2llc.c linux-rb/net/802/cl2llc.c
--- linux/net/802/cl2llc.c	Sun Nov 18 15:34:16 2001
+++ linux-rb/net/802/cl2llc.c	Sun Nov 18 19:22:38 2001
@@ -97,6 +97,7 @@
 					llc_interpret_pseudo_code(lp, REJECT1, skb, NO_FRAME);
 				break;
 			default:
+				break;
 		}
 		if(lp->llc_callbacks)
 		{
@@ -498,6 +499,7 @@
 					lp->f_flag = fr->i_hdr.i_pflag;
 				break;
 			default:
+				break;
 		}
 		pc++;	
 	}

                 reply	other threads:[~2001-11-19  1:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D4EAEC1917@coral.indstate.edu \
    --to=baumr1@coral.indstate.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.