linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pete Zaitcev <zaitcev@redhat.com>
To: schwidefsky@de.ibm.com
Cc: Pete Zaitcev <zaitcev@redhat.com>, linux-kernel@vger.kernel.org
Subject: 2.4.19-pre3 s390 patch for hwc_con.c
Date: Fri, 15 Mar 2002 13:29:16 -0500	[thread overview]
Message-ID: <20020315132916.C24597@devserv.devel.redhat.com> (raw)

This patch makes hwc_con more resilient to structure layout changes.
It's not _strictly_ necessary, but I would like it to be in.

-- Pete

diff -ur -X dontdiff linux-2.4.19-pre3/drivers/s390/char/hwc_con.c linux-2.4.19-pre3-390/drivers/s390/char/hwc_con.c
--- linux-2.4.19-pre3/drivers/s390/char/hwc_con.c	Wed Jul 25 14:12:02 2001
+++ linux-2.4.19-pre3-390/drivers/s390/char/hwc_con.c	Fri Mar 15 08:39:17 2002
@@ -31,20 +31,12 @@
 
 #define  HWC_CON_PRINT_HEADER "hwc console driver: "
 
-struct console hwc_console =
-{
-
-	hwc_console_name,
-	hwc_console_write,
-	NULL,
-	hwc_console_device,
-	NULL,
-	hwc_console_unblank,
-	NULL,
-	CON_PRINTBUFFER,
-	0,
-	0,
-	NULL
+struct console hwc_console = {
+	name:	hwc_console_name,
+	write:	hwc_console_write,
+	device:	hwc_console_device,
+	unblank:hwc_console_unblank,
+	flags:	CON_PRINTBUFFER,
 };
 
 void 

             reply	other threads:[~2002-03-15 18:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-15 18:29 Pete Zaitcev [this message]
2002-03-18 14:03 2.4.19-pre3 s390 patch for hwc_con.c Martin Schwidefsky
2002-03-18 23:31 ` Pete Zaitcev

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=20020315132916.C24597@devserv.devel.redhat.com \
    --to=zaitcev@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=schwidefsky@de.ibm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).