24 Aug, 2011
5 commits
-
This is a patch to the smilsub.c file that fixed up comment, braces,
whitespaces error found by the checkpatch.pl tools.Signed-off-by: Ruslan Pisarev
Signed-off-by: Greg Kroah-Hartman -
Remove dead (comment) code in drivers/staging/keucr/smilsub.c
Signed-off-by: Ruslan Pisarev
Signed-off-by: Greg Kroah-Hartman -
Fixed macros in scsiglue.c
Signed-off-by: Ruslan Pisarev
Signed-off-by: Greg Kroah-Hartman -
Fixed brace style in smil.h
Signed-off-by: Ruslan Pisarev
Signed-off-by: Greg Kroah-Hartman -
I fixed whitespace, brace style and commetnt in smscsi.c
Signed-off-by: Ruslan Pisarev
Signed-off-by: Greg Kroah-Hartman
09 Jul, 2011
1 commit
-
Remove ENE UB6250 MS card codes from keucr.
Signed-off-by: Cho, Yu-Chen
Signed-off-by: Greg Kroah-Hartman
06 Jul, 2011
1 commit
-
Fixed a brace coding style warning.
Signed-off-by: Zac Storer
Signed-off-by: Greg Kroah-Hartman
18 May, 2011
7 commits
-
fix keucr transport.c other coding style but not from checkpatch.pl.
replace ternary conditional "?:" with if/elseSigned-off-by: Cho, Yu-Chen
Signed-off-by: Greg Kroah-Hartman -
fix keucr transport.c transport.h coding style
Signed-off-by: Cho, Yu-Chen
Signed-off-by: Greg Kroah-Hartman -
fix keucr smil.h coding style
Signed-off-by: Cho, Yu-Chen
Signed-off-by: Greg Kroah-Hartman -
fix keucr smilecc.c coding style
Signed-off-by: Cho, Yu-Chen
Signed-off-by: Greg Kroah-Hartman -
fix keucr scsiglue.c coding style
Signed-off-by: Cho, Yu-Chen
Signed-off-by: Greg Kroah-Hartman -
Fix keucr msscsi.c coding style.
Remove externs ,and move MS_SCSIIrp to end,
because there are not necessary to add extern for MS_SCSIIrp function.Signed-off-by: Cho, Yu-Chen
Signed-off-by: Greg Kroah-Hartman -
fix keucr ms.c and ms.h coding style
Signed-off-by: Cho, Yu-Chen
Signed-off-by: Greg Kroah-Hartman
11 May, 2011
3 commits
-
Don't use "SUCCESS" as a macro name. This collides with SCSI's macro
of the same name, but with a different value:drivers/staging/keucr/smcommon.h:9:9: warning: preprocessor token SUCCESS redefined
include/scsi/scsi.h:463:9: this was the original definitionSigned-off-by: Randy Dunlap
Signed-off-by: Greg Kroah-Hartman -
Eliminate sparse warnings in ms.c:
drivers/staging/keucr/ms.c:28:58: warning: right shift by bigger than source value
drivers/staging/keucr/ms.c:31:58: warning: right shift by bigger than source value
drivers/staging/keucr/ms.c:789:59: warning: cast truncates bits from constant value (ffffff7f becomes 7f)Signed-off-by: Randy Dunlap
Signed-off-by: Greg Kroah-Hartman -
Make lots of functions and data static (fixes sparse warnings).
Fix 5 functions to use ANSI format for function parameters (fixes
sparse warnings).Signed-off-by: Randy Dunlap
Signed-off-by: Greg Kroah-Hartman
21 Apr, 2011
4 commits
-
transport.c usb.c use pr_ for messages
Signed-off-by: Cho, Yu-Chen
Signed-off-by: Greg Kroah-Hartman -
smilmain.c use pr_ for messages
Signed-off-by: Cho, Yu-Chen
Signed-off-by: Greg Kroah-Hartman -
scsiglue.c use pr_ for messages
Signed-off-by: Cho, Yu-Chen
Signed-off-by: Greg Kroah-Hartman -
msscsi.c use pr_ for messages
Signed-off-by: Cho, Yu-Chen
Signed-off-by: Greg Kroah-Hartman
31 Mar, 2011
1 commit
-
Fixes generated by 'codespell' and manually reviewed.
Signed-off-by: Lucas De Marchi
15 Mar, 2011
1 commit
-
This patch was generated by the following semantic patch:
//
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
//Signed-off-by: Ilia Mirkin
Signed-off-by: Greg Kroah-Hartman
08 Mar, 2011
3 commits
-
The usb portion of this driver can now go into drivers/usb/storage.
This leaves the non-usb portion of the code still in staging.Signed-off-by: Huajun Li
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Jonathan Neuschäfer
Reviewed-by: Jack Stone
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Jonathan Neuschäfer
Signed-off-by: Greg Kroah-Hartman
01 Mar, 2011
1 commit
-
Change the custom counting functions to hweight8 and hweight16
Signed-off-by: Roel Van Nyen
Signed-off-by: Greg Kroah-Hartman
22 Jan, 2011
4 commits
-
staging: keucr: Delete use kernel strcmp() & strcpy() from TODO file
Signed-off-by: Javier Martinez Canillas
Acked-by: Dan Carpenter
Reviewed-by: Marcin Slusarz
Cc: Al Cho
Signed-off-by: Greg Kroah-Hartman -
staging: keucr: Delete StringCmp() and StringCopy custom functions
Signed-off-by: Javier Martinez Canillas
Acked-by: Dan Carpenter
Reviewed-by: Marcin Slusarz
Cc: Al Cho
Signed-off-by: Greg Kroah-Hartman -
staging: keucr: Use memcpy() instead custom StringCopy() and some style cleanups
Signed-off-by: Javier Martinez Canillas
Acked-by: Dan Carpenter
Reviewed-by: Marcin Slusarz
Cc: Al Cho
Signed-off-by: Greg Kroah-Hartman -
staging: keucr: Use memcmp() instead custom StringCmp() and some style cleanups
Signed-off-by: Javier Martinez Canillas
Acked-by: Dan Carpenter
Reviewed-by: Marcin Slusarz
Cc: Al Cho
Signed-off-by: Greg Kroah-Hartman
08 Dec, 2010
1 commit
-
This was done to handle a number of conflicts in the batman-adv
and winbond drivers properly. It also now allows us to fix up the sysfs
attributes properly that were not in the .37 release due to them being
only in this tree at the time.Signed-off-by: Greg Kroah-Hartman
30 Nov, 2010
2 commits
-
fix keucr init.c other coding style but not from checkpatch.pl.
replace ternary conditional "?:" with if/else.Signed-off-by: Al Cho
Signed-off-by: Greg Kroah-Hartman -
fix keucr init.c init.h coding style.
only fix coding style check by checkpatch.pl.Signed-off-by: Al Cho
Signed-off-by: Greg Kroah-Hartman
17 Nov, 2010
3 commits
-
Move the mid-layer's ->queuecommand() invocation from being locked
with the host lock to being unlocked to facilitate speeding up the
critical path for drivers who don't need this lock taken anyway.The patch below presents a simple SCSI host lock push-down as an
equivalent transformation. No locking or other behavior should change
with this patch. All existing bugs and locking orders are preserved.Additionally, add one parameter to queuecommand,
struct Scsi_Host *
and remove one parameter from queuecommand,
void (*done)(struct scsi_cmnd *)Scsi_Host* is a convenient pointer that most host drivers need anyway,
and 'done' is redundant to struct scsi_cmnd->scsi_done.Minimal code disturbance was attempted with this change. Most drivers
needed only two one-line modifications for their host lock push-down.Signed-off-by: Jeff Garzik
Acked-by: James Bottomley
Signed-off-by: Linus Torvalds -
Signed-off-by: Joe Perches
Signed-off-by: Greg Kroah-Hartman -
This was necessary in order to resolve some conflicts that happened
between -rc1 and -rc2 with the following files:
drivers/staging/bcm/Bcmchar.c
drivers/staging/intel_sst/intel_sst_app_interface.cAll should be resolved now.
Signed-off-by: Greg Kroah-Hartman
11 Nov, 2010
1 commit
-
There was commented out transfer_flags initialization.
And i think memset should fill entire structure, not only length of
pointer to it.This makes the driver work properly now on my hardware.
Signed-off-by: Konstantin Katuev
Signed-off-by: Greg Kroah-Hartman
10 Nov, 2010
1 commit
-
Hi,
The [vk][cmz]alloc(_node) family of functions return void pointers which
it's completely unnecessary/pointless to cast to other pointer types since
that happens implicitly.This patch removes such casts from drivers/staging/keucr/
Signed-off-by: Jesper Juhl
Signed-off-by: Greg Kroah-Hartman
29 Oct, 2010
1 commit
-
The usb tree renamed the USB storage defines to make more sense, so this
driver needs the changes as well so that things will compile properly.Signed-off-by: Greg Kroah-Hartman