[PATCH] line-log: Fix sparse warnings

2013-03-07 Thread Ramsay Jones
Sparse issues the following warnings: line-log.c:17:6: warning: symbol 'range_set_grow' was not declared. Should it be static? line-log.c:25:6: warning: symbol 'range_set_init' was not declared. Should it be static? line-log.c:33:6: warning: symbol 'range_set_release' was not

markers: fix sparse warnings in markers.c

2008-02-23 Thread Linux Kernel Mailing List
: Sat Feb 23 15:23:33 2008 -0800 Committer: Linus Torvalds [EMAIL PROTECTED] CommitDate: Sat Feb 23 17:12:14 2008 -0800 markers: fix sparse warnings in markers.c char can be unsigned kernel/marker.c:64:20: error: dubious one-bit signed bitfield kernel/marker.c:65:14: error

[SPARC64]: Fix sparse warnings wrt. machine_alt_power_off().

2008-02-23 Thread Linux Kernel Mailing List
: Tue Feb 19 20:39:18 2008 -0800 Committer: David S. Miller [EMAIL PROTECTED] CommitDate: Tue Feb 19 20:39:18 2008 -0800 [SPARC64]: Fix sparse warnings wrt. machine_alt_power_off(). arch/sparc64/kernel/process.c:123:6: warning: symbol 'machine_alt_power_off' was not declared. Should

[SPARC64]: Fix sparse warnings wrt. __show_regs().

2008-02-23 Thread Linux Kernel Mailing List
: Tue Feb 19 20:48:58 2008 -0800 Committer: David S. Miller [EMAIL PROTECTED] CommitDate: Tue Feb 19 20:48:58 2008 -0800 [SPARC64]: Fix sparse warnings wrt. __show_regs(). arch/sparc64/kernel/process.c:219:6: warning: symbol '__show_regs' was not declared. Should it be static

nfs: fix sparse warnings

2008-02-21 Thread Linux Kernel Mailing List
: Wed Feb 20 13:03:05 2008 -0800 Committer: Trond Myklebust [EMAIL PROTECTED] CommitDate: Wed Feb 20 16:15:44 2008 -0500 nfs: fix sparse warnings fs/nfs/nfs4state.c:788:34: warning: Using plain integer as NULL pointer fs/nfs/delegation.c:52:34: warning: Using plain integer as NULL

ata: fix sparse warnings in pata_legacy.c

2008-02-20 Thread Linux Kernel Mailing List
: Thu Feb 14 09:36:32 2008 -0800 Committer: Jeff Garzik [EMAIL PROTECTED] CommitDate: Wed Feb 20 12:08:15 2008 -0500 ata: fix sparse warnings in pata_legacy.c Use ld_qdi and ld_winbond to avoid shadowing static int variables qdi and winbond. The ld_ prefix refers to legacy_data

x86: fix sparse warnings in acpi/bus.c

2008-02-10 Thread Linux Kernel Mailing List
: Sat Feb 9 23:24:08 2008 +0100 Committer: Thomas Gleixner [EMAIL PROTECTED] CommitDate: Sat Feb 9 23:24:08 2008 +0100 x86: fix sparse warnings in acpi/bus.c Add function definition and extern variables to asm-x86/acpi.h. All of these are used in bus.c in ifdef(CONFIG_X86

udf: fix sparse warnings (shadowing mismatch between declaration and definition)

2008-02-08 Thread Linux Kernel Mailing List
: Fri Feb 8 04:20:35 2008 -0800 Committer: Linus Torvalds [EMAIL PROTECTED] CommitDate: Fri Feb 8 09:22:35 2008 -0800 udf: fix sparse warnings (shadowing mismatch between declaration and definition) fix sparse warnings: fs/udf/super.c:1431:24: warning: symbol 'bh' shadows

x86: fix sparse warnings in powernow-k8.c

2008-02-06 Thread Linux Kernel Mailing List
: Wed Feb 6 22:39:44 2008 +0100 Committer: Ingo Molnar [EMAIL PROTECTED] CommitDate: Wed Feb 6 22:39:44 2008 +0100 x86: fix sparse warnings in powernow-k8.c arch/x86/kernel/cpu/cpufreq/powernow-k8.c:830:7: warning: symbol 'hi' shadows an earlier one arch/x86/kernel/cpu/cpufreq

[NETFILTER]: xt_iprange: fix sparse warnings

2008-02-01 Thread Linux Kernel Mailing List
: Thu Jan 31 04:55:29 2008 -0800 Committer: David S. Miller [EMAIL PROTECTED] CommitDate: Thu Jan 31 19:28:16 2008 -0800 [NETFILTER]: xt_iprange: fix sparse warnings CHECK net/netfilter/xt_iprange.c net/netfilter/xt_iprange.c:104:19: warning: restricted degrades to integer

[NETFILTER]: nf_conntrack_ipv6: fix sparse warnings

2008-02-01 Thread Linux Kernel Mailing List
: Thu Jan 31 04:10:40 2008 -0800 Committer: David S. Miller [EMAIL PROTECTED] CommitDate: Thu Jan 31 19:27:49 2008 -0800 [NETFILTER]: nf_conntrack_ipv6: fix sparse warnings CHECK net/ipv6/netfilter/nf_conntrack_reasm.c net/ipv6/netfilter/nf_conntrack_reasm.c:77:18: warning

[NETFILTER]: ipt_recent: fix sparse warnings

2008-02-01 Thread Linux Kernel Mailing List
: Thu Jan 31 04:09:46 2008 -0800 Committer: David S. Miller [EMAIL PROTECTED] CommitDate: Thu Jan 31 19:27:48 2008 -0800 [NETFILTER]: ipt_recent: fix sparse warnings net/ipv4/netfilter/ipt_recent.c:215:17: warning: symbol 't' shadows an earlier one net/ipv4/netfilter/ipt_recent.c

[NETFILTER]: {ip,arp,ip6}_tables: fix sparse warnings in compat code

2008-02-01 Thread Linux Kernel Mailing List
: Thu Jan 31 04:10:18 2008 -0800 Committer: David S. Miller [EMAIL PROTECTED] CommitDate: Thu Jan 31 19:27:49 2008 -0800 [NETFILTER]: {ip,arp,ip6}_tables: fix sparse warnings in compat code CHECK net/ipv4/netfilter/ip_tables.c net/ipv4/netfilter/ip_tables.c:1453:8: warning

x86: fix sparse warnings in cpu/common.c

2008-02-01 Thread Linux Kernel Mailing List
: Fri Feb 1 17:49:43 2008 +0100 Committer: Ingo Molnar [EMAIL PROTECTED] CommitDate: Fri Feb 1 17:49:43 2008 +0100 x86: fix sparse warnings in cpu/common.c The casts will always be needed, may as well make them the right signedness. The ebx variables can easily be unsigned, may

x86: fix sparse warnings in intel_cacheinfo.c

2008-01-31 Thread Linux Kernel Mailing List
: Thu Jan 31 22:05:43 2008 +0100 Committer: Ingo Molnar [EMAIL PROTECTED] CommitDate: Thu Jan 31 22:05:43 2008 +0100 x86: fix sparse warnings in intel_cacheinfo.c arch/x86/kernel/cpu/intel_cacheinfo.c:355:7: warning: symbol 'i' shadows an earlier one arch/x86/kernel/cpu

[POWERPC] iSeries: Fix sparse warnings in setup.c

2008-01-30 Thread Linux Kernel Mailing List
: Mon Nov 19 17:10:57 2007 +1100 Committer: Paul Mackerras [EMAIL PROTECTED] CommitDate: Mon Dec 3 13:56:27 2007 +1100 [POWERPC] iSeries: Fix sparse warnings in setup.c arch/powerpc/platforms/iseries/setup.c:111:27: warning: constant 0x1 is so big it is long arch/powerpc

ext4: Fix sparse warnings.

2008-01-29 Thread Linux Kernel Mailing List
: Mon Jan 28 23:58:27 2008 -0500 Committer: Theodore Ts'o [EMAIL PROTECTED] CommitDate: Mon Jan 28 23:58:27 2008 -0500 ext4: Fix sparse warnings. Fix sparse warnings related to static functions and local variables. Signed-off-by: Aneesh Kumar K.V [EMAIL PROTECTED] --- fs

[IPV4] fib_trie: Fix sparse warnings.

2008-01-29 Thread Linux Kernel Mailing List
: Sat Jan 12 21:25:02 2008 -0800 Committer: David S. Miller [EMAIL PROTECTED] CommitDate: Mon Jan 28 15:01:56 2008 -0800 [IPV4] fib_trie: Fix sparse warnings. Make FIB TRIE go through sparse checker without warnings. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED

[PACKET]: Fix sparse warnings in af_packet.c

2008-01-29 Thread Linux Kernel Mailing List
Jan 7 22:39:57 2008 -0800 Committer: David S. Miller [EMAIL PROTECTED] CommitDate: Mon Jan 28 15:00:48 2008 -0800 [PACKET]: Fix sparse warnings in af_packet.c CHECK net/packet/af_packet.c net/packet/af_packet.c:1876:14: warning: context imbalance in 'packet_seq_start

[ARM] 4666/1: ixp4xx: fix sparse warnings in include/asm-arm/arch-ixp4xx/io.h

2008-01-28 Thread Linux Kernel Mailing List
Nov 25 02:12:39 2007 +0100 Committer: Russell King [EMAIL PROTECTED] CommitDate: Sat Jan 26 14:50:03 2008 + [ARM] 4666/1: ixp4xx: fix sparse warnings in include/asm-arm/arch-ixp4xx/io.h Don't lose __iomem in casts. Use __force to cast __iomem addresses to integers. Use

e1000e: fix sparse warnings

2007-10-30 Thread Linux Kernel Mailing List
: Mon Oct 29 10:46:05 2007 -0700 Committer: Jeff Garzik [EMAIL PROTECTED] CommitDate: Tue Oct 30 14:32:16 2007 -0400 e1000e: fix sparse warnings Fix sparse warnings from e1000e driver in net-2.6.24. Added a sparse fix for module param arrays which can have int values

ixgb: fix sparse warnings

2007-10-30 Thread Linux Kernel Mailing List
: Mon Oct 29 10:46:13 2007 -0700 Committer: Jeff Garzik [EMAIL PROTECTED] CommitDate: Tue Oct 30 14:32:16 2007 -0400 ixgb: fix sparse warnings Fix sparse warnings in ixgb driver for net-2.6.24. Added a sparse fix for invalid declaration using non-constant value

ext4: Fix sparse warnings

2007-10-18 Thread Linux Kernel Mailing List
: Tue Oct 16 18:38:25 2007 -0400 Committer: Theodore Ts'o [EMAIL PROTECTED] CommitDate: Wed Oct 17 18:50:01 2007 -0400 ext4: Fix sparse warnings Signed-off-by: Aneesh Kumar K.V [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- fs/ext4/inode.c |6

[SCSI] mpt fusion: Fix sparse warnings

2007-10-15 Thread Linux Kernel Mailing List
Sep 29 10:16:28 2007 -0600 Committer: James Bottomley [EMAIL PROTECTED] CommitDate: Fri Oct 12 14:52:11 2007 -0400 [SCSI] mpt fusion: Fix sparse warnings List below is output from C=2 sparse compilation, which are fixed with this patch. 1) mptspi: pg0 is defined in x86

UBI: fix sparse warnings

2007-10-14 Thread Linux Kernel Mailing List
: Sun Jul 22 15:25:02 2007 +0300 Committer: Artem Bityutskiy [EMAIL PROTECTED] CommitDate: Sun Oct 14 13:10:20 2007 +0300 UBI: fix sparse warnings Fix symbol shadows an earlier one warnings. Although they are harmless but it does not hurt to fix them and make sparse happy

[B43]: Fix sparse warnings.

2007-10-11 Thread Linux Kernel Mailing List
: Thu Sep 20 11:13:40 2007 -0700 Committer: David S. Miller [EMAIL PROTECTED] CommitDate: Wed Oct 10 16:52:07 2007 -0700 [B43]: Fix sparse warnings. The remaining warning in phy.c will be fixed later. Signed-off-by: Michael Buesch [EMAIL PROTECTED] Signed-off-by: David S

[POWERPC] PS3: Fix sparse warnings

2007-07-16 Thread Linux Kernel Mailing List
] AuthorDate: Sat Jun 16 07:19:04 2007 +1000 Committer: Paul Mackerras [EMAIL PROTECTED] CommitDate: Thu Jun 28 19:16:35 2007 +1000 [POWERPC] PS3: Fix sparse warnings Fix some PS3 build warnings reported by `make C=1'. You need to install sparse: git://git.kernel.org/pub/scm/devel

[ARM] 4415/1: AML5900: fix sparse warnings from map_io

2007-05-30 Thread Linux Kernel Mailing List
May 28 18:57:31 2007 +0100 Committer: Russell King [EMAIL PROTECTED] CommitDate: Wed May 30 13:15:30 2007 +0100 [ARM] 4415/1: AML5900: fix sparse warnings from map_io The map_io function does not need to be exported from this file, and therefore should be declared static

NLM: Fix sparse warnings

2007-05-18 Thread Linux Kernel Mailing List
: Mon May 14 17:21:26 2007 -0400 Committer: Trond Myklebust [EMAIL PROTECTED] CommitDate: Mon May 14 19:33:46 2007 -0400 NLM: Fix sparse warnings - fs/lockd/xdr4.c:140:27: warning: incorrect type in argument 2 (different explicit signedness) - fs/lockd/xdr4.c:141:27

Input: drivers/usb/input - fix sparse warnings (signedness)

2007-05-08 Thread Linux Kernel Mailing List
: Thu May 3 00:54:54 2007 -0400 Committer: Dmitry Torokhov [EMAIL PROTECTED] CommitDate: Thu May 3 00:54:54 2007 -0400 Input: drivers/usb/input - fix sparse warnings (signedness) Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED] --- drivers/usb/input/acecad.c|2 +- drivers/usb

ocfs2: fix sparse warnings in fs/ocfs2

2007-05-04 Thread Linux Kernel Mailing List
Apr 27 16:01:25 2007 -0700 Committer: Mark Fasheh [EMAIL PROTECTED] CommitDate: Wed May 2 15:08:08 2007 -0700 ocfs2: fix sparse warnings in fs/ocfs2 None of these are actually harmful, but the noise makes looking for real problems difficult. Signed-off-by: Mark Fasheh

ocfs2: fix sparse warnings in fs/ocfs2/dlm

2007-05-04 Thread Linux Kernel Mailing List
Apr 27 16:49:20 2007 -0700 Committer: Mark Fasheh [EMAIL PROTECTED] CommitDate: Wed May 2 15:08:15 2007 -0700 ocfs2: fix sparse warnings in fs/ocfs2/dlm Signed-off-by: Mark Fasheh [EMAIL PROTECTED] --- fs/ocfs2/dlm/dlmast.c | 12 ++-- fs/ocfs2/dlm/dlmrecovery.c |4

ocfs2: fix sparse warnings in fs/ocfs2/cluster

2007-05-04 Thread Linux Kernel Mailing List
Apr 27 16:50:03 2007 -0700 Committer: Mark Fasheh [EMAIL PROTECTED] CommitDate: Wed May 2 15:08:23 2007 -0700 ocfs2: fix sparse warnings in fs/ocfs2/cluster Signed-off-by: Mark Fasheh [EMAIL PROTECTED] --- fs/ocfs2/cluster/heartbeat.c |2 +- fs/ocfs2/cluster/tcp.c | 10

IB/core: Fix sparse warnings about shadowed declarations

2007-02-19 Thread Linux Kernel Mailing List
: Fri Feb 16 14:41:14 2007 -0800 Committer: Roland Dreier [EMAIL PROTECTED] CommitDate: Fri Feb 16 14:41:14 2007 -0800 IB/core: Fix sparse warnings about shadowed declarations Change a couple of variable names to avoid sparse warnings about symbols being shadowed. Signed-off

[PATCH] fix sparse warnings from {asm,net}/checksum.h

2007-02-11 Thread Linux Kernel Mailing List
: Sat Feb 10 01:45:41 2007 -0800 Committer: Linus Torvalds [EMAIL PROTECTED] CommitDate: Sun Feb 11 10:51:31 2007 -0800 [PATCH] fix sparse warnings from {asm,net}/checksum.h Rename the variable sum in the __range_ok macros to avoid name collisions causing lots of symbol shadows

[ARM] 4043/1: S3C24XX: fix sparse warnings in arch/arm/mach-s3c2410/s3c2440-clock.c

2006-12-21 Thread Linux Kernel Mailing List
Dec 17 20:38:14 2006 +0100 Committer: Russell King [EMAIL PROTECTED] CommitDate: Sun Dec 17 23:37:54 2006 + [ARM] 4043/1: S3C24XX: fix sparse warnings in arch/arm/mach-s3c2410/s3c2440-clock.c Fix the sparse errors in arch/arm/mach-s3c2410/s3c2440-clock.c warning: symbol

[ARM] 4044/1: S3C24XX: fix sparse warnings in arch/arm/mach-s3c2410/s3c2442-clock.c

2006-12-21 Thread Linux Kernel Mailing List
Dec 17 20:41:45 2006 +0100 Committer: Russell King [EMAIL PROTECTED] CommitDate: Sun Dec 17 23:37:56 2006 + [ARM] 4044/1: S3C24XX: fix sparse warnings in arch/arm/mach-s3c2410/s3c2442-clock.c Fix sparse errors in arch/arm/mach-s3c2410/s3c2442-clock.c warning: symbol 'clk_h

[XFS] Fix sparse warnings in kmem_* functions Patch from Victor Fusco

2005-09-07 Thread Linux Kernel Mailing List
tree a86bef9269c786a073980749044fe495b730ea8d parent 6f948fbd443255e3a918438ce41cd7581cf8146d author Christoph Hellwig [EMAIL PROTECTED] Fri, 02 Sep 2005 16:56:02 +1000 committer Nathan Scott [EMAIL PROTECTED] Fri, 02 Sep 2005 16:56:02 +1000 [XFS] Fix sparse warnings in kmem_* functions Patch

[NET]: Fix sparse warnings

2005-08-29 Thread Linux Kernel Mailing List
tree abd31e5ebfadcf4f9024634eec8b11855029e512 parent 9deff7f2365958c5c5aa8cb5a0dd651c4dd83f8f author Arnaldo Carvalho de Melo [EMAIL PROTECTED] Tue, 16 Aug 2005 08:18:02 -0300 committer David S. Miller [EMAIL PROTECTED] Tue, 30 Aug 2005 06:01:32 -0700 [NET]: Fix sparse warnings Of this type

[Patch] Fix sparse warnings

2005-08-03 Thread Alecs King
fix one 'should it be static?' warning and two 'mixing declarations and code' warnings. Signed-off-by: Alecs King [EMAIL PROTECTED] --- connect.c|3 ++- ssh-pull.c |2 +- tools/mailinfo.c |2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/connect.c

Fix sparse warnings

2005-08-01 Thread Linus Torvalds
A few sparse warnings have crept in again since I checked last time: undeclared variables with global scope. Fix them by marking the private variables properly static. Signed-off-by: Linus Torvalds [EMAIL PROTECTED] Btw, sparse also warns about the return 0 in receive-pack.c: unpack(),