Add a function called strtolower() to convert strings to lower case
in-place, overwriting the original string.
This seems to be a recurring requirement in the kernel that is
currently being solved by several duplicated implementations doing the
same thing.
Signed-off-by: Markus Mayer
---
includ
After introducing generic strtolower(), iscsi_initiatorname_tolower()
is no longer needed.
Signed-off-by: Markus Mayer
---
drivers/target/iscsi/iscsi_target_nego.c | 17 +
1 file changed, 1 insertion(+), 16 deletions(-)
diff --git a/drivers/target/iscsi/iscsi_target_nego.c
b/dr
This series introduces a new generic function strtolower(), which
converts strings to lowercase in-place, overwriting the original
string. This kind of functionality is needed in several places in the
kernel. Right now, everybody seems to be implementing their own copy of
this function. So, we repl
> -Original Message-
> From: Johannes Thumshirn [mailto:jthumsh...@suse.de]
> Sent: Tuesday, June 28, 2016 2:54 AM
> To: Don Brace
> Cc: j...@linux.vnet.ibm.com; Viswas G; Mahesh Rajashekhara;
> h...@infradead.org; Scott Teel; Kevin Barnett; Justin Lindley; Scott Benesh;
> elli...@hpe.com;
If a Simple command is sent with a failure,
target_setup_cmd_from_cdb returns with TCM_UNSUPPORTED_SCSI_OPCODE
or TCM_INVALID_CDB_FIELD. So in the cases where target_setup_cmd_from_cdb
returns an error, we never get far enough to call target_execute_cmd to
increment simple_cmds. Since simple_cmds i
Ack. Looks good. Thanks.
Regards,
Quinn Tran
-Original Message-
From: Bruno Prémont
Date: Thursday, June 30, 2016 at 8:00 AM
To: Quinn Tran , Himanshu Madhani
, Nicholas Bellinger
Cc: Dept-Eng QLA2xxx Upstream , "James E.J.
Bottomley" , "Martin K. Petersen"
, linux-scsi ,
linu
In the receive path libfc extracts a cpu number from the ox_id in the
fiber channel header and uses that to do a per_cpu_ptr conversion.
If, for some reason, a frame is received with an invalid ox_id,
per_cpu_ptr will return an invalid pointer and the libfc receive path
will panic the system trying
In qla24xx_process_response_queue() rsp->msix->cpuid may trigger NULL
pointer dereference when rsp->msix is NULL:
[5.622457] NULL pointer dereference at 0050
[5.622457] IP: []
qla24xx_process_response_queue+0x44/0x4b0
[5.622457] PGD 0
[5.622457] Oops: [#1] SMP
[
8 matches
Mail list logo