2.4.21-pre4 more extra semicolons bugs

From: Oleg Drokin (green@linuxhacker.ru)
Date: Sun Feb 09 2003 - 11:54:08 EST


Hello!

    It is a boring sunday here today, so I decided to play with gcc -W
    on a 2.4.21-pre4 (from current bitkeeper tree) with all the stuff
    possible compiled in.
    Seems that megaraid and 8253xtty have extra semicolons. Nothing
    too serious, though.

Bye,
    Oleg
===== drivers/net/wan/8253x/8253xtty.c 1.1 vs edited =====
--- 1.1/drivers/net/wan/8253x/8253xtty.c Thu Apr 4 23:05:10 2002
+++ edited/drivers/net/wan/8253x/8253xtty.c Sun Feb 9 19:32:58 2003
@@ -2131,7 +2131,7 @@
         /* Check whether or not the port is open in SYNC mode */
         if(port->open_type == OPEN_SYNC_NET)
         {
- if(port->dev && netif_carrier_ok(port->dev));
+ if(port->dev && netif_carrier_ok(port->dev))
                 {
                         port->tty= NULL; /* Don't bother with open counting here
                                                    but make sure the tty field is NULL*/
===== drivers/scsi/megaraid.c 1.21 vs edited =====
--- 1.21/drivers/scsi/megaraid.c Fri Dec 13 12:29:59 2002
+++ edited/drivers/scsi/megaraid.c Sun Feb 9 19:39:12 2003
@@ -4936,7 +4936,7 @@
                 if( ioc.mbox[0] == MEGA_MBOXCMD_PASSTHRU ) {
                         put_user( scsicmd->result, &uioc->pthru.scsistatus );
                         if (copy_to_user( uioc->pthru.reqsensearea, scsicmd->sense_buffer,
- MAX_REQ_SENSE_LEN ));
+ MAX_REQ_SENSE_LEN ))
                                 ret= -EFAULT;
                 } else {
                         put_user(1, &uioc->mbox[16]); /* numstatus */
-
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/



This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:00:23 EST