[patch] pxa168fb: use resource_size()
The size calculation is not correct. It should be end - start + 1. Use resource_size() to caculate it. Signed-off-by: Dan Carpenter <error27(a)gmail.com> --- This was found by a static checker and I don't have the hardware to test it. Please review carefully. diff --git a/drivers/video/pxa168fb.c b/drivers/vi... 22 Mar 2010 09:22
[patch] mfd: off by one calculating size
I'm pretty sure that it should be + 1 here. It's an off by one, because we start counting at zero. Signed-off-by: Dan Carpenter <error27(a)gmail.com> --- Found by a static checker and untested. Please review carefully. diff --git a/drivers/mfd/timberdale.h b/drivers/mfd/timberdale.h index 8d27ffa..902c451 100... 22 Mar 2010 09:22
[patch] hdpuftrs: use resource_size()
The size caculation is wrong. It should be end - start + 1. Use resource_size() to calculate it correctly. Signed-off-by: Dan Carpenter <error27(a)gmail.com> diff --git a/drivers/misc/hdpuftrs/hdpu_nexus.c b/drivers/misc/hdpuftrs/hdpu_nexus.c index ce39fa5..bce5029 100644 --- a/drivers/misc/hdpuftrs/hdpu_nexus.... 22 Mar 2010 09:22
afs: potential null dereference
Dan Carpenter <error27(a)gmail.com> wrote: It seems clear from the surrounding code that xpermits is allowed to be NULL here. Interesting. The memcpy() won't oops due to this because if it is given a NULL pointer, it will also be given a zero count. I wonder if this means the if-statement your patch adds ... 22 Mar 2010 09:23
[PATCH] S3C RTC driver: add support for S3C64xx
Add support for the S3C64xx SoC to the generic S3C RTC driver. Signed-off-by: Maurus Cuelenaere <mcuelenaere(a)gmail.com> Acked-By: Ben Dooks <ben-linux(a)fluff.org> --- This was sent to rtc-linux before (12/01/2010), but no response was received yet. See http://groups.google.com/group/rtc-linux/browse_thread/thr... 22 Mar 2010 08:15
[PATCH 1/2] cgroups: read-write lock CLONE_THREAD forking per threadgroup
On 01/17, Ben Blum wrote: On Tue, Jan 05, 2010 at 07:53:30PM +0100, Oleg Nesterov wrote: I don't understand how this can close the race with de_thread(). ... the race with the sighand is handled in the next patch, in attach_proc, not in this function. OK. I didn't verify this, the patch... 22 Mar 2010 07:09
[PATCH] iio: Function iio_get_new_idr_val() return negative value if fails.
Function iio_get_new_idr_val() return negative value if fails. So, only error when ret < 0 in iio_device_register_eventset(). Signed-off-by: Sonic Zhang <sonic.adi(a)gmail.com> --- drivers/staging/iio/industrialio-core.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/stagin... 22 Mar 2010 07:09
Hwmon: f71882fg: use strict_stro(l|ul) instead of simple_strto$1
Ack. Acked-by: Hans de Goede <hdegoede(a)redhat.com> On 03/21/2010 04:37 PM, Giel van Schijndel wrote: Use the strict_strol and strict_stroul functions instead of simple_strol and simple_stroul respectively in sysfs functions. Signed-off-by: Giel van Schijndel<me(a)mortis.eu> --- drivers/hwmon/f... 22 Mar 2010 08:15
[PATCH resend] x86: hpet: work around wrong number of timers in ID register
Not every HPET implementation gets the index of the last timer correct; if this field is erroneously set to the timer count, the kernel will allocate one additional timer that does not actually exist. To work around this, create a helper function to read the number of timers and to check that the last timer actua... 22 Mar 2010 06:03
[PATCH] PCI quirks: RS780/RS880: work around missing MSI initialization
AMD says in section 2.5.4 (GFX MSI Enable) of #43291 (AMD 780G Family Register Programming Requirements): The SBIOS must enable internal graphics MSI capability in GCCFG by setting the following: NBCFG.NB_CNTL.STRAP_MSI_ENABLE='1' Quite a few BIOS writers misinterpret this sentence and think that enabling ... 22 Mar 2010 06:03