From: David Gibson <david@gibson.dropbear.id.au>
To: Linus Torvalds <torvalds@transmeta.com>,
Greg Kroah-Hartman <greg@kroah.com>
Cc: linux-kernel@vger.kernel.org, trivial@rustcorp.com.au
Subject: [TRIVIAL] Squash warnings in usb-serial.c
Date: Fri, 7 Mar 2003 16:43:52 +1100 [thread overview]
Message-ID: <20030307054352.GD1161@zax> (raw)
Linus, please apply:
This squashes (gcc-3.2) "label and end of compound statement
deprecated" warnings in usb-serial.c.
diff -urN pmac-2.5-pristine/drivers/usb/serial/usb-serial.c linux-2.5-zax/drivers/usb/serial/usb-serial.c
--- pmac-2.5-pristine/drivers/usb/serial/usb-serial.c 2003-02-19 19:15:51.000000000 +1100
+++ linux-2.5-zax/drivers/usb/serial/usb-serial.c 2003-03-07 16:31:07.000000000 +1100
@@ -634,6 +634,7 @@
serial->type->throttle(port);
exit:
+ ;
}
static void serial_unthrottle (struct tty_struct * tty)
@@ -656,6 +657,7 @@
serial->type->unthrottle(port);
exit:
+ ;
}
static int serial_ioctl (struct tty_struct *tty, struct file * file, unsigned int cmd, unsigned long arg)
@@ -704,6 +706,7 @@
serial->type->set_termios(port, old);
exit:
+ ;
}
static void serial_break (struct tty_struct *tty, int break_state)
@@ -726,6 +729,7 @@
serial->type->break_ctl(port, break_state);
exit:
+ ;
}
static void serial_shutdown (struct usb_serial *serial)
--
David Gibson | For every complex problem there is a
david@gibson.dropbear.id.au | solution which is simple, neat and
| wrong.
http://www.ozlabs.org/people/dgibson
reply other threads:[~2003-03-07 5:34 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=20030307054352.GD1161@zax \
--to=david@gibson.dropbear.id.au \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
--cc=trivial@rustcorp.com.au \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox