[patch v2] pcrypt: handle crypto_get_attr_type() errors
I was concerned about the error handling for crypto_get_attr_type() in pcrypt_alloc_aead(). Steffen Klassert pointed out that we could simply avoid calling crypto_get_attr_type() if we passed the type and mask as a parameter. Signed-off-by: Dan Carpenter <error27(a)gmail.com> diff --git a/crypto/pcrypt.c b/cr... 22 Mar 2010 10:30
dlm: cleanup remove unused code
On Mon, Mar 22, 2010 at 03:03:54PM +0300, Dan Carpenter wrote: Smatch complains because "lkb" is never NULL. Looking at it, the original code actually adds the new element to the end of the list fine, so we can just get rid of the if condition. This code is four years old and no one has complained so it m... 22 Mar 2010 10:30
[PATCH] Fix key f70f4b50 not in .data in thermal_sys
Nope. Sorry, I didn't test carefully. Oh, Monday... Proposed patch doesn't fix the problem. The given below patch does. Note that thermal_zone_bind_cooling_device part was proposed by Wolfram Sang here: https://patchwork.kernel.org/patch/87359/ So, Wolfram, we need to cooperate to solve the problem. Ini... 22 Mar 2010 10:30
[PATCH] Fix key f70f4b50 not in .data in thermal_sys
Initialize sysfs attributes before device_create_file call. Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky(a)gmail.com> --- diff --git a/drivers/thermal/thermal_sys.c b/drivers/thermal/thermal_sys.c index 5066de5..a76a6ff 100644 --- a/drivers/thermal/thermal_sys.c +++ b/drivers/thermal/thermal_sys.c @@ ... 22 Mar 2010 09:23
[PATCH] AFS: Potential null dereference
From: Dan Carpenter <error27(a)gmail.com> It seems clear from the surrounding code that xpermits is allowed to be NULL here. Signed-off-by: Dan Carpenter <error27(a)gmail.com> Signed-off-by: David Howells <dhowells(a)redhat.com> --- fs/afs/security.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-... 22 Mar 2010 09:23
mfd: off by one calculating size
On 03/22/2010 01:12 PM, Dan Carpenter wrote: I'm pretty sure that it should be + 1 here. It's an off by one, because we start counting at zero. You are completely right, fortunately we don't access the last register. Signed-off-by: Dan Carpenter<error27(a)gmail.com> Acked-by: Richard R�jfors <richard.ro... 25 Mar 2010 07:59
pxa168fb: use resource_size()
On Mon, Mar 22, 2010 at 8:10 PM, Dan Carpenter <error27(a)gmail.com> wrote: 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> Applied to 'fix'. -- To unsubscribe from this list: send the line "unsubscri... 22 Mar 2010 09:22
staging/iio/light: fix dangling pointers
On 03/20/10 14:13, Wolfram Sang wrote: Fix I2C-drivers which missed setting clientdata to NULL before freeing the structure it points to. Also fix drivers which do this _after_ the structure was freed already. Signed-off-by: Wolfram Sang <w.sang(a)pengutronix.de> Cc: Greg Kroah-Hartman <gregkh(a)suse.de>... 22 Mar 2010 09:22
staging/iio/adc: fix dangling pointers
On 03/20/10 14:13, Wolfram Sang wrote: Fix I2C-drivers which missed setting clientdata to NULL before freeing the structure it points to. Also fix drivers which do this _after_ the structure was freed already. Signed-off-by: Wolfram Sang <w.sang(a)pengutronix.de> Cc: Greg Kroah-Hartman <gregkh(a)suse.de>... 22 Mar 2010 09:22
[PATCH 2/2] HID:HID-NTRIG update ntrig_event function
From: micki <micki(a)n-trig.com> This patch is a part of 2 patches sumbitted by N-trig to hid-ntrig driver. The driver send events to a user space application which will translate the events (ignore ghost events, calcuate real X,Y coorindate, add palm). Fake Finger events used by the user space applicaition to anay... 22 Mar 2010 09:22