| From | Subject | Date |
|---|---|---|
| Kirill Kuvaldin | [PATCH] isofs: mounting to regular file may succeed
It turned out that mounting a corrupted ISO image to a regular file may
succeed, e.g. if an image was prepared as follows:
$ dd if=correct.iso of=bad.iso bs=4k count=8
We then can mount it to a regular file:
# mount -o loop -t iso9660 bad.iso /tmp/file
But mounting it to a directory fails with -ENOTDIR, simply because
the root directory inode doesn't have S_IFDIR set and the condition
in graft_tree() is met:
if (S_ISDIR(nd->dentry->d_inode->i_mode) !=
S_ISDIR(mnt->mnt...
| Jul 13, 7:47 pm 2007 |
| Robert Hancock | Re: Always zero test in arch/i386/pci/mmconfig-shared.c
You missed this code:
name = pci_mmcfg_probes[i].probe();
This calls one of the probe functions above, which will set
pci_mmcfg_config_num to something else, as with the name variable. It
may set the name but not the config num, if the chipset is recognized
--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/
-
| Jul 13, 7:42 pm 2007 |
| H. Peter Anvin | kernel.org needs gitweb help
Hi all,
A lot of people have asked me if there is anything they can do to help
out kernel.org. At this point, the number one thing anyone could do to
help, and which would be reasonably self-contained a project, would be
to help maintain our fork of gitweb:
http://git.kernel.org/?p=git/warthog9/gitweb.git;a=summary
We really need the caching version of gitweb, but it does have a number
of problems, including the non-working tarball generator.
-hpa
-
| Jul 13, 7:12 pm 2007 |
| S.Çağlar | [PATCH 11/12] drivers/isdn/hisax/telespci.c: replace pci_fin...
Following patch replaces pci_find_device with pci_get_device to avoid
following compiliation warning;
drivers/isdn/hisax/telespci.c: In function `setup_telespci':
drivers/isdn/hisax/telespci.c:303: warning: `pci_find_device' is deprecated
(declared at include/linux/pci.h:478)
Signed-off-by: S.Çağlar Onur <caglar@pardus.org.tr>
---
drivers/isdn/hisax/telespci.c | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
Index: linux-2.6/drivers/isdn/hisax/telespci.c
=...
| Jul 13, 6:44 pm 2007 |
| S.Çağlar | [PATCH 12/12] drivers/isdn/hisax/w6692.c: replace pci_find_d...
Following patch replaces pci_find_device with pci_get_device to avoid
following compiliation warning;
drivers/isdn/hisax/w6692.c: In function `setup_w6692':
drivers/isdn/hisax/w6692.c:1014: warning: `pci_find_device' is deprecated
(declared at include/linux/pci.h:478)
and also removes trailing whitespaces at the ends of lines and converts
smarttabs/whitespaces into real tabs
Signed-off-by: S.Çağlar Onur <caglar@pardus.org.tr>
---
drivers/isdn/hisax/w6692.c | 15 ++++++++++-----...
| Jul 13, 6:44 pm 2007 |
| S.Çağlar | [PATCH 9/12] drivers/isdn/hisax/nj_u.c: replace pci_find_dev...
Following patch replaces pci_find_device with pci_get_device to avoid
following compiliation warning;
drivers/isdn/hisax/nj_u.c: In function `setup_netjet_u':
drivers/isdn/hisax/nj_u.c:154: warning: `pci_find_device' is deprecated
(declared at include/linux/pci.h:478)
and also removes trailing whitespaces at the ends of lines and converts
smarttabs/whitespaces into real tabs
Signed-off-by: S.Çağlar Onur <caglar@pardus.org.tr>
---
drivers/isdn/hisax/nj_u.c | 21 +++++++++++++---...
| Jul 13, 6:44 pm 2007 |
| S.Çağlar | Re: [PATCH 9/12] drivers/isdn/hisax/nj_u.c: replace pci_find...
[resend] i forget to quilt refresh :(, sorry for noise
Following patch replaces pci_find_device with pci_get_device to avoid
following compiliation warning;
drivers/isdn/hisax/nj_u.c: In function `setup_netjet_u':
drivers/isdn/hisax/nj_u.c:154: warning: `pci_find_device' is deprecated
(declared at include/linux/pci.h:478)
and also removes trailing whitespaces at the ends of lines and converts
smarttabs/whitespaces into real tabs
Signed-off-by: S.Çağlar Onur <caglar@pardus.org.tr>...
| Jul 13, 7:03 pm 2007 |
| S.Çağlar | [PATCH 10/12] drivers/isdn/hisax/sedlbauer.c: replace pci_fi...
Following patch replaces pci_find_device with pci_get_device to avoid
following compiliation warning;
drivers/isdn/hisax/sedlbauer.c: In function `setup_sedlbauer':
drivers/isdn/hisax/sedlbauer.c:621: warning: `pci_find_device' is deprecated
(declared at include/linux/pci.h:478)
and also removes trailing whitespaces at the ends of lines and converts
smarttabs/whitespaces into real tabs
Signed-off-by: S.Çağlar Onur <caglar@pardus.org.tr>
---
drivers/isdn/hisax/sedlbauer.c | 43 ...
| Jul 13, 6:44 pm 2007 |
| S.Çağlar | [PATCH 8/12] drivers/isdn/hisax/nj_s.c: replace pci_find_dev...
Following patch replaces pci_find_device with pci_get_device to avoid
following compiliation warning;
drivers/isdn/hisax/nj_s.c: In function `setup_netjet_s':
drivers/isdn/hisax/nj_s.c:173: warning: `pci_find_device' is deprecated
(declared at include/linux/pci.h:478)
and also removes trailing whitespaces at the ends of lines and converts
smarttabs/whitespaces into real tabs
Signed-off-by: S.Çağlar Onur <caglar@pardus.org.tr>
---
drivers/isdn/hisax/nj_s.c | 21 +++++++++++++---...
| Jul 13, 6:44 pm 2007 |
| S.Çağlar | Re: [PATCH 8/12] drivers/isdn/hisax/nj_s.c: replace pci_find...
[resend] i forget to quilt refresh :(, sorry for noise
Following patch replaces pci_find_device with pci_get_device to avoid
following compiliation warning;
drivers/isdn/hisax/nj_s.c: In function `setup_netjet_s':
drivers/isdn/hisax/nj_s.c:173: warning: `pci_find_device' is deprecated
(declared at include/linux/pci.h:478)
and also removes trailing whitespaces at the ends of lines and converts
smarttabs/whitespaces into real tabs
Signed-off-by: S.Çağlar Onur <caglar@pardus.org.tr>...
| Jul 13, 7:02 pm 2007 |
| S.Çağlar | [PATCH 7/12] drivers/isdn/hisax/hfc_pci.c: replace pci_find_...
Following patch replaces pci_find_device with pci_get_device to avoid
following compiliation warning;
drivers/isdn/hisax/hfc_pci.c: In function `setup_hfcpci':
drivers/isdn/hisax/hfc_pci.c:1668: warning: `pci_find_device' is deprecated
(declared at include/linux/pci.h:478)
Signed-off-by: S.Çağlar Onur <caglar@pardus.org.tr>
---
drivers/isdn/hisax/hfc_pci.c | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
Index: linux-2.6/drivers/isdn/hisax/hfc_pci.c
========...
| Jul 13, 6:44 pm 2007 |
| S.Çağlar | Re: [PATCH 7/12] drivers/isdn/hisax/hfc_pci.c: replace pci_f...
[resend] i forget to quilt refresh :(, sorry for noise
Following patch replaces pci_find_device with pci_get_device to avoid
following compiliation warning;
drivers/isdn/hisax/hfc_pci.c: In function `setup_hfcpci':
drivers/isdn/hisax/hfc_pci.c:1668: warning: `pci_find_device' is deprecated
(declared at include/linux/pci.h:478)
Signed-off-by: S.Çağlar Onur <caglar@pardus.org.tr>
---
drivers/isdn/hisax/hfc_pci.c | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-...
| Jul 13, 7:02 pm 2007 |
| S.Çağlar | [PATCH 6/12] drivers/isdn/hisax/enternow_pci.c: replace pci_...
Following patch replaces pci_find_device with pci_get_device to avoid
following compiliation warning;
drivers/isdn/hisax/enternow_pci.c: In function `setup_enternow_pci':
drivers/isdn/hisax/enternow_pci.c:326: warning: `pci_find_device' is
deprecated (declared at include/linux/pci.h:478)
and also removes trailing whitespaces at the ends of lines and converts
smarttabs/whitespaces into real tabs
Signed-off-by: S.Çağlar Onur <caglar@pardus.org.tr>
---
drivers/isdn/hisax/enternow_p...
| Jul 13, 6:44 pm 2007 |
| S.Çağlar | [PATCH 3/12] drivers/isdn/hisax/gazel.c: replace pci_find_de...
Following patch replaces pci_find_device with pci_get_device to avoid
following compiliation warning;
drivers/isdn/hisax/gazel.c: In function `setup_gazelpci':
drivers/isdn/hisax/gazel.c:549: warning: `pci_find_device' is deprecated
(declared at include/linux/pci.h:478)
Signed-off-by: S.Çağlar Onur <caglar@pardus.org.tr>
---
drivers/isdn/hisax/gazel.c | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
Index: linux-2.6/drivers/isdn/hisax/gazel.c
=================...
| Jul 13, 6:44 pm 2007 |
| S.Çağlar | [PATCH 2/12] drivers/isdn/hisax/bkm_a4t.c: replace pci_find_...
Following patch replaces pci_find_device with pci_get_device to avoid
following compiliation warning;
drivers/isdn/hisax/bkm_a4t.c: In function `setup_bkm_a4t':
drivers/isdn/hisax/bkm_a4t.c:278: warning: `pci_find_device' is deprecated
(declared at include/linux/pci.h:478)
Signed-off-by: S.Çağlar Onur <caglar@pardus.org.tr>
---
drivers/isdn/hisax/bkm_a4t.c | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
Index: linux-2.6/drivers/isdn/hisax/bkm_a4t.c
=====...
| Jul 13, 6:44 pm 2007 |
| S.Çağlar | [PATCH 0/12] drivers/isdn: replace pci_find_device with pci_...
Hi;
Following patches replaces pci_find_device with pci_get_device (with some
whitespace cleanups) to avoid following warnings;
warning: `pci_find_device' is deprecated (declared at include/linux/pci.h:478)
occured while compiling the kernel for ages.
Although ISDN subsystem marked as Maintained, last activity on ISDN
subsystem's git tree occured 21 Month ago :( so for this reason i'm adding
LKML also.
[1] http://git.kernel.org/?p=linux/kernel/git/kkeil/isdn-2.6.git;a=summary
Cheers
...
| Jul 13, 6:44 pm 2007 |
| S.Çağlar | [PATCH 5/12] drivers/isdn/hisax/niccy.c: replace pci_find_de...
Following patch replaces pci_find_device with pci_get_device to avoid
following compiliation warning;
drivers/isdn/hisax/niccy.c: In function `setup_niccy':
drivers/isdn/hisax/niccy.c:305: warning: `pci_find_device' is deprecated
(declared at include/linux/pci.h:478)
Signed-off-by: S.Çağlar Onur <caglar@pardus.org.tr>
---
drivers/isdn/hisax/niccy.c | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)
Index: linux-2.6/drivers/isdn/hisax/niccy.c
=========...
| Jul 13, 6:44 pm 2007 |
| S.Çağlar | Re: [PATCH 5/12] drivers/isdn/hisax/niccy.c: replace pci_fin...
[resend] i forget to quilt refresh :(, sorry for noise
Following patch replaces pci_find_device with pci_get_device to avoid
following compiliation warning;
drivers/isdn/hisax/niccy.c: In function `setup_niccy':
drivers/isdn/hisax/niccy.c:305: warning: `pci_find_device' is deprecated
(declared at include/linux/pci.h:478)
Signed-off-by: S.Çağlar Onur <caglar@pardus.org.tr>
---
drivers/isdn/hisax/niccy.c | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(...
| Jul 13, 7:00 pm 2007 |
| S.Çağlar | [PATCH 1/12] drivers/isdn/hisax/avm_pci.c: replace pci_find_...
Following patch replaces pci_find_device with pci_get_device to avoid
following compiliation warning;
drivers/isdn/hisax/avm_pci.c: In function `setup_avm_pcipnp':
drivers/isdn/hisax/avm_pci.c:792: warning: `pci_find_device' is deprecated
(declared at include/linux/pci.h:478)
Signed-off-by: S.Çağlar Onur <caglar@pardus.org.tr>
---
drivers/isdn/hisax/avm_pci.c | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
Index: linux-2.6/drivers/isdn/hisax/avm_pci.c
...
| Jul 13, 6:44 pm 2007 |
| S.Çağlar | [PATCH 4/12] drivers/isdn/hisax/bkm_a8.c: replace pci_find_d...
Following patch replaces pci_find_device with pci_get_device to avoid
following compiliation warning;
drivers/isdn/hisax/bkm_a8.c: In function `setup_sct_quadro':
drivers/isdn/hisax/bkm_a8.c:312: warning: `pci_find_device' is deprecated
(declared at include/linux/pci.h:478)
Signed-off-by: S.Çağlar Onur <caglar@pardus.org.tr>
---
drivers/isdn/hisax/bkm_a8.c | 22 +++++++++++++---------
1 file changed, 13 insertions(+), 9 deletions(-)
Index: linux-2.6/drivers/isdn/hisax/bkm_a8.c
...
| Jul 13, 6:44 pm 2007 |
| Dan Williams | [-mm PATCH 0/2] 74% decrease in dispatched writes, stripe-qu...
Neil, Andrew,
The following patches replace the stripe-queue patches currently in -mm.
Following your suggestion, Neil, I gathered blktrace data on the number
of reads generated by sequential write stimulus. It turns out that
reduced pre-reading is not the cause of the performance increase, but
rather increased write merging. The data, in patch #1, shows a 74%
decrease in the number of dispatched writes. I can only assume that
this is the explanation for the 65% throughput improvement, because t...
| Jul 13, 6:35 pm 2007 |
| Andrew Morton | Re: [-mm PATCH 0/2] 74% decrease in dispatched writes, strip...
On Fri, 13 Jul 2007 15:35:42 -0700
I have a little practical problem here: am presently unable to compile
anything much due to all the git rejects coming out of git-md-accel.patch.
It'd be appreciated if you could keep on top of that, please. It's a common
problem at this time of the kernel cycle. The quilt trees are much worse - Greg's
stuff is an unholy mess. Ho hum.
-
| Jul 13, 6:54 pm 2007 |
| Williams, Dan J | RE: [-mm PATCH 0/2] 74% decrease in dispatched writes, strip...
Sorry, please drop git-md-accel.patch and git-ioat.patch as they have
been merged into Linus' tree.
-
| Jul 13, 6:57 pm 2007 |
| Andrew Morton | Re: [-mm PATCH 0/2] 74% decrease in dispatched writes, strip...
On Fri, 13 Jul 2007 15:57:26 -0700
But your ongoing maintenance activity will continue to be held in those
trees, won't it?
-
| Jul 13, 7:01 pm 2007 |
| Williams, Dan J | RE: [-mm PATCH 0/2] 74% decrease in dispatched writes, strip...
For now:
git://lost.foo-projects.org/~dwillia2/git/iop
ioat-md-accel-for-linus
is where the latest combined tree is located. However, Shannon Nelson
is coming online to own the i/oat driver so we may need to revisit this
situation. We want to avoid the git-ioat/git-md-accel collisions that
happened in the past. I will talk with Shannon about how we will
coordinate this going forward.
The code ownership looks like this:
ioat dma driver - Shannon
net dma offload implementation - Shannon
d...
| Jul 13, 7:28 pm 2007 |
| Dan Williams | [-mm PATCH 2/2] raid5: use stripe_queues to prioritize the "...
Overview:
Taking advantage of the stripe_queue/stripe_head separation, this patch
implements a queue in front of the stripe cache. A stripe_queue pool
accepts incoming requests. As requests are attached, the weight of the
queue object is updated. A workqueue is introduced to control the flow of
requests to the stripe cache. Pressure (weight of the queue object) can
push requests to be processed by the the cache (raid5d). raid5d also pulls
requests when its 'handle' list is empty.
The workqueu...
| Jul 13, 6:35 pm 2007 |
| Dan Williams | [-mm PATCH 1/2] raid5: add the stripe_queue object for track...
The raid5 stripe cache object, struct stripe_head, serves two purposes:
1/ frontend: queuing incoming requests
2/ backend: transitioning requests through the cache state machine
to the backing devices
The problem with this model is that queuing decisions are directly tied to
cache availability. There is no facility to determine that a request or
group of requests 'deserves' usage of the cache and disks at any given time.
This patch separates the object members needed for queuing from the obj...
| Jul 13, 6:35 pm 2007 |
| federico ferri | [PATCH] change SysRq keycode for systems without SysRq key
this patch adds an entry in Kconfig after 'config MAGIC_SYSRQ' which
asks for a different keycode (replacing also KEY_SYSRQ with
CONFIG_MAGIC_SYSRQ_KEYCODE in char/keyboard.c)
it was tested on some USB keyboards (Microsoft and Apple USB keyboards,
and it works)
I sumbitted this patch two years ago, but it was ignored.
I think this patch is very important, even to a non-developer (SysRq-k
is very helpful when testing unstable software/drivers)
--
federico ferri
| Jul 13, 5:20 pm 2007 |
| H. Peter Anvin | [x86 setup] Fix assembly constraints
Fix incorrect assembly constraints. In particular, fix memory
constraints used inside push..pop, which can cause invalid operation
since gcc may generate %esp-relative references.
Additionally:
outl() should have "dN" not "dn".
query_mca() shouldn't listen 16/32-bit registers in an 8-bit only
context.
has_eflag(): the "mask" is only used well after both the stack pointer
and the output registers have been touched; this requires the output
registers to be earlyclobbers (=&) and the inpu...
| Jul 13, 6:09 pm 2007 |
| Chuck Ebbert | Re: [x86 setup] Fix assembly constraints
That was Etienne Lorrain (cc'd), not me. All I did was reply
to Etienne's post and add cc:'s because the original only went
-
| Jul 13, 6:20 pm 2007 |
| WebLab Help | Re-2: Re-2: Oops in kernel 2.6.22 rc3
Hello everyone,
today I compiled the newest kernel (2.6.22.1 from kernel.org) and installed it into the system.
With the older builds it took about 3...4 days to get an Oops. So we have to be a little patient, I'm afraid.
If there are any news I will let you know.
Thank you all for your help!
Wish you a nice weekend!
Bye
Stefan
======Originalnachricht======
Von: "Thomas Gleixner" <tglx@linutronix.de>
Datum: 2007-07-13 10:19:16
An: "Michal Piotrowski" <michal.k.k.piotrowski@gmail....
| Jul 13, 5:22 pm 2007 |
| Folkert van Heusden | [2.6.21.1] BUG: soft lockup detected on CPU#1!
Hi,
My system triggered a soft lockup bug:
[169034.197159] BUG: soft lockup detected on CPU#1!
[169034.197232] [<c1004d53>] show_trace_log_lvl+0x1a/0x30
[169034.197326] [<c1004d7b>] show_trace+0x12/0x14
[169034.197406] [<c1004e75>] dump_stack+0x16/0x18
[169034.197488] [<c104ddc7>] softlockup_tick+0xa6/0xc2
[169034.197572] [<c1026855>] run_local_timers+0x12/0x14
[169034.197656] [<c102662d>] update_process_times+0x36/0xa1
[169034.197740] [<c10386cb>...
| Jul 13, 4:59 pm 2007 |
| Christoph Pfister | keyboard stopped working after de9ce703c6b807b1dfef5942df4f2...
Hi,
After a kernel update I recognised that my keyboard sometimes didn't work
after booting up. I found out that the issue appeared quite reliably after a
cold reboot and not pressing any key (for example not selecting stuff at the
bootloader) till the machine fully booted up.
Because git head (4eb6bf6bfb580afaf1e1a1d30cba17a078530cf4) didn't solve the
problem I did a bisect and your commit was found to be the culprit (the
second last build succeeded 5 of 5 times during my tests and the last b...
| Jul 13, 4:49 pm 2007 |
| Christoph Pfister | Re: keyboard stopped working after de9ce703c6b807b1dfef5942d...
Forgot to mention dmesg: "input: AT Translated Set 2 keyboard
as /class/input/input0" is shown in both (working / failing) cases (no
additional / related lines nearby).
Christoph
-
| Jul 13, 5:04 pm 2007 |
| Linas Vepstas | [PATCH] crash in 2.6.22-git2 sysctl_set_parent()
This is a patch (& bug report) for a crash in sysctl_set_parent()
in 2.6.22-git2.
Problem: 2.6.22-git2 crashes with a stack trace
[c000000001d0fb00] c000000000067b4c .sysctl_set_parent+0x48/0x7c
[c000000001d0fb90] c000000000069b40 .register_sysctl_table+0x7c/0xf4
[c000000001d0fc30] c00000000065e710 .devinet_init+0x88/0xb0
[c000000001d0fcc0] c00000000065db74 .ip_rt_init+0x17c/0x32c
[c000000001d0fd70] c00000000065deec .ip_init+0x10/0x34
[c000000001d0fdf0] c00000000065e898 .inet_init+0x160/0...
| Jul 13, 4:05 pm 2007 |
| David Miller | Re: [PATCH] crash in 2.6.22-git2 sysctl_set_parent()
From: linas@austin.ibm.com (Linas Vepstas)
Thanks for tracking this down, I'll apply your patch.
-
| Jul 13, 6:47 pm 2007 |
| Paul Moore | Re: The art of breaking userspace (was Re: [GIT] SELinux cha...
-----Original Message-----
From: Stephen Smalley <sds@tycho.nsa.gov>
Date: Friday, Jul 13, 2007 3:30 pm
Subject: Re: The art of breaking userspace (was Re: [GIT] SELinux changes for 2.6.23 (updated))
To: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
CC: Paul Moore <paul.moore@hp.com>, jmorris@namei.org, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org
I'm stuck in the airport right now but I will send a patch out later tonight.
. paul moore
. linux security ...
| Jul 13, 3:39 pm 2007 |
| Matthias Kaehlcke | [PATCH 0/5] use mutex instead of semaphore in several drivers
This patchset converts semaphores that are used as mutexes to the
mutex API in the following drivers/code:
SPI core/init code
USB gadget serial
ELAN U132 adapter
Adutux
FTDI ELAN
--
Matthias Kaehlcke
Linux Application Developer
Barcelona
You must have a plan. If you don't have a plan,
you'll become part of somebody else's plan
.''`.
using free software / Debian GNU/Linux | [ message continues ] " title="http://debian.org...">http://debian.org... | Jul 13, 3:20 pm 2007 |
| Matthias Kaehlcke | [PATCH 5/5] use mutex instead of semaphore in the FTDI ELAN ...
The FTDI ELAN driver uses a semaphore as mutex. Use the mutex API
instead of the (binary) semaphore.
Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
--
diff --git a/drivers/usb/misc/ftdi-elan.c b/drivers/usb/misc/ftdi-elan.c
index e0f122e..7cc6883 100644
--- a/drivers/usb/misc/ftdi-elan.c
+++ b/drivers/usb/misc/ftdi-elan.c
@@ -44,6 +44,7 @@
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/kref.h>
+#include <linux/mutex.h>
#...
| Jul 13, 3:29 pm 2007 |
| Matthias Kaehlcke | [PATCH 4/5] use mutex instead of semaphore in the Adutux dri...
The Adutux driver uses a semaphore as mutex. Use the mutex API
instead of the (binary) semaphore.
Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
--
diff --git a/drivers/usb/misc/adutux.c b/drivers/usb/misc/adutux.c
index d72c42e..274d08e 100644
--- a/drivers/usb/misc/adutux.c
+++ b/drivers/usb/misc/adutux.c
@@ -24,6 +24,7 @@
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/usb.h>
+#include <linux/mutex.h>
#include <asm/...
| Jul 13, 3:28 pm 2007 |
| Matthias Kaehlcke | [PATCH 3/5] use mutex instead of semaphore in the ELAN U132 ...
The ELAN U132 adapter driver uses the semaphore u132_module_lock
as mutex. Use the mutex API instead of the (binary) semaphore.
Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
--
diff --git a/drivers/usb/host/u132-hcd.c b/drivers/usb/host/u132-hcd.c
index e98df2e..7f765ec 100644
--- a/drivers/usb/host/u132-hcd.c
+++ b/drivers/usb/host/u132-hcd.c
@@ -52,6 +52,7 @@
#include <linux/workqueue.h>
#include <linux/platform_device.h>
#include <linux/pci_ids.h&...
| Jul 13, 3:26 pm 2007 |
| Matthias Kaehlcke | [PATCH 2/5] use mutex instead of semaphore in the USB gadget...
The USB gadget serial driver uses a semaphore as mutex. Use the
mutex API instead of the (binary) semaphore.
Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
--
diff --git a/drivers/usb/gadget/serial.c b/drivers/usb/gadget/serial.c
index dd33ff0..4192d24 100644
--- a/drivers/usb/gadget/serial.c
+++ b/drivers/usb/gadget/serial.c
@@ -33,6 +33,7 @@
#include <linux/device.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
+#include <linux/mutex.h&...
| Jul 13, 3:25 pm 2007 |
| David Brownell | Jul 13, 4:00 pm 2007 | |
| Matthias Kaehlcke | [PATCH 1/5] use mutex instead of semaphore in SPI core/init ...
The SPI core/init code uses a semaphore as mutex. Use the mutex
API instead of the (binary) semaphore.
Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
--
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index 4831edb..018884d 100644
--- a/drivers/spi/spi.c
+++ b/drivers/spi/spi.c
@@ -23,6 +23,7 @@
#include <linux/device.h>
#include <linux/init.h>
#include <linux/cache.h>
+#include <linux/mutex.h>
#include <linux/spi/spi.h>
@@...
| Jul 13, 3:23 pm 2007 |
| David Brownell | Jul 13, 3:59 pm 2007 | |
| TripleX Chung | Ask for help, about the trivial patches.
I am working on the chinese translated version of
Documentation/SubmittingPatches and get some problem about the "Trivial
patches".I can not understand what "Trivial patches" exactly means.The
documentation said:
Trivial patches must qualify for one of the following rules:
Spelling fixes in documentation
//Understand
Spelling fixes which could break grep(1)
//Is there any wrong spelling won't break grep(1)?
Warning fixes (cluttering with useless warnings is bad)
//Understand
Comp...
| Jul 13, 2:50 pm 2007 |
| Jesper Juhl | Re: Ask for help, about the trivial patches.
Note: my explanations below are based on how I understand these
things, but I'm not the trivial patch monkey nor did I help create
these guidelines, so I'm in no way authoritative on the subject.
If you are unclear of the meaning of the word "trivial", then take a
Hmm, trying to think of examples and all I can think of is stuff like
"its" & "it's" - quite different meaning, very similar spelling.
A simple and obviously correct fix for a memory leak.
A simple and obviously correct fix for a NU...
| Jul 13, 4:54 pm 2007 |
| Bodo Eggert | [PATCH 0/3][try 1] init: enable system-on-initramfs
I toyed with setting up a diskless system in initramfs. In the process, I
came across some things:
1) There is no way to have the kernel not mount a filesystem,
unless you use /init or rdinit=.
1a) In the process of writing these patches, I found prepare_namespace not to
be called if /init is present. prepare_namespace will call
security_sb_post_mountroot after mounting the root fs. I did not yet see
a way to call this from /init, and grepping kinit for "security" did not
he...
| Jul 13, 2:56 pm 2007 |
| H. Peter Anvin | Re: [PATCH 0/3][try 1] init: enable system-on-initramfs
That's pretty hideous. There shouldn't be a need for doing that.
rdev, unfortunately, isn't dead -- it lives on in the form of
/proc/sys/kernel/real-root-dev, as I found out doing the klibc set.
-hpa
-
| Jul 13, 3:47 pm 2007 |
| Bodo Eggert | Re: [PATCH 0/3][try 1] init: enable system-on-initramfs
rdinit is supposed to do a different job from /sbin/init, therefore it
will not do the security callbacks the original code would do.
It just missed it's own funeral:
"Obsolete root change mechanism
------------------------------
The following mechanism was used before the introduction of pivot_root.
Current kernels still support it, but you should _not_ rely on its
continued availability." (Documentation/initrd.txt)
I don't insist on changing the default, it was just a logical step ...
| Jul 13, 6:37 pm 2007 |
| previous day | today | next day |
|---|---|---|
| July 12, 2007 | July 13, 2007 | July 14, 2007 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Eric Sandeen | Re: [RFC] Heads up on sys_fallocate() |
| Rafael J. Wysocki | 2.6.27-rc4-git1: Reported regressions from 2.6.26 |
| Chuck Ebbert | Why do so many machines need "noapic"? |
git: | |
| Corey Minyard | [PATCH 3/3] Convert the UDP hash lock to RCU |
| Natalie Protasevich | [BUG] New Kernel Bugs |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
