[PATCH] staging: octeon: Add prevent NAPI from scheduling IN-REPLY-TO:

2012-08-21 Thread Marina Makienko
Please ignore previous message. -- 1.7.7 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH] staging: octeon: Add prevent NAPI from scheduling IN-REPLY-TO:

2012-08-21 Thread Marina Makienko
ff-by: Marina Makienko --- drivers/staging/octeon/ethernet-rx.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/staging/octeon/ethernet-rx.c b/drivers/staging/octeon/ethernet-rx.c index 34afc16..e5b62fc 100644 --- a/drivers/staging/octeon/ethernet-rx.c +++ b/dr

[PATCH] staging: octeon: Add prevent NAPI from scheduling

2012-08-20 Thread Marina Makienko
Code inspection shows that this can only be triggered by calling napi_enable() without napi_disable(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Marina Makienko --- drivers/staging/octeon/ethernet-rx.c |1 + 1 files changed, 1 insertions(+), 0 deletions

[PATCH] net: Checking usb_register() return value

2012-08-14 Thread Marina Makienko
ath6kl_usb_init() does not check usb_register() return value. As a result it may incorrectly report success of driver initialization. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Marina Makienko --- drivers/net/wireless/ath/ath6kl/usb.c |6 +- 1 files

[PATCH] target: Add blk_put_request()

2012-08-10 Thread Marina Makienko
(linuxtesting.org). Signed-off-by: Marina Makienko --- There is no problems in drivers/target/target_core_pscsi.c Please ignore the previous message. -- 1.7.7 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

[PATCH] target: Add blk_put_request()

2012-08-10 Thread Marina Makienko
(linuxtesting.org). Signed-off-by: Marina Makienko --- drivers/target/target_core_pscsi.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/target/target_core_pscsi.c b/drivers/target/target_core_pscsi.c index 6e32ff6..c048ede 100644 --- a/drivers/target/target_core_pscsi.c

[PATCH 06/13] ide: Potential null pointer dereference in generic_ide_resume()

2012-08-09 Thread Marina Makienko
will wait until get request or the queue becomes dead. If something kills the queue, blk_get_request() return NULL and next operations will lead to errors. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Marina Makienko --- drivers/ide/ide-pm.c |6 ++ 1

[PATCH 07/13] ide: Potential null pointer dereference in ide_cmd_ioctl()

2012-08-09 Thread Marina Makienko
will wait until get request or the queue becomes dead. If something kills the queue, blk_get_request() return NULL and next operations will lead to errors. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Marina Makienko --- drivers/ide/ide-ioctls.c |4 1

[PATCH 03/13] ide: Potential null pointer dereference in ide_queue_pc_tail()

2012-08-09 Thread Marina Makienko
will wait until get request or the queue becomes dead. If something kills the queue, blk_get_request() return NULL and next operations will lead to errors. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Marina Makienko --- drivers/ide/ide-atapi.c |6 ++ 1

[PATCH 08/13] ide: Potential null pointer dereference in ide_devset_execute()

2012-08-09 Thread Marina Makienko
will wait until get request or the queue becomes dead. If something kills the queue, blk_get_request() return NULL and next operations will lead to errors. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Marina Makienko --- drivers/ide/ide-devsets.c |2 ++ 1

[PATCH 04/13] ide: Potential null pointer dereference in ide_cdrom_reset()

2012-08-09 Thread Marina Makienko
will wait until get request or the queue becomes dead. If something kills the queue, blk_get_request() return NULL and next operations will lead to errors. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Marina Makienko --- drivers/ide/ide-cd_ioctl.c |4 1

[PATCH 09/13] ide: Potential null pointer dereference in set_multcount()

2012-08-09 Thread Marina Makienko
will wait until get request or the queue becomes dead. If something kills the queue, blk_get_request() return NULL and next operations will lead to errors. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Marina Makienko --- drivers/ide/ide-disk.c |4 1

[PATCH 10/13] ide: Potential null pointer dereference in ide_cd_queue_pc()

2012-08-09 Thread Marina Makienko
will wait until get request or the queue becomes dead. If something kills the queue, blk_get_request() return NULL and next operations will lead to errors. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Marina Makienko --- drivers/ide/ide-cd.c |3 +++ 1

[PATCH 13/13] scsi: Potential null pointer dereference in scsi_eh_lock_door()

2012-08-09 Thread Marina Makienko
will wait until get request or the queue becomes dead. If something kills the queue, blk_get_request() return NULL and next operations will lead to errors. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Marina Makienko --- drivers/scsi/scsi_error.c |3 +++ 1

[PATCH 12/13] ide: Potential null pointer dereference in issue_park_cmd()

2012-08-09 Thread Marina Makienko
will wait until get request or the queue becomes dead. If something kills the queue, blk_get_request() return NULL and next operations will lead to errors. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Marina Makienko --- drivers/ide/ide-park.c |2 ++ 1

[PATCH 11/13] ide: Potential null pointer dereference in idetape_queue_rw_tail()

2012-08-09 Thread Marina Makienko
will wait until get request or the queue becomes dead. If something kills the queue, blk_get_request() return NULL and next operations will lead to errors. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Marina Makienko --- drivers/ide/ide-tape.c |2 ++ 1

[PATCH 05/13] ide: Potential null pointer dereference in ide_raw_taskfile()

2012-08-09 Thread Marina Makienko
will wait until get request or the queue becomes dead. If something kills the queue, blk_get_request() return NULL and next operations will lead to errors. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Marina Makienko --- drivers/ide/ide-taskfile.c |4 1

[PATCH 01/13] block/paride: Potential null pointer dereference in pd_special_command()

2012-08-09 Thread Marina Makienko
will wait until get request or the queue becomes dead. If something kills the queue, blk_get_request() return NULL and next operations will lead to errors. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Marina Makienko --- drivers/block/paride/pd.c |3 +++ 1

[PATCH 02/13] block: Potential null pointer dereference in pkt_generic_packet()

2012-08-09 Thread Marina Makienko
will wait until get request or the queue becomes dead. If something kills the queue, blk_get_request() return NULL and next operations will lead to errors. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Marina Makienko --- drivers/block/pktcdvd.c |3 +++ 1

[PATCH] block: Potential null pointer dereference in pkt_generic_packet()

2012-08-09 Thread Marina Makienko
The function blk_get_request() can return NULL. It can lead to further error in pkt_generic_packet(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Marina Makienko --- drivers/block/pktcdvd.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff

[PATCH] blk: All obtained blk requests should be put after all

2012-08-08 Thread Marina Makienko
(linuxtesting.org). Signed-off-by: Marina Makienko --- drivers/block/paride/pd.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/block/paride/pd.c b/drivers/block/paride/pd.c index 831e3ac..528a9a5 100644 --- a/drivers/block/paride/pd.c +++ b/drivers/block/paride/pd.c