Duncan Laurie wrote:
...
The output you are looking for should look something like this:
Device 00:0f.0 (slot 0): ISA bridge
INTA: link 0x01, irq mask 0x0400 [10]
...
Good luck, and feel free to send me the output from "dump_pirq"
and "mptable" if it doesn't work..
Hi Duncan,
Al's patch gives me:
videodev.c:550: warning: static declaration for `videodev_init' follows
non-static
videodev.c: In function `videodev_exit':
videodev.c:579: warning: implicit declaration of function
`videodev_proc_destroy'
Patch to use after Al's patch is attached.
~Randy
Alexander Viro
http://www.kernelnewbies.org/documents/ then ProcFS guide.
~Randy
sebastien person wrote:
Hi,
I'm trying to port a driver to 2.4, but it seem that proc use has changed.
Is somebody have any docs about ?
Thanks
sebastien person
-
-
To unsubscribe from this list: send the line
~~~
OSDL (Open Source Development Lab) is offering a $25,000
Enterprise Achievement Award to the developer(s) of technological
advances in the field of enterprise Linux, pursuant to some
contest rules. The award will be issued to the
Colin Bayer scribed:
| I have a Pentium III 933/133 (Coppermine, stepping 6) in an
Intel-manufactured
| i810 motherboard (hey, I
What mobo (model/name) is it?
Can you give us the output from lspci -vv?
| know it's a lame chipset, but it was on sale). On boot, the kernel
(version
| 2.4.6-pre8)
On Mon, 12 Mar 2007, Jan Engelhardt wrote:
On Mar 12 2007 13:37, Cong WANG wrote:
The following code is picked from drivers/kvm/kvm_main.c:
static struct kvm_vcpu *vcpu_load(struct kvm *kvm, int vcpu_slot)
{
struct kvm_vcpu *vcpu = kvm-vcpus[vcpu_slot];
mutex_lock(vcpu-mutex);
On Mon, 12 Mar 2007 [EMAIL PROTECTED] wrote:
From: Sukadev Bhattiprolu [EMAIL PROTECTED]
Subject: [PATCH 1/2] Fix some coding-style errors in autofs
Fix coding style errors (extra spaces, long lines) in autofs
and autofs4 files being modified for container/pidspace issues.
---
On Wed, 14 Mar 2007, Andrew Morton wrote:
On Wed, 14 Mar 2007 03:13:25 -0700 [EMAIL PROTECTED] wrote:
http://bugzilla.kernel.org/show_bug.cgi?id=8040
--- Additional Comments From [EMAIL PROTECTED] 2007-03-14 03:13 ---
Any news on that bug please ?
None whatsoever. Three
Hi,
Documentation/accounting/delay-accounting.txt says that the
getdelays program has a -c cmd argument, but that option
does not seem to exist in Documentation/account/getdelays.c.
Do you have an updated version of getdelays.c?
If not, please correct that documentation.
Is getdelays.c the best
Sam Ravnborg wrote:
On Mon, Apr 04, 2005 at 04:11:33PM -0700, Randy.Dunlap wrote:
- in Networking support, move Network testing and Netpoll
support to the end of the menu (basically put the devel.
tools toward the bottom of the menu)
Done
- I would rather not hide Amateur Radio, IrDA
Ross Biro wrote:
Currently Linux 2.6 assumes the BIOS (or firmware) sets the master abort
mode flag on PCI bridge chips in a coherent fashion. This is not always
the case and the consequences of getting this flag incorrect can cause
hardware to fail or silent data corruption. This patch lets
Greg KH wrote:
On Tue, 2005-04-05 at 13:27 -0700, David Mosberger wrote:
On Tue, 5 Apr 2005 09:46:48 -0700, Greg KH [EMAIL PROTECTED] said:
Greg -stable review patch. If anyone has any objections, please
Greg let us know.
Nitpick: the patch introduces trailing whitespace.
Sorry about that,
Derek Cheung wrote:
Below please find the patch file I diff against Linux 2.6.11.6. It
contains the I2C adaptor for ColdFire 5282 CPU. Since most ColdFire
CPU
shares the same I2C register set, the code can be easily adopted for
other ColdFire CPUs for I2C operations.
I have tested the code on a
Derek Cheung wrote:
Below please find the patch file I diff against Linux 2.6.11.6. It
contains the I2C adaptor for ColdFire 5282 CPU. Since most ColdFire
CPU
shares the same I2C register set, the code can be easily adopted for
other ColdFire CPUs for I2C operations.
I have tested the code on a
On Thu, 7 Apr 2005 10:23:32 +0200 Magnus Damm wrote:
| On Apr 7, 2005 4:23 AM, Roland Dreier [EMAIL PROTECTED] wrote:
| -#define module_init(x) __initcall(x);
| +#define module_init(x) __initcall(x); __module_init_disable(x);
|
|It would be better if there is brackets around
On Thu, 7 Apr 2005 13:22:57 -0400 (EDT) Richard B. Johnson wrote:
| On Thu, 7 Apr 2005, Randy.Dunlap wrote:
|
| On Thu, 7 Apr 2005 10:23:32 +0200 Magnus Damm wrote:
|
| | On Apr 7, 2005 4:23 AM, Roland Dreier [EMAIL PROTECTED] wrote:
| | -#define module_init(x) __initcall(x
On Thu, 7 Apr 2005 11:16:14 -0400 (EDT) Richard B. Johnson wrote:
|
| In the not-too distant past, one could disable Ctl-Alt-DEL.
| Can't do it anymore.
What should disabling C_A_D do?
| Script started on Thu 07 Apr 2005 10:58:11 AM EDT
| [SNIPPED leading stuff...]
|
| mprotect(0xb7fe4000,
On Thu, 7 Apr 2005 15:46:20 -0400 (EDT) Richard B. Johnson wrote:
| On Thu, 7 Apr 2005, Randy.Dunlap wrote:
|
| On Thu, 7 Apr 2005 11:16:14 -0400 (EDT) Richard B. Johnson wrote:
|
| |
| | In the not-too distant past, one could disable Ctl-Alt-DEL.
| | Can't do it anymore.
|
| What should
On Thu, 7 Apr 2005 15:37:51 -0700 Matt Mackall wrote:
| On Tue, Apr 05, 2005 at 08:10:27PM -0700, Randy.Dunlap wrote:
| There is a fairly up-to-date dontdiff file available at
| http://developer.osdl.org/rddunlap/doc/dontdiff-osdl
|
| Can we stash a copy in Documentation?
certainly.
Add
On Fri, 8 Apr 2005 21:43:55 +0200 Adrian Bunk wrote:
| On Fri, Apr 08, 2005 at 05:24:42PM +0100, Paulo Marques wrote:
| Adrian Bunk wrote:
| [...]
| On Tue, Apr 05, 2005 at 05:26:31PM +0100, Paulo Marques wrote:
|
| Hi Adrian,
|
| ...
| Joerg's list of recursions should be valid
On Sat, 9 Apr 2005 04:53:57 +0200 Petr Baudis wrote:
| Hello,
|
| Dear diary, on Fri, Apr 08, 2005 at 05:50:21PM CEST, I got a letter
| where Linus Torvalds [EMAIL PROTECTED] told me that...
|
|
| On Fri, 8 Apr 2005 [EMAIL PROTECTED] wrote:
|
| Here's a partial solution. It does
On Sun, 10 Apr 2005 16:23:11 -0700 Paul Jackson wrote:
| Petr wrote:
| That reminds me, is there any
| tool which will take .rej files and throw them into the file to create
| rcsmerge-like conflicts?
|
| Check out 'wiggle'
| http://www.cse.unsw.edu.au/~neilb/source/wiggle/
or Chris
On Sat, 9 Apr 2005 19:35:52 -0700 (PDT) sai narasimhamurthy wrote:
| Hi,
| I had posted a question on increasing the scsi
| read/write sectors per command. I figured out some of
| the things, but many questions still exist.
|
| I was wondering why the maximum writes I could get
| from a
On Sun, 10 Apr 2005 12:47:42 -0400 Derek Cheung wrote:
| Enclosed please find the updated patch that incorporates changes for all
| the comments I received.
(yes, almost all)
| The volatile declaration in the m528xsim.h is needed because the
| declaration refers to the ColdFire 5282 register
On Sun, 10 Apr 2005 16:38:00 -0700 (PDT) Linus Torvalds wrote:
|
|
| On Sun, 10 Apr 2005, Paul Jackson wrote:
|
| Useful explanation - thanks, Linus.
|
| Hey. You're welcome. Especially when you create good documentation for
| this thing.
|
| Because:
|
| Is this picture and description
On Tue, 15 Mar 2005 16:15:54 + David Greaves wrote:
| Old thread (!) but this is the last time I could find patch-kernel updated.
I found a little time to update patch-kernel if anyone wants
to use it. OTOH, using Matt Mackall's ketchup is OK too.
I also use 'kcurrent' to keep up with the
On Mon, 11 Apr 2005 21:14:17 +0200 Yves Crespin wrote:
| Hello,
|
| Using O_DIRECT flag, read() failed and errno is EINVAL.
| kernel 2.4.22
| Filesystem Ext3 mount on /home
| What's wrong ?
| Thanks
In fs/buffer.c, it wants the buffer the length (size) to be aligned:
function: brw_kiovec()
I
used to test it, but if it works, it should be a good choice.
| Randy.Dunlap wrote:
|
| On Mon, 11 Apr 2005 21:14:17 +0200 Yves Crespin wrote:
|
| | Hello,
| |
| | Using O_DIRECT flag, read() failed and errno is EINVAL.
| | kernel 2.4.22
| | Filesystem Ext3 mount on /home
| | What's wrong
On Wed, 13 Apr 2005 15:15:47 +0200 Yves Crespin wrote:
|
| | How can I obtains an buffer alignement from a user program ?
|
| I actually left that as an exercise (after I did it at home
| last night). Did you read the hint (below)?
|
| Well ... either with malloc() and alignement or
On Fri, 15 Apr 2005 02:58:54 +0200 (CEST) Jesper Juhl wrote:
| When building with gcc -W fs/reiserfs/namei.c:602 has a few warnings
| about 'empty body in an if-statement'. This patch silences those warnings.
So fix include/linux/reiserfs_xattr.h:
change
#define
On Fri, 15 Apr 2005 14:59:05 +1000 Nick Piggin wrote:
| On Fri, 2005-04-15 at 12:48 +0800, Michael Deegan wrote:
| Hi folks,
|
| I noticed something unusual on my home desktop machine (K6II, 448M RAM, runs
| KDE, samba, nfsd. 2.6.12-rc2 on Debian sarge). The machine seems to feel
| slightly
On Fri, 15 Apr 2005 15:41:34 -0400 Igor Shmukler wrote:
| Hello,
|
| Thanks to everyone for replying.
| It is surprising to me that linux-kernel people decided to disallow
| interception of system calls.
| I don't really see any upside to this.
Upside ?
| I guess if there is no clean way to do
On Mon, 18 Apr 2005 10:48:03 -0400 Igor Shmukler wrote:
| Rik, (and everyone),
|
| Everything is IMHO only.
|
| It all boils down to whether:
| 1. it is hard to correctly implement such LKM so that it can be safely
| loaded and unloaded and when these modules are combined they may not
| work
Justin Piszcz wrote:
Why are there only 7-8 loop devices available?
What options do I have if I want to mount, say, 100 isos?
Documentation/kernel-parameters.txt say:
max_loop= [LOOP] Maximum number of loopback devices that can
be mounted
Format: 1-256
--
Mikkel Krautz wrote:
And, here's an updated version of hid-core.c:
Signed-off-by: Mikkel Krautz [EMAIL PROTECTED]
---
--- clean/drivers/usb/input/hid-core.c
+++ dirty/drivers/usb/input/hid-core.c
@@ -37,13 +37,20 @@
* Version Information
*/
-#define DRIVER_VERSION v2.0
+#define
Charles-Edouard Ruault wrote:
Hi All,
i wrote a driver for the watchdog timer provided by a small form factor
board from IEI ( the PCISA-C800EV :
http://www.iei.com.tw/en/product_IPC.asp?model=PCISA-C800 ).
This board has a Via Apollo PLE133 ( VT8601A and VT82C686B ) chipset.
The watchdog uses
Chris Friesen wrote:
Lee Revell wrote:
On Wed, 2005-02-02 at 21:50 -0500, Kyle Moffett wrote:
It's not like somebody will have
some innate commercial advantage over you because they have your
driver source code.
For a hardware vendor that's not a very compelling argument. Especially
compared to
Domen Puncer wrote:
On 07/02/05 07:59 -0800, Randy.Dunlap wrote:
+static unsigned int hid_mousepoll_interval;
+module_param_named(mousepoll, hid_mousepoll_interval, uint, 0644);
Why is it writable by root? IOW, will writing a new value to it
change the operational value dynamically?
Also, from
Pavel Machek wrote:
Hi!
If I attempt to compile IEE1394 without CONFIG_NET, I get:
drivers/built-in.o(.text+0xcf885): In function `hpsb_alloc_packet':
: undefined reference to `alloc_skb'
drivers/built-in.o(.text+0xd03a6): In function `hpsb_send_packet':
: undefined reference to `skb_queue_tail'
Hi,
Is there some logical reason that these modules are selected
in i386/defconfig? Can we not default them to =m ?
Reduce number of modules built via defconfig.
Signed-off-by: Randy Dunlap [EMAIL PROTECTED]
diffstat:=
arch/i386/defconfig | 12 ++--
1 files changed, 6
pranay pramod345678 wrote:
Hi,
i tried for the latest versionof the /proc fs
document supposed to be available online at
http://skaro.nightcrawler.com/~bb/Docs/Proc but
couldn't get it.
can i get some help in this regard ?
Hi,
Try
[EMAIL PROTECTED] wrote:
Hi,
When I run
modprobe parport_pc io=0x378 irq=7
and found parport_pc: Ignoring new-style parameters in presence of
obsolete ones
in dmesg output and of course my paralel port does not use irq.
Have no way to tell parport_pc to use IRQ? With 2.6.8 the above command
is
Sergio Monteiro Basto wrote:
for the google archives :
I work with Linux more than 10 years and this messages are a great
sheet ! I can't understand a thing of the fuck is going in the mind of
the author.
Use ide-cd and give dev=/dev/hdX as device
cracks me up , Can someone translate this to
Aurélien GÉRÔME wrote:
Hi,
Having CONFIG_RTC=y, I tried on x86 the rtctest program found in
linux-2.6.10/Documentation/rtc.txt. However, it failed at:
ioctl(fd, RTC_UIE_ON, 0);
with:
ioctl: Inappropriate ioctl for device
Did I miss something? Maybe something else conflicts with CONFIG_RTC?
Cheers.
and I can burn CDs,
so that's not needed AFAIK.
2- as hdc already is ide-cd by default, therefore is not necessary to
write it and what should be made is erase the line hdc=ide-scsi.
Correct ?
Ah, yes, we seem to agree on that.
HTH.
~Randy
On Mon, 2005-02-14 at 18:25 -0800, Randy.Dunlap wrote:
Sergio
Aurélien GÉRÔME wrote:
On Mon, Feb 14, 2005 at 07:45:11PM -0800, Randy.Dunlap wrote:
Aurélien GÉRÔME wrote:
Hi,
Having CONFIG_RTC=y, I tried on x86 the rtctest program found in
linux-2.6.10/Documentation/rtc.txt. However, it failed at:
ioctl(fd, RTC_UIE_ON, 0);
with:
ioctl: Inappropriate ioctl
Alan Cox wrote:
On Maw, 2005-02-15 at 02:25, Randy.Dunlap wrote:
It means: don't use the ide-scsi driver. Support for it is
lagging (not well-maintained) because it's really not needed for
burning CDs. Just use the ide-cd driver (module) and
specify the CD burner device as /dev/hdX
Use NULL instead of 0 for pointer value:
drivers/char/isicom.c:1274:14: warning: Using plain integer as NULL pointer
Signed-off-by: Randy Dunlap [EMAIL PROTECTED]
diffstat:=
drivers/char/isicom.c |2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -Naurp
Al,
Please add this to your patch queue if you don't already have it.
Use C99 struct inits as requested by sparse:
fs/proc/base.c:738:2: warning: obsolete struct initializer, use C99 syntax
fs/proc/base.c:739:2: warning: obsolete struct initializer, use C99 syntax
Signed-off-by: Randy Dunlap
Ralf Hildebrandt wrote:
* Ralf Hildebrandt [EMAIL PROTECTED]:
The best way to do that is to ensure that the kernel was built with
CONFIG_DEBUG_INFO, note the offending EIP value, then do
# gdb vmlinux
(gdb) l *0xc0whatever
I'm rebuilding the ac12 kernel which crashed on me after just one day
and
Hi,
In checkstack.pl, do you recall the reason for this code snippet:
if ($size 0x8000) {
$size = - $size;
$size += 0x8000;
$size += 0x8000;
}
There is one (unusual:) case where it
Maciej Soltysiak wrote:
Hi,
I am compiling 2.6.11-rc4-cset
And I see during the compilation:
LD drivers/media/common/built-in.o
LD drivers/media/dvb/b2c2/built-in.o
LD drivers/media/dvb/bt8xx/built-in.o
LD drivers/media/dvb/cinergyT2/built-in.o
LD
On Thu, 28 Jul 2005 12:57:51 +0100 Ian Pratt wrote:
Greg Hm, you do realize that io_remap_pfn_range() is the same
Greg thing as remap_pfn_range() on i386, right?
Greg So, why would this patch change anything?
It's not the same thing under Xen. I think this patch
On Wed, 20 Apr 2005 13:02:12 -0400 Ed L Cashin wrote:
Just a nit/typo:
| +modprobe aoe_iflist=eth1 eth3
| static char aoe_iflist[IFLISTSZ];
| +module_param_string(aoe_iflist, aoe_iflist, IFLISTSZ, 0600);
| +MODULE_PARM_DESC(aoe_iflist, aoe_iflist=\dev1 [dev2 ...]\n);
No leading space (
| add firmware version to info in sysfs
|
| +static struct disk_attribute disk_attr_fwver = {
| + .attr = {.name = fwver, .mode = S_IRUGO },
| + .show = aoedisk_show_fwver
| +};
| @@ -64,6 +76,7 @@ aoedisk_rm_sysfs(struct aoedev *d)
| sysfs_remove_link(d-gd-kobj, state);
|
On Wed, 20 Apr 2005 04:17:08 +0200 Adrian Bunk wrote:
| This patch fixes the LITTLE_ENDIAN #define.
and a function prototype.
| Signed-off-by: Adrian Bunk [EMAIL PROTECTED]
|
| ---
|
| drivers/net/skfp/h/osdef1st.h |2 ++
| drivers/net/skfp/smt.c|2 +-
| 2 files changed, 3
On Thu, 21 Apr 2005 14:19:10 +0200 Ralf Hildebrandt wrote:
| It's available both as a patch (against 2.6.11) and as a tar-ball, and
| Where IS the tarball? Not on www.kernel.org, that's for sure.
in http://www.kernel.org/pub/linux/kernel/v2.6/testing/
---
~Randy
-
To unsubscribe from this
On Thu, 21 Apr 2005 11:30:06 -0400 Ed L Cashin wrote:
| Greg KH [EMAIL PROTECTED] writes:
|
| On Thu, Apr 21, 2005 at 09:36:17AM -0400, Ed L Cashin wrote:
| Bodo Eggert [EMAIL PROTECTED] [EMAIL PROTECTED] writes:
|
| Ed L Cashin [EMAIL PROTECTED] wrote:
|
| +++
On Thu, 21 Apr 2005 10:33:29 -0700 David Mosberger wrote:
| On Thu, 21 Apr 2005 10:19:28 -0700, Luck, Tony [EMAIL PROTECTED]
said:
|
|I just checked 2.6.12-rc3 and the fls() fix is indeed missing.
|Do you know what happened?
|
| Tony If BitKeeper were still in use, I'd have dropped
On Thu, 21 Apr 2005 14:51:09 -0400 Cosmin Nicolaescu wrote:
| The first fix is to reverse the order of the files being diffed. Since
| we make the change in $MYFILE (and not $MYFILE.orig}, the diff should
| have the .orig file first followed by $MYFILE (which has been
| modified).
But the patch
On Thu, 21 Apr 2005 15:21:30 -0700 Shaun Jackman wrote:
| Upon booting my system, the boot fails and the following message is
| displayed repeatedly:
|
| NETDEV WATCHDOG: eth0: transmit timed out
| eth0: transmit timed out, tx_status 00 status eb01.
| diagnostics: net 0cfa media 88c0 dma
Nguyen, Tom L wrote:
Monday, March 14, 2005 3:01 AM David Vrabel wrote:
This patch includes PCIEAER-HOWTO.txt, which describes how the PCI
Express Advanced Error Reporting Root driver works.
--- linux-2.6.11-rc5/Documentation/PCIEAER-HOWTO.txt
Could this be placed in a sub-system subdirectory
Reduce noise in 'make buildcheck' that is caused by CONFIG_DEBUG_INFO=y.
Signed-off-by: Randy Dunlap [EMAIL PROTECTED]
diffstat:=
scripts/reference_discarded.pl |3 +++
scripts/reference_init.pl |1 +
2 files changed, 4 insertions(+)
diff -Naurp
Miquel van Smoorenburg wrote:
In article [EMAIL PROTECTED],
Berkley Shands [EMAIL PROTECTED] wrote:
I have not found any documentation of efforts to overcome the 2TB
partition limit,
config LBD
bool Support for Large Block Devices
depends on X86 || MIPS32 || PPC32 || ARCH_S390_31
Keith Owens wrote:
On Mon, 14 Mar 2005 11:02:09 -0800,
Randy.Dunlap [EMAIL PROTECTED] wrote:
Reduce noise in 'make buildcheck' that is caused by CONFIG_DEBUG_INFO=y.
Signed-off-by: Randy Dunlap [EMAIL PROTECTED]
diffstat:=
scripts/reference_discarded.pl |3 +++
scripts/reference_init.pl
Sam Ravnborg wrote:
On Mon, Mar 14, 2005 at 01:38:11PM -0800, Randy.Dunlap wrote:
Indeed, it's actually much worse with that patch section added. :(
I don't know how I got there.
Sam, can you drop the very first patch section here, or shall I send
a new patch for this?
Incremental patch please
maximilian attems wrote:
Fix teles3 section references:
convert __initdata to __devinitdata.
Error: ./drivers/isdn/hisax/teles3.o .text refers to 11ab R_386_32
.init.data
Error: ./drivers/isdn/hisax/teles3.o .text refers to 11ba R_386_32
.init.data
Error: ./drivers/isdn/hisax/teles3.o
maximilian attems wrote:
Fix w6692 section references:
convert __initdata to __devinitdata.
Error: ./drivers/isdn/hisax/w6692.o .text refers to 002f R_386_32
.init.data
Signed-off-by: maximilian attems [EMAIL PROTECTED]
diff -pruN -X dontdiff linux-2.6.11-bk8/drivers/isdn/hisax/w6692.c
maximilian attems wrote:
Fix sedlbauer section references:
convert __initdata to __devinitdata.
Error: ./drivers/isdn/hisax/sedlbauer.o .text refers to 235f R_386_32
.init.data
Error: ./drivers/isdn/hisax/sedlbauer.o .text refers to 236e R_386_32
.init.data
Error:
maximilian attems wrote:
Fix elsa section references:
convert __initdata to __devinitdata.
Error: ./drivers/isdn/hisax/elsa.o .text refers to 3d28 R_386_32
.init.data
Error: ./drivers/isdn/hisax/elsa.o .text refers to 3d37 R_386_32
.init.data
Error: ./drivers/isdn/hisax/elsa.o .text
maximilian attems wrote:
Fix hfc_sx section references:
convert __initdata to __devinitdata.
Error: ./drivers/isdn/hisax/hfc_sx.o .text refers to 204d R_386_32
.init.data
Error: ./drivers/isdn/hisax/hfc_sx.o .text refers to 205c R_386_32
.init.data
Error: ./drivers/isdn/hisax/hfc_sx.o
(Kylene, please add TPM info to MAINTAINERS or CREDITS)
Fix gcc printk arg type warnings:
drivers/char/tpm/tpm.c:145: warning: unsigned int format, different type arg
(arg 5)
drivers/char/tpm/tpm.c:153: warning: int format, different type arg (arg 4)
drivers/char/tpm/tpm.c:190: warning: int
Andrew Morton wrote:
Randy.Dunlap [EMAIL PROTECTED] wrote:
Nope. Please use %Z for size_t args.
Yeps. Here it is.
--
~Randy
Fix gcc printk arg type warnings:
drivers/char/tpm/tpm.c:145: warning: unsigned int format, different type arg (arg 5)
drivers/char/tpm/tpm.c:153: warning: int format
(resend)
Use C99 struct inits as requested by sparse:
fs/proc/base.c:738:2: warning: obsolete struct initializer, use C99 syntax
fs/proc/base.c:739:2: warning: obsolete struct initializer, use C99 syntax
Signed-off-by: Randy Dunlap [EMAIL PROTECTED]
diffstat:=
fs/proc/base.c |4 ++--
1
(resend)
Fix (22) bitfield/boolean sparse warnings:
include/linux/mtd/flashchip.h:65:23: warning: dubious one-bit signed bitfield
include/linux/mtd/flashchip.h:66:23: warning: dubious one-bit signed bitfield
Signed-off-by: Randy Dunlap [EMAIL PROTECTED]
diffstat:=
include/linux/mtd/flashchip.h
(resend)
Put function prototypes for memset() and memcpy() ahead of where
there are used, to kill sparse warnings:
arch/x86_64/boot/compressed/../../../../lib/inflate.c:317:3: warning: undefined
identifier 'memset'
arch/x86_64/boot/compressed/../../../../lib/inflate.c:601:11: warning:
Ben Dooks wrote:
On Mon, Mar 14, 2005 at 04:03:29PM -0800, Randy.Dunlap wrote:
(resend)
Use C99 struct inits as requested by sparse:
fs/proc/base.c:738:2: warning: obsolete struct initializer, use C99 syntax
fs/proc/base.c:739:2: warning: obsolete struct initializer, use C99 syntax
I posted
Ben Dooks wrote:
On Mon, Mar 14, 2005 at 04:07:01PM -0800, Randy.Dunlap wrote:
(resend)
Fix (22) bitfield/boolean sparse warnings:
include/linux/mtd/flashchip.h:65:23: warning: dubious one-bit signed bitfield
include/linux/mtd/flashchip.h:66:23: warning: dubious one-bit signed bitfield
caught
(resend)
Use NULL instead of 0 for pointer (sparse warning):
fs/reiserfs/namei.c:611:50: warning: Using plain integer as NULL pointer
Signed-off-by: Randy Dunlap [EMAIL PROTECTED]
diffstat:=
fs/reiserfs/namei.c |2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -Naurp
maximilian attems wrote:
thanks a lot for your review!
you are right much better, added __init to W6692Version().
#Signed-off-by: maximilian attems [EMAIL PROTECTED]
Acked-by: Randy Dunlap [EMAIL PROTECTED]
diff -pruN -X dontdiff linux-2.6.11-bk8/drivers/isdn/hisax/w6692.c
Laurent CARON wrote:
shafa.hidee wrote:
Hi All,
Where we can find specs for writing driver for Intel PRO 100 card.
Regards
Shafahidee
already supported.
isn't it?
Yes, it is.
You can find a developer's manual for the 8255x NIC at
Evgeniy Polyakov wrote:
--- /tmp/empty/crypto_main.c 1970-01-01 03:00:00.0 +0300
+++ ./acrypto/crypto_main.c 2005-03-07 20:35:36.0 +0300
@@ -0,0 +1,374 @@
+/*
+ * crypto_main.c
+ *
+ * Copyright (c) 2004 Evgeniy Polyakov [EMAIL PROTECTED]
+ *
+ */
+struct crypto_session
Evgeniy Polyakov wrote:
--- /tmp/empty/crypto_user.h 1970-01-01 03:00:00.0 +0300
+++ ./acrypto/crypto_user.h 2005-03-07 20:35:36.0 +0300
@@ -0,0 +1,52 @@
+/*
+ * crypto_user.h
+ *
+ * Copyright (c) 2004 Evgeniy Polyakov [EMAIL PROTECTED]
+ *
+ */
+
+#ifndef __CRYPTO_USER_H
Robert Hancock wrote:
Artem Frolov wrote:
Hello,
I am in the process of testing static defect analyzer on a Linux
kernel source code (see disclosure below).
I found some potential array bounds violations. The pattern is as
follows: bytes are copied from the user space and then buffer is
accessed
Robert Hancock wrote:
Randy.Dunlap wrote:
The latter one does (before the listed code):
memset(line, 0, LINE_SIZE);
if (len LINE_SIZE)
len = LINE_SIZE;
if (copy_from_user(line, buf, len - 1))
return -EFAULT;
so isn't line[LINE_SIZE - 1] always 0 ?
In that case, yes (I
Keir Fraser wrote:
This patch introduces a new interface function for mapping bus/device
memory: io_remap_pfn_range. This accepts the same parameters as
remap_pfn_range (indeed, by default it is implemented by this existing
function) but should be used in any situation where the caller is not
Convert kernel-parameters.txt to use IA-32 in place of x86
and X86-64 in place of x86_64, to be in line with other
architecture documentation conventions.
Add reference to Documentation/x86_64/boot-options.txt .
Signed-off-by: Randy Dunlap [EMAIL PROTECTED]
diffstat:=
Add kstack=N boot option for IA-32 (from x86_64).
Signed-off-by: Randy Dunlap [EMAIL PROTECTED]
diffstat:=
Documentation/kernel-parameters.txt |3 +++
arch/i386/kernel/traps.c|7 +++
2 files changed, 10 insertions(+)
diff -Naurp ./arch/i386/kernel/traps.c~kstack_i386
[EMAIL PROTECTED] wrote:
Hi Greg, PCI folk,
I updated this to change pirq_table_addr to a long, and to add a warning
msg if the PIRQ table wasn't found at the specified address, as per thread
with Matthew Wilcox. Let me know if it's okay. Thanks.
In our hardware situation, the BIOS is unable to
Keir Fraser wrote:
This patch introduces a new interface function for mapping bus/device
memory: io_remap_pfn_range. This accepts the same parameters as
remap_pfn_range (indeed, by default it is implemented by this existing
function) but should be used in any situation where the caller is not
Follow-up to
http://marc.theaimsgroup.com/?l=linux-mmm=111049473410099w=2
(which has a minor correction, full patch available at:
http://developer.osdl.org/rddunlap/patches/ioremap_pfn_v6.patch)
Built on 9 arches with OSDL PLM.
io_remap_pfn_range() phase 2:
convert all callers of
(from Keir:)
I have audited the drivers/ and sound/ directories. Most uses of
remap_pfn_range are okay, but there are a small handful that are
remapping device memory (mostly AGP and DRM drivers).
Of particular driver is the HPET driver, whose mmap function is broken
even for native (non-Xen)
io_remap_pfn_range():
convert sparc32/64 callers of io_remap_page_range(with 6 args)
to io_remap_pfn_range(with 5 args);
drivers/char/drm/drm_vm.c |6 +++---
drivers/sbus/char/vfc_dev.c |6 --
drivers/video/fbmem.c |6 +++---
drivers/video/sbuslib.c |8
io_remap_pfn_range() remaining callers:
convert all remaining callers of io_remap_page_range()
to io_remap_pfn_range();
add io_remap_page_range() to feature-removal-schedule.txt;
Documentation/feature-removal-schedule.txt |9 +
arch/sh/kernel/cpu/sh4/sq.c|2
io_remap_pfn_range():
add io_remap_pfn_range() for all arches;
add MK_IOSPACE_PFN(), GET_IOSPACE(), and GET_PFN()
for all arches but primarily for sparc32/64's extended IO space,
sparc: kill the hack of using low bit of offset to mean
write_combine or set side-effect
This is a combination of io_remap_pfn_range patches posted in the
last week or so by Keir Fraser and me.
This description is mostly from Keir's original post.
This patch introduces a new interface function for mapping bus/device
memory: io_remap_pfn_range. This accepts the same parameters as
Paul Mackerras wrote:
Just by inspection, this looks like pfn should be changed to
paddr64 PAGE_SHIFT in that last line.
Paul.
Agreed, thank you. Patch is attached.
--
~Randy
Fix asm-ppc argument, spotted by Paul Mackerras.
Signed-off-by: Randy Dunlap [EMAIL PROTECTED]
diffstat:=
Jan Engelhardt wrote:
Thanks for confirming. Are you guys interested in this kind of leaks? I have
a list of about a hundred generated by our tool. -yichen
This list is not SUN (where you would have to enter a service contract to
report bugs (efficiently)).
Jan Engelhardt
Just to be clear(er),
Christoph Lameter wrote:
We just send an update to Andrew and Jeff that also fixes this issue.
Sadly that patch is 300k so we cannot post it to the list.
you can post it to netdev@oss.sgi.com
it doesn't seem to block large patches.
--
~Randy
-
To unsubscribe from this list: send the line
Jeff Garzik wrote:
Andrew Morton wrote:
David McCullough [EMAIL PROTECTED] wrote:
Here is a small patch for 2.6.11 that adds a routine:
add_true_randomness(__u32 *buf, int nwords);
It neither applies correctly nor compiles in current kernels. 2.6.11 is
very old in kernel time.
Hrm. This is
1 - 100 of 525 matches
Mail list logo