All of lore.kernel.org
 help / color / mirror / Atom feed
From: CaT <cat@zip.com.au>
To: linux-kernel@vger.kernel.org
Subject: [PATCH 5/10] 2.6.0-t3: struct C99 initialiser conversion
Date: Tue, 19 Aug 2003 16:36:57 +1000	[thread overview]
Message-ID: <20030819063657.GK643@zip.com.au> (raw)

[-- Attachment #1: Type: text/plain, Size: 207 bytes --]

linux/arch/ patch (excluding ia64, mips and sh which were sent in
seperate emails)

-- 
"How can I not love the Americans? They helped me with a flat tire the
other day," he said.
	- http://tinyurl.com/h6fo

[-- Attachment #2: 2.6.0-t3.c99.arch.patch --]
[-- Type: text/plain, Size: 4618 bytes --]

diff -aur linux.backup/arch/alpha/kernel/core_titan.c linux/arch/alpha/kernel/core_titan.c
--- linux.backup/arch/alpha/kernel/core_titan.c	Sat Aug 16 15:02:35 2003
+++ linux/arch/alpha/kernel/core_titan.c	Sun Aug 17 00:34:00 2003
@@ -718,12 +718,12 @@
 
 struct alpha_agp_ops titan_agp_ops =
 {
-	setup:		titan_agp_setup,
-	cleanup:	titan_agp_cleanup,
-	configure:	titan_agp_configure,
-	bind:		titan_agp_bind_memory,
-	unbind:		titan_agp_unbind_memory,
-	translate:	titan_agp_translate
+	.setup		= titan_agp_setup,
+	.cleanup	= titan_agp_cleanup,
+	.configure	= titan_agp_configure,
+	.bind		= titan_agp_bind_memory,
+	.unbind		= titan_agp_unbind_memory,
+	.translate	= titan_agp_translate
 };
 
 alpha_agp_info *
diff -aur linux.backup/arch/arm/kernel/apm.c linux/arch/arm/kernel/apm.c
--- linux.backup/arch/arm/kernel/apm.c	Thu Jun 26 23:44:05 2003
+++ linux/arch/arm/kernel/apm.c	Sat Aug 16 17:54:50 2003
@@ -388,18 +388,18 @@
 }
 
 static struct file_operations apm_bios_fops = {
-	owner:		THIS_MODULE,
-	read:		apm_read,
-	poll:		apm_poll,
-	ioctl:		apm_ioctl,
-	open:		apm_open,
-	release:	apm_release,
+	.owner		= THIS_MODULE,
+	.read		= apm_read,
+	.poll		= apm_poll,
+	.ioctl		= apm_ioctl,
+	.open		= apm_open,
+	.release	= apm_release,
 };
 
 static struct miscdevice apm_device = {
-	minor:		APM_MINOR_DEV,
-	name:		"apm_bios",
-	fops:		&apm_bios_fops
+	.minor		= APM_MINOR_DEV,
+	.name		= "apm_bios",
+	.fops		= &apm_bios_fops
 };
 
 
diff -aur linux.backup/arch/arm26/kernel/setup.c linux/arch/arm26/kernel/setup.c
--- linux.backup/arch/arm26/kernel/setup.c	Sat Aug 16 15:02:16 2003
+++ linux/arch/arm26/kernel/setup.c	Sat Aug 16 17:55:12 2003
@@ -304,12 +304,12 @@
 
 #if defined(CONFIG_DUMMY_CONSOLE)
 struct screen_info screen_info = {
- orig_video_lines:	30,
- orig_video_cols:	80,
- orig_video_mode:	0,
- orig_video_ega_bx:	0,
- orig_video_isVGA:	1,
- orig_video_points:	8
+ .orig_video_lines	= 30,
+ .orig_video_cols	= 80,
+ .orig_video_mode	= 0,
+ .orig_video_ega_bx	= 0,
+ .orig_video_isVGA	= 1,
+ .orig_video_points	= 8
 };
 
 static int __init parse_tag_videotext(const struct tag *tag)
diff -aur linux.backup/arch/cris/arch-v10/drivers/pcf8563.c linux/arch/cris/arch-v10/drivers/pcf8563.c
--- linux.backup/arch/cris/arch-v10/drivers/pcf8563.c	Sat Aug 16 15:02:35 2003
+++ linux/arch/cris/arch-v10/drivers/pcf8563.c	Sat Aug 16 15:44:59 2003
@@ -57,10 +57,10 @@
 int pcf8563_release(struct inode *, struct file *);
 
 static struct file_operations pcf8563_fops = {
-	owner: THIS_MODULE,
-	ioctl: pcf8563_ioctl,
-	open: pcf8563_open,
-	release: pcf8563_release,
+	.owner = THIS_MODULE,
+	.ioctl = pcf8563_ioctl,
+	.open = pcf8563_open,
+	.release = pcf8563_release,
 };
 
 unsigned char
diff -aur linux.backup/arch/h8300/kernel/setup.c linux/arch/h8300/kernel/setup.c
--- linux.backup/arch/h8300/kernel/setup.c	Sat Aug 16 15:02:35 2003
+++ linux/arch/h8300/kernel/setup.c	Sat Aug 16 15:45:00 2003
@@ -91,12 +91,12 @@
 }
 
 static const struct console gdb_console = {
-	name:		"gdb_con",
-	write:		gdb_console_output,
-	device:		NULL,
-	setup:		gdb_console_setup,
-	flags:		CON_PRINTBUFFER,
-	index:		-1,
+	.name		= "gdb_con",
+	.write		= gdb_console_output,
+	.device		= NULL,
+	.setup		= gdb_console_setup,
+	.flags		= CON_PRINTBUFFER,
+	.index		= -1,
 };
 #endif
 
@@ -260,8 +260,8 @@
 }
 
 struct seq_operations cpuinfo_op = {
-	start:	c_start,
-	next:	c_next,
-	stop:	c_stop,
-	show:	show_cpuinfo,
+	.start	= c_start,
+	.next	= c_next,
+	.stop	= c_stop,
+	.show	= show_cpuinfo,
 };
diff -aur linux.backup/arch/ppc64/kernel/proc_ppc64.c linux/arch/ppc64/kernel/proc_ppc64.c
--- linux.backup/arch/ppc64/kernel/proc_ppc64.c	Thu Jun 26 23:46:16 2003
+++ linux/arch/ppc64/kernel/proc_ppc64.c	Sat Aug 16 18:09:20 2003
@@ -47,9 +47,9 @@
 static int     page_map_mmap( struct file *file, struct vm_area_struct *vma );
 
 static struct file_operations page_map_fops = {
-	llseek:	page_map_seek,
-	read:	page_map_read,
-	mmap:	page_map_mmap
+	.llseek	= page_map_seek,
+	.read	= page_map_read,
+	.mmap	= page_map_mmap
 };
 
 
diff -aur linux.backup/arch/ppc64/kernel/scanlog.c linux/arch/ppc64/kernel/scanlog.c
--- linux.backup/arch/ppc64/kernel/scanlog.c	Tue Mar 25 10:52:19 2003
+++ linux/arch/ppc64/kernel/scanlog.c	Sat Aug 16 15:44:59 2003
@@ -190,11 +190,11 @@
 }
 
 struct file_operations scanlog_fops = {
-	owner:		THIS_MODULE,
-	read:		scanlog_read,
-	write:		scanlog_write,
-	open:		scanlog_open,
-	release:	scanlog_release,
+	.owner		= THIS_MODULE,
+	.read		= scanlog_read,
+	.write		= scanlog_write,
+	.open		= scanlog_open,
+	.release	= scanlog_release,
 };
 
 int __init scanlog_init(void)

                 reply	other threads:[~2003-08-19  6:38 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=20030819063657.GK643@zip.com.au \
    --to=cat@zip.com.au \
    --cc=linux-kernel@vger.kernel.org \
    /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.