All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jos Hulzink <josh@stack.nl>
To: John Cherry <cherry@osdl.org>
Cc: Linus Torvalds <torvalds@osdl.org>,
	Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Linux 2.6.5-rc2 (compile stats)
Date: Mon, 22 Mar 2004 22:38:17 +0100	[thread overview]
Message-ID: <200403222238.17231.josh@stack.nl> (raw)
In-Reply-To: <1079900427.4185.0.camel@lightning>

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

On Sunday 21 March 2004 21:21, John Cherry wrote:
> Compile stats for 2.6.5-rc2 and 2.6.5-rc2-mm1.
>
> Linux 2.6 Compile Statistics (gcc 3.2.2)
> Warnings/Errors Summary
>
> Kernel         bzImage    bzImage  bzImage  modules  bzImage   modules
>              (defconfig)  (allno)  (allyes) (allyes) (allmod) (allmod)
> -----------  -----------  -------- -------- -------- -------- ---------
> 2.6.5-rc2      0w/0e       0w/0e   135w/ 0e   8w/0e   3w/0e    132w/0e

Please find attached a patch to fix some of the trivial warnings. More to 
follow.

Jos Hulzink

[-- Attachment #2: fix_trivial_warnings_2.6.5rc2.diff --]
[-- Type: text/x-diff, Size: 4476 bytes --]

diff -rc linux-2.6.4/drivers/isdn/i4l/isdn_v110.c linuxwork/drivers/isdn/i4l/isdn_v110.c
*** linux-2.6.4/drivers/isdn/i4l/isdn_v110.c	2004-03-11 03:55:54.000000000 +0100
--- linuxwork/drivers/isdn/i4l/isdn_v110.c	2004-03-22 20:23:53.322799512 +0100
***************
*** 520,526 ****
  {
  	isdn_v110_stream *v = NULL;
  	int i;
! 	int ret;
  
  	if (idx < 0)
  		return 0;
--- 520,526 ----
  {
  	isdn_v110_stream *v = NULL;
  	int i;
! 	int ret=0;
  
  	if (idx < 0)
  		return 0;
diff -rc linux-2.6.4/drivers/media/dvb/frontends/stv0299.c linuxwork/drivers/media/dvb/frontends/stv0299.c
*** linux-2.6.4/drivers/media/dvb/frontends/stv0299.c	2004-03-11 03:55:54.000000000 +0100
--- linuxwork/drivers/media/dvb/frontends/stv0299.c	2004-03-22 20:15:36.535322688 +0100
***************
*** 353,359 ****
  	u8 addr;
  	u32 div;
  	u8 buf[4];
!         int i, divisor, regcode;
  
  	dprintk ("%s: freq %i, ftype %i\n", __FUNCTION__, freq, ftype);
  
--- 353,359 ----
  	u8 addr;
  	u32 div;
  	u8 buf[4];
!         int divisor, regcode;
  
  	dprintk ("%s: freq %i, ftype %i\n", __FUNCTION__, freq, ftype);
  
diff -rc linux-2.6.4/drivers/media/dvb/frontends/tda1004x.c linuxwork/drivers/media/dvb/frontends/tda1004x.c
*** linux-2.6.4/drivers/media/dvb/frontends/tda1004x.c	2004-03-22 21:06:29.646179288 +0100
--- linuxwork/drivers/media/dvb/frontends/tda1004x.c	2004-03-22 20:18:00.459442896 +0100
***************
*** 41,47 ****
  #include <linux/syscalls.h>
  #include <linux/fs.h>
  #include <linux/fcntl.h>
- #include <linux/errno.h>
  #include "dvb_frontend.h"
  #include "dvb_functions.h"
  
--- 41,46 ----
***************
*** 188,196 ****
  static struct fwinfo tda10046h_fwinfo[] = { {.file_size = 286720,.fw_offset = 0x3c4f9,.fw_size = 24479} };
  static int tda10046h_fwinfo_count = sizeof(tda10046h_fwinfo) / sizeof(struct fwinfo);
  
- static int errno;
- 
- 
  static int tda1004x_write_byte(struct dvb_i2c_bus *i2c, struct tda1004x_state *tda_state, int reg, int data)
  {
  	int ret;
--- 187,192 ----
diff -rc linux-2.6.4/drivers/message/fusion/mptscsih.c linuxwork/drivers/message/fusion/mptscsih.c
*** linux-2.6.4/drivers/message/fusion/mptscsih.c	2004-03-22 21:06:29.800155880 +0100
--- linuxwork/drivers/message/fusion/mptscsih.c	2004-03-22 20:31:48.488563336 +0100
***************
*** 196,203 ****
  static void	mptscsih_dv_parms(MPT_SCSI_HOST *hd, DVPARAMETERS *dv,void *pPage);
  static void	mptscsih_fillbuf(char *buffer, int size, int index, int width);
  #endif
  static int	mptscsih_setup(char *str);
! 
  /* module entry point */
  static int  __init   mptscsih_init  (void);
  static void __exit   mptscsih_exit  (void);
--- 196,204 ----
  static void	mptscsih_dv_parms(MPT_SCSI_HOST *hd, DVPARAMETERS *dv,void *pPage);
  static void	mptscsih_fillbuf(char *buffer, int size, int index, int width);
  #endif
+ #ifdef MODULE
  static int	mptscsih_setup(char *str);
! #endif
  /* module entry point */
  static int  __init   mptscsih_init  (void);
  static void __exit   mptscsih_exit  (void);
***************
*** 7247,7252 ****
--- 7248,7254 ----
  	return 0;
  }
  
+ #ifdef MODULE
  /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
  static int
  mptscsih_setup(char *str)
***************
*** 7298,7304 ****
  	}
  	return 1;
  }
! 
  /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
  
  
--- 7300,7306 ----
  	}
  	return 1;
  }
! #endif
  /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
  
  
diff -rc linux-2.6.4/drivers/net/arcnet/com20020-isa.c linuxwork/drivers/net/arcnet/com20020-isa.c
*** linux-2.6.4/drivers/net/arcnet/com20020-isa.c	2004-03-11 03:55:22.000000000 +0100
--- linuxwork/drivers/net/arcnet/com20020-isa.c	2004-03-22 20:32:57.384089624 +0100
***************
*** 185,192 ****
  #ifndef MODULE
  static int __init com20020isa_setup(char *s)
  {
- 	struct net_device *dev;
- 	struct arcnet_local *lp;
  	int ints[8];
  
  	s = get_options(s, 8, ints);
--- 185,190 ----
diff -rc linux-2.6.4/sound/isa/wavefront/wavefront_synth.c linuxwork/sound/isa/wavefront/wavefront_synth.c
*** linux-2.6.4/sound/isa/wavefront/wavefront_synth.c	2004-03-22 21:06:39.898620680 +0100
--- linuxwork/sound/isa/wavefront/wavefront_synth.c	2004-03-22 20:25:59.151670616 +0100
***************
*** 1920,1927 ****
  #include <linux/syscalls.h>
  #include <asm/uaccess.h>
  
- static int errno;
- 
  static int __init
  wavefront_download_firmware (snd_wavefront_t *dev, char *path)
  
--- 1920,1925 ----

      reply	other threads:[~2004-03-22 21:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-20  3:39 Linux 2.6.5-rc2 Linus Torvalds
2004-03-20 10:21 ` Linux 2.6.5-rc2, hotplug and ohci-hcd issue Prakash K. Cheemplavam
2004-03-20 10:32   ` Prakash K. Cheemplavam
2004-03-20 13:23   ` Zilvinas Valinskas
2004-03-20 19:12     ` Prakash K. Cheemplavam
2004-03-20 22:38       ` Prakash K. Cheemplavam
2004-03-22  8:32         ` Zilvinas Valinskas
2004-03-24 19:24           ` Prakash K. Cheemplavam
2004-03-20 12:18 ` [patch] 2.6.5-rc2: fix scsi_transport_spi.c with gcc 2.95 Adrian Bunk
2004-03-20 13:43   ` James Bottomley
2004-03-21 20:21 ` Linux 2.6.5-rc2 (compile stats) John Cherry
2004-03-22 21:38   ` Jos Hulzink [this message]

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=200403222238.17231.josh@stack.nl \
    --to=josh@stack.nl \
    --cc=cherry@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.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.