All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ][Patch] alter prototypes in airo.c platform.h
@ 2006-02-21 10:16 Darren Jenkins\
  2006-02-24 21:46 ` John W. Linville
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Darren Jenkins\ @ 2006-02-21 10:16 UTC (permalink / raw)
  To: kernel-janitors

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

G'day list,

This one finishes up the altering prototypes (because they contain
register) patches.

From http://linuxicc.sourceforge.net/

ICC complains about :Storage Class is not First

@ line 231 of platform.h &
@ lines 1078 & 1079 of airo.c

These are caused by the prototypes miss-naming the variables as
"register". Which as it is a keyword is an error.

The patch below renames the variables in the prototypes to match the
functions.

Signed-off-by: Darren Jenkins <darrenrjenkins@gmail.com>

 --- linux-2.6.16-rc3/drivers/isdn/hardware/eicon/platform.h.orig	2006-02-21 20:32:58.000000000 +1100
+++ linux-2.6.16-rc3/drivers/isdn/hardware/eicon/platform.h	2006-02-21 20:33:30.000000000 +1100
@@ -228,7 +228,7 @@ void PCIread (byte bus, byte func, int o
 /*
 **  I/O Port utilities
 */
-int diva_os_register_io_port (void *adapter, int register, unsigned long port,
+int diva_os_register_io_port (void *adapter, int on, unsigned long port,
 				unsigned long length, const char* name, int id);
 /*
 **  I/O port access abstraction
--- linux-2.6.16-rc3/drivers/net/wireless/airo.c.orig	2006-02-21 20:34:16.000000000 +1100
+++ linux-2.6.16-rc3/drivers/net/wireless/airo.c	2006-02-21 21:04:15.000000000 +1100
@@ -1075,8 +1075,8 @@ static const char version[] = "airo.c 0.
 struct airo_info;
 
 static int get_dec_u16( char *buffer, int *start, int limit );
-static void OUT4500( struct airo_info *, u16 register, u16 value );
-static unsigned short IN4500( struct airo_info *, u16 register );
+static void OUT4500( struct airo_info *, u16 reg, u16 value );
+static unsigned short IN4500( struct airo_info *, u16 reg );
 static u16 setup_card(struct airo_info*, u8 *mac, int lock);
 static int enable_MAC( struct airo_info *ai, Resp *rsp, int lock );
 static void disable_MAC(struct airo_info *ai, int lock);



[-- Attachment #2: Type: text/plain, Size: 168 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [KJ][Patch] alter prototypes in airo.c platform.h
  2006-02-21 10:16 [KJ][Patch] alter prototypes in airo.c platform.h Darren Jenkins\
@ 2006-02-24 21:46 ` John W. Linville
  2006-02-25  0:39 ` Darren Jenkins\
  2006-02-25  4:18 ` John W. Linville
  2 siblings, 0 replies; 4+ messages in thread
From: John W. Linville @ 2006-02-24 21:46 UTC (permalink / raw)
  To: kernel-janitors

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

On Tue, Feb 21, 2006 at 09:16:34PM +1100, Darren Jenkins" wrote:
> G'day list,
> 
> This one finishes up the altering prototypes (because they contain
> register) patches.
> 
> >From http://linuxicc.sourceforge.net/
> 
> ICC complains about :Storage Class is not First
> 
> @ line 231 of platform.h &
> @ lines 1078 & 1079 of airo.c
> 
> These are caused by the prototypes miss-naming the variables as
> "register". Which as it is a keyword is an error.
> 
> The patch below renames the variables in the prototypes to match the
> functions.
> 
> Signed-off-by: Darren Jenkins <darrenrjenkins@gmail.com>
Acked-by: John W. Linville <linville@tuxdriver.com>

Do I need to merge the airo hunk?

John
-- 
John W. Linville
linville@tuxdriver.com

[-- Attachment #2: Type: text/plain, Size: 168 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [KJ][Patch] alter prototypes in airo.c platform.h
  2006-02-21 10:16 [KJ][Patch] alter prototypes in airo.c platform.h Darren Jenkins\
  2006-02-24 21:46 ` John W. Linville
@ 2006-02-25  0:39 ` Darren Jenkins\
  2006-02-25  4:18 ` John W. Linville
  2 siblings, 0 replies; 4+ messages in thread
From: Darren Jenkins\ @ 2006-02-25  0:39 UTC (permalink / raw)
  To: kernel-janitors

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

On Fri, 2006-02-24 at 16:46 -0500, John W. Linville wrote:
> On Tue, Feb 21, 2006 at 09:16:34PM +1100, Darren Jenkins" wrote:
> > 
> > Signed-off-by: Darren Jenkins <darrenrjenkins@gmail.com>
> Acked-by: John W. Linville <linville@tuxdriver.com>
> 
> Do I need to merge the airo hunk?
> 
> John

Do you mean the platform.h hunk ?
I would not expect you merge the platform.h part as I don't think it has
anything to do with you. I did not cc the maintainer for that bit
because I could not figure out who it was.
I included the two changes together to cut down on the number of emails
with small changes. Perhaps that was a "bad idea" on my part.

Darren J.


[-- Attachment #2: Type: text/plain, Size: 168 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [KJ][Patch] alter prototypes in airo.c platform.h
  2006-02-21 10:16 [KJ][Patch] alter prototypes in airo.c platform.h Darren Jenkins\
  2006-02-24 21:46 ` John W. Linville
  2006-02-25  0:39 ` Darren Jenkins\
@ 2006-02-25  4:18 ` John W. Linville
  2 siblings, 0 replies; 4+ messages in thread
From: John W. Linville @ 2006-02-25  4:18 UTC (permalink / raw)
  To: kernel-janitors

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

On Sat, Feb 25, 2006 at 11:39:13AM +1100, Darren Jenkins" wrote:
> On Fri, 2006-02-24 at 16:46 -0500, John W. Linville wrote:
> > On Tue, Feb 21, 2006 at 09:16:34PM +1100, Darren Jenkins" wrote:
> > > 
> > > Signed-off-by: Darren Jenkins <darrenrjenkins@gmail.com>
> > Acked-by: John W. Linville <linville@tuxdriver.com>
> > 
> > Do I need to merge the airo hunk?
> > 
> > John
> 
> Do you mean the platform.h hunk ?
> I would not expect you merge the platform.h part as I don't think it has
> anything to do with you. I did not cc the maintainer for that bit
> because I could not figure out who it was.

Well, I guess I meant that it's OK for whoever merges the other part
to merge the airo part as well.  But, if they were expecting me to
merge the airo part (or the whole thing), they need to let me know.

> I included the two changes together to cut down on the number of emails
> with small changes. Perhaps that was a "bad idea" on my part.

You probably did the right thing, I just wanted to clarify who was
merging what so that your patch didn't get dropped.

John
-- 
John W. Linville
linville@tuxdriver.com

[-- Attachment #2: Type: text/plain, Size: 168 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-02-25  4:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-21 10:16 [KJ][Patch] alter prototypes in airo.c platform.h Darren Jenkins\
2006-02-24 21:46 ` John W. Linville
2006-02-25  0:39 ` Darren Jenkins\
2006-02-25  4:18 ` John W. Linville

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.