]>
git.hungrycats.org Git - linux/log
Alexander Viro [Fri, 4 Jun 2004 07:11:24 +0000 (00:11 -0700)]
[PATCH] sparse: slip.c annotation
Alexander Viro [Fri, 4 Jun 2004 07:11:13 +0000 (00:11 -0700)]
[PATCH] sparse: depca annotation
ioctl structure annotated
Alexander Viro [Fri, 4 Jun 2004 07:11:02 +0000 (00:11 -0700)]
[PATCH] sparse: drivers/net/tun.c annotation
Alexander Viro [Fri, 4 Jun 2004 07:10:51 +0000 (00:10 -0700)]
[PATCH] sparse: the rest of ifr_data cleanups and annotations
The rest of ->ifr_data cleanups. A bunch of drivers use address
of ifr->ifr_ifru, but spell that as &ifr->ifr_data, which expands to
&ifr->ifr_ifru.ifru_data. ifr_ifru is a union and in effect they sneak in
a private field into that union; ifr_ifru.ifru_data is a field in that
union and it has nothing to do with the things they want to do. Cleaned
up by explicit use of &ifr->ifr_ifru.
Several places where we really use ->ifr_data (i.e. use its value
and use it as __user pointer) annotated.
Alexander Viro [Fri, 4 Jun 2004 07:10:38 +0000 (00:10 -0700)]
[PATCH] sparse: if_mii() helper (from jgarzik)
From: Jeff Garzik
Jeff's patch adds a helper for obtaining mii_ioctl_data from ifreq
and switches drivers to it. It's almost a "move common expression into
inline helper", except that instead of
(struct mii_ioctl_data *)&rq->ifr_ifru.ifru_data
it does
(struct mii_ioctl_data *)&rq->ifr_ifru
- pointer to union instead of pointer to a field of union that has nothing
to do with mii_ioctl_data *and* adds confusion by being a pointer itself.
Bartlomiej Zolnierkiewicz [Fri, 4 Jun 2004 04:59:56 +0000 (21:59 -0700)]
[PATCH] apply nForce2 fixup only if C1 Halt Disconnect is enabled
Some boards don't support C1 Halt Disconnect.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Alexander Viro [Fri, 4 Jun 2004 00:24:16 +0000 (17:24 -0700)]
[PATCH] sparse: tpqic annotation
Alexander Viro [Fri, 4 Jun 2004 00:24:00 +0000 (17:24 -0700)]
[PATCH] sparse: drivers/char/i8 annotation
Alexander Viro [Fri, 4 Jun 2004 00:23:45 +0000 (17:23 -0700)]
[PATCH] sparse: lp annotation
Alexander Viro [Fri, 4 Jun 2004 00:23:33 +0000 (17:23 -0700)]
[PATCH] sparse: misc drivers annotations
assorted minor bits in drivers/* - all independent, but there's
some limit to splitting stuff...
Alexander Viro [Fri, 4 Jun 2004 00:23:24 +0000 (17:23 -0700)]
[PATCH] sparse: ppdev annotation
Alexander Viro [Fri, 4 Jun 2004 00:23:12 +0000 (17:23 -0700)]
[PATCH] sparse: sonypi annotiation
Alexander Viro [Fri, 4 Jun 2004 00:23:01 +0000 (17:23 -0700)]
[PATCH] sparse: usb/core/devio annotation
Alexander Viro [Fri, 4 Jun 2004 00:22:50 +0000 (17:22 -0700)]
[PATCH] sparse: trivial fs annotations
Alexander Viro [Fri, 4 Jun 2004 00:22:38 +0000 (17:22 -0700)]
[PATCH] sparse: synclink annotation
Alexander Viro [Fri, 4 Jun 2004 00:22:27 +0000 (17:22 -0700)]
[PATCH] sparse: synclink_cs annotation
Alexander Viro [Fri, 4 Jun 2004 00:22:16 +0000 (17:22 -0700)]
[PATCH] sparse: ide-floppy annotation
Alexander Viro [Fri, 4 Jun 2004 00:22:05 +0000 (17:22 -0700)]
[PATCH] sparse: misc headers annotations
several pointers in ioctl structures marked as userland ones.
And that's it with this patchset. A couple more of those and we'll
be done with the noise warnings ;-)
Alexander Viro [Thu, 3 Jun 2004 17:39:32 +0000 (10:39 -0700)]
[PATCH] sparse: rest of drivers/net annotations in the patchset
s2io.c: bogus initializer ({{"a"},{"b"}} has too many braces for
two-dimensional array of char - strings are arrays themselves).
de4x5.h: missing __user on a pointer in ioctl structure.
airo.c: cleaned up and fixed procfs ->read() and ->write()
Alexander Viro [Thu, 3 Jun 2004 17:39:21 +0000 (10:39 -0700)]
[PATCH] sparse: misc scsi annotation
osst.c, st.c, scsi_debug.c annotated.
Alexander Viro [Thu, 3 Jun 2004 17:39:10 +0000 (10:39 -0700)]
[PATCH] sparse: gdth.c annotation
Alexander Viro [Thu, 3 Jun 2004 17:38:59 +0000 (10:38 -0700)]
[PATCH] sparse: hugetlb sysctl annotation
Alexander Viro [Thu, 3 Jun 2004 17:38:48 +0000 (10:38 -0700)]
[PATCH] sparse: rest of net/* annotations (in this patchset, that is ;-)
Alexander Viro [Thu, 3 Jun 2004 17:38:37 +0000 (10:38 -0700)]
[PATCH] sparse: selinux annotation
selinuxfs.c annotated
Alexander Viro [Thu, 3 Jun 2004 17:38:29 +0000 (10:38 -0700)]
[PATCH] sparse: more wan annotations
Alexander Viro [Thu, 3 Jun 2004 17:38:18 +0000 (10:38 -0700)]
[PATCH] sparse: ->ifr_data fixes
b44.c: ->ioctl() is broken, since it uses &ifr->ifr_data instead of
ifr->ifr_data itself. Surprise, surprise, copy_from_user() on that address
doesn't do any good...
baycom_epp.c: does get_user() of the first word of structure, then
immediately does copy_from_user() on the entire thing and completely ignores
the value read by get_user() (it uses the same value in copied structure
instead). Bogus get_user() call removed.
Alexander Viro [Thu, 3 Jun 2004 17:38:07 +0000 (10:38 -0700)]
[PATCH] sparse: ->ifr_data annotation
->ifr_data users annotated.
Paul Mackerras [Thu, 3 Jun 2004 15:43:54 +0000 (08:43 -0700)]
[PATCH] ppc64: don't clear MSR.RI in do_hash_page_DSI
Some code that is used on iSeries (do_hash_page_DSI in head.S) was
clearing the RI (recoverable interrupt) bit in the MSR when it
shouldn't. We were getting SLB miss interrupts following that which
were panicking because they appeared to have occurred at a bad place.
This patch fixes the problem. In fact it isn't necessary for
do_hash_page_DSI to do anything to RI, so the patch changes the code
to not set or clear it.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Alexander Viro [Thu, 3 Jun 2004 15:34:34 +0000 (08:34 -0700)]
[PATCH] sparse: mroute annotation
Alexander Viro [Thu, 3 Jun 2004 15:34:23 +0000 (08:34 -0700)]
[PATCH] sparse: more netfilter annotation
Alexander Viro [Thu, 3 Jun 2004 15:34:12 +0000 (08:34 -0700)]
[PATCH] sparse: sctp annotation
Alexander Viro [Thu, 3 Jun 2004 15:34:00 +0000 (08:34 -0700)]
[PATCH] sparse: bluetooth annotation
Alexander Viro [Thu, 3 Jun 2004 14:43:50 +0000 (07:43 -0700)]
[PATCH] sparse: vlan annotation
Alexander Viro [Thu, 3 Jun 2004 14:43:39 +0000 (07:43 -0700)]
[PATCH] sparse: irda annotation
Alexander Viro [Thu, 3 Jun 2004 14:38:06 +0000 (07:38 -0700)]
[PATCH] sparse: netlink annotation
Alexander Viro [Thu, 3 Jun 2004 14:37:55 +0000 (07:37 -0700)]
[PATCH] sparse: net/bridge annotation
net/bridge partially annotated.
There are nasty problems with net/bridge/netfilter/* and they'll need to
be dealt with at some point - it mixes kernel and userland pointers a
lot and while it seems to avoid obvious breakage, it's not a nice code.
Alexander Viro [Thu, 3 Jun 2004 14:37:44 +0000 (07:37 -0700)]
[PATCH] sparse: wanrouter annotation
Alexander Viro [Thu, 3 Jun 2004 14:37:33 +0000 (07:37 -0700)]
[PATCH] sparse: econet annotation
econet partially annotated.
It's still badly broken - it mixes userland and kernel chunks in the
same iovec, then does set_fs(KERNEL_FS) and sends that to
sock_sendmsg(). Do we still want to support that protocol family,
anyway?
Alexander Viro [Thu, 3 Jun 2004 14:29:23 +0000 (07:29 -0700)]
[PATCH] sparse: appletalk annotation
Alexander Viro [Thu, 3 Jun 2004 14:29:13 +0000 (07:29 -0700)]
[PATCH] sparse: ipx annotation
Alexander Viro [Thu, 3 Jun 2004 14:27:41 +0000 (07:27 -0700)]
[PATCH] sparse: x25 annotation
Alexander Viro [Thu, 3 Jun 2004 14:27:30 +0000 (07:27 -0700)]
[PATCH] sparse: rose annotation
Alexander Viro [Thu, 3 Jun 2004 14:27:19 +0000 (07:27 -0700)]
[PATCH] sparse: netrom annotation
Alexander Viro [Thu, 3 Jun 2004 14:27:08 +0000 (07:27 -0700)]
[PATCH] sparse: ax25 annotation
Alexander Viro [Thu, 3 Jun 2004 14:26:57 +0000 (07:26 -0700)]
[PATCH] sparse: decnet annotation
Alexander Viro [Thu, 3 Jun 2004 14:26:47 +0000 (07:26 -0700)]
[PATCH] sparse: coda annotation
Alexander Viro [Thu, 3 Jun 2004 14:02:54 +0000 (07:02 -0700)]
[PATCH] sparse: atm annotation - drivers
The rest of ATM annotation: drivers.
Alexander Viro [Thu, 3 Jun 2004 14:02:43 +0000 (07:02 -0700)]
[PATCH] sparse: atm annotation (core)
ATM core annotated; ATM drivers will go in the next patch, here we only
annotated their method prototypes
Linus Torvalds [Thu, 3 Jun 2004 13:48:12 +0000 (06:48 -0700)]
Merge bk://linux-dj.bkbits.net/cpufreq
into ppc970.osdl.org:/home/torvalds/v2.6/linux
Dave Jones [Fri, 4 Jun 2004 00:53:06 +0000 (01:53 +0100)]
[CPUFREQ] Convert longhaul debug printk to use varargs.
From: Joe Perches.
Signed-off-by: Dave Jones <davej@redhat.com>
Dave Jones [Fri, 4 Jun 2004 00:46:25 +0000 (01:46 +0100)]
[CPUFREQ] Remove bogus longhaul v4
The code only supports 3 versions, so numbering them 1,2 and 4
doesn't make a lot of sense.
Signed-off-by: Dave Jones <davej@redhat.com>
Dave Jones [Fri, 4 Jun 2004 00:44:00 +0000 (01:44 +0100)]
[CPUFREQ] Move longhaul multiplier debug printk to somewhere more useful.
If we abort due to a reserved FSB being found, we probably want to know the multipliers.
Signed-off-by: Dave Jones <davej@redhat.com>
Dave Jones [Fri, 4 Jun 2004 00:42:37 +0000 (01:42 +0100)]
[CPUFREQ] Remove duplicate debug printk from longhaul driver.
Signed-off-by: Dave Jones <davej@redhat.com>
Dave Jones [Fri, 4 Jun 2004 00:40:20 +0000 (01:40 +0100)]
[CPUFREQ] Unify the EBLCR parsing code in longhaul.
Signed-off-by: Dave Jones <davej@redhat.com>
Dave Jones [Fri, 4 Jun 2004 00:34:18 +0000 (01:34 +0100)]
[CPUFREQ] Document some oddness in the longhaul driver.
Signed-off-by: Dave Jones <davej@redhat.com>
Dave Jones [Fri, 4 Jun 2004 00:29:42 +0000 (01:29 +0100)]
[CPUFREQ] Remove lots of redundant code from longhaul driver.
The recent Nehemiah changes introduced lots of stuff that does
a whole lot of nothing. Nuke it.
Signed-off-by: Dave Jones <davej@redhat.com>
Dave Jones [Fri, 4 Jun 2004 00:24:07 +0000 (01:24 +0100)]
[CPUFREQ] Fix powernow-k7 when ACPI_PROCESSOR built as module.
From Herbert Xu
Signed-off-by: Dave Jones <davej@redhat.com>
Dave Jones [Thu, 3 Jun 2004 23:34:21 +0000 (00:34 +0100)]
[CPUFREQ] Change longhaul debugging info printk's to dprintk's
Dave Jones [Thu, 3 Jun 2004 17:00:55 +0000 (18:00 +0100)]
[CPUFREQ] Remove duplicate declaration of debug var from longhaul.
Spotted by Joe Perches.
I'm surprised gcc didn't at least warn about this.
Signed-off-by: Dave Jones <davej@redhat.com>
Dave Jones [Thu, 3 Jun 2004 14:23:23 +0000 (15:23 +0100)]
Merge bk://linux-dj.bkbits.net/cpufreq
into delerium.codemonkey.org.uk:/mnt/data/src/bk/cpufreq
Linus Torvalds [Thu, 3 Jun 2004 13:40:47 +0000 (06:40 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux
Alexander Viro [Thu, 3 Jun 2004 13:38:25 +0000 (06:38 -0700)]
[PATCH] drivers/atm/horizon.c delousing
Same as with ambassador.c - same authors, same braindamage.
Alexander Viro [Thu, 3 Jun 2004 13:38:14 +0000 (06:38 -0700)]
[PATCH] drivers/atm/ambassador.c delousing
Translated to C. Original was anything but.
BTW, even if they were writing in Pascal, their use of nested functions
would be gratuitous for such a situation.
Alexander Viro [Thu, 3 Jun 2004 13:28:37 +0000 (06:28 -0700)]
[PATCH] sparse: rest of drivers/block annotation
Alexander Viro [Thu, 3 Jun 2004 13:28:26 +0000 (06:28 -0700)]
[PATCH] sparse: paride annotation
Alexander Viro [Thu, 3 Jun 2004 13:28:16 +0000 (06:28 -0700)]
[PATCH] sparse: cpqarray annotation
Alexander Viro [Thu, 3 Jun 2004 13:28:05 +0000 (06:28 -0700)]
[PATCH] sparse: cciss annotation
cciss annotated, definition of inlined helpers moved up - before their
first use.
Alexander Viro [Thu, 3 Jun 2004 13:27:54 +0000 (06:27 -0700)]
[PATCH] sparse: DAC960 annotation
Alexander Viro [Thu, 3 Jun 2004 13:27:43 +0000 (06:27 -0700)]
[PATCH] sparse: drivers/pnp annotation
Alexander Viro [Thu, 3 Jun 2004 13:27:32 +0000 (06:27 -0700)]
[PATCH] sparse: drivers/md annotation
Alexander Viro [Thu, 3 Jun 2004 13:27:21 +0000 (06:27 -0700)]
[PATCH] sparse: drivers/cdrom annotation
Alexander Viro [Thu, 3 Jun 2004 13:27:10 +0000 (06:27 -0700)]
[PATCH] sparse: drivers/cpufreq annotation
drivers/cpufreq annotated
Linus Torvalds [Thu, 3 Jun 2004 12:54:49 +0000 (05:54 -0700)]
sparse: annotate (and comment on) kmod.c user pointer usage
Big comment, because it wasn't clear why this cast was valid.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Alexander Viro [Thu, 3 Jun 2004 12:41:31 +0000 (05:41 -0700)]
[PATCH] sparse: forte annotation
forte annotated
Alexander Viro [Thu, 3 Jun 2004 12:41:21 +0000 (05:41 -0700)]
[PATCH] sparse: msnd annotation
msnd annotated
Alexander Viro [Thu, 3 Jun 2004 12:41:10 +0000 (05:41 -0700)]
[PATCH] sparse: ymfpci annotation
ymfpci annotated
Alexander Viro [Thu, 3 Jun 2004 12:40:59 +0000 (05:40 -0700)]
[PATCH] sparse: maestro annotation
maestro annotated
Alexander Viro [Thu, 3 Jun 2004 12:40:48 +0000 (05:40 -0700)]
[PATCH] sparse: btaudio annotation
btaudio annotated
Alexander Viro [Thu, 3 Jun 2004 12:40:37 +0000 (05:40 -0700)]
[PATCH] sparse: ad1889 annotation
ad1889 annotated
Alexander Viro [Thu, 3 Jun 2004 12:40:27 +0000 (05:40 -0700)]
[PATCH] sparse: the rest of sound/* annotation
Remaining bits and pieces in sound/oss annotated.
At that point sound/* is done - we have no noise warnings left there.
Alexander Viro [Thu, 3 Jun 2004 12:40:16 +0000 (05:40 -0700)]
[PATCH] sparse: maestro3 annotation
maestro3 annotated
Alexander Viro [Thu, 3 Jun 2004 12:40:06 +0000 (05:40 -0700)]
[PATCH] sparse: sonicvibes annotation
sonicvibes annotated
Alexander Viro [Thu, 3 Jun 2004 12:39:55 +0000 (05:39 -0700)]
[PATCH] sparse: ali5455 annotation
ali5455 annotated
Alexander Viro [Thu, 3 Jun 2004 12:39:44 +0000 (05:39 -0700)]
[PATCH] sparse: cs46xx annotation
cs46xx annotated
Alexander Viro [Thu, 3 Jun 2004 12:39:33 +0000 (05:39 -0700)]
[PATCH] sparse: i810 annotation
i810 annotated
Alexander Viro [Thu, 3 Jun 2004 12:39:22 +0000 (05:39 -0700)]
[PATCH] sparse: rme96xx annotation
rme96xx annotated
Alexander Viro [Thu, 3 Jun 2004 12:39:11 +0000 (05:39 -0700)]
[PATCH] sparse: esssolo annotation
esssolo annotated
Alexander Viro [Thu, 3 Jun 2004 12:39:00 +0000 (05:39 -0700)]
[PATCH] sparse: es1370 annotation
es1370 annotated
Alexander Viro [Thu, 3 Jun 2004 12:38:50 +0000 (05:38 -0700)]
[PATCH] sparse: es1371 annotation
es1371 annotated
Alexander Viro [Thu, 3 Jun 2004 12:38:39 +0000 (05:38 -0700)]
[PATCH] sparse: cmpci annotation
cmpci annotated
Alexander Viro [Thu, 3 Jun 2004 12:38:28 +0000 (05:38 -0700)]
[PATCH] sparse: cs4281 annotation
cs4281 annotated
Alexander Viro [Thu, 3 Jun 2004 12:38:17 +0000 (05:38 -0700)]
[PATCH] sparse: rest of ALSA annotation
The rest of annotation for ALSA drivers; only OSS stuff left to do in
sound/*
Alexander Viro [Thu, 3 Jun 2004 12:38:05 +0000 (05:38 -0700)]
[PATCH] sparse: emu10k1 annotation
emu10k1 annotated.
Alexander Viro [Thu, 3 Jun 2004 12:37:54 +0000 (05:37 -0700)]
[PATCH] sparse: rme9652 annotation
Annotated driver and ioctl structure used by it.
Alexander Viro [Thu, 3 Jun 2004 12:37:43 +0000 (05:37 -0700)]
[PATCH] sparse: trident annotation
Both ALSA and OSS variants
Alexander Viro [Thu, 3 Jun 2004 12:37:32 +0000 (05:37 -0700)]
[PATCH] sparse: vx annotation
Both PCI and PCMCIA variants of driver annotated
Alexander Viro [Thu, 3 Jun 2004 12:37:22 +0000 (05:37 -0700)]
[PATCH] sparse: sb annotation
sb annotation (both ALSA and OSS drivers)
Alexander Viro [Thu, 3 Jun 2004 11:19:22 +0000 (04:19 -0700)]
[PATCH] sparse: wavefront annotation
Both ALSA and OSS drivers + wavefront ioctl structure annotated. NB:
both should be switched to generic firmware loading - as it is, they are
using a homegrown and rather ugly variant
Alexander Viro [Thu, 3 Jun 2004 11:19:11 +0000 (04:19 -0700)]
[PATCH] sparse: sscape annotation
Alexander Viro [Thu, 3 Jun 2004 11:19:00 +0000 (04:19 -0700)]
[PATCH] sparse: sound/isa/gus annotation
GUS annotated.