Re: Exclude X86_MPPARSE when either ACPI or SFI is present

2012-10-24 Thread Chad Williamson
Bin, Patches submitted to this list should appear in the body of the email, not as attachments. Read Documentation/SubmittingPatches and check out git-send-email. Also, the relevant maintainers and more specific lists should be CC'd (lest your patch go unnoticed by those directly interested). Run

[PATCH] Staging: silicom: remove code requiring an old LINUX_VERSION_CODE

2012-10-28 Thread Chad Williamson
Remove all code and associated preprocessor logic dependent on an old LINUX_VERSION_CODE since such code is dead for an in-kernel driver. Signed-off-by: Chad Williamson --- drivers/staging/silicom/bp_mod.c | 207 + drivers/staging/silicom/bypasslib/bplibk.h

[PATCH 0/3] Staging: silicom: EXPORT_SYMBOL cleanup

2013-06-16 Thread Chad Williamson
This patchset cleans up the EXPORT_SYMBOL calls in staging/silicom by placing the exports immediately below the definitions they refer to (as is the convention) and removing the no-longer-useful EXPORT_SYMBOL_NOVERS macro. Chad Williamson (3): Staging: silicom: move symbol exports beneath

[PATCH 1/3] Staging: silicom: move symbol exports beneath definitions in bpctl_mod.c

2013-06-16 Thread Chad Williamson
Move the EXPORT_SYMBOL macros in bpctl_mod.c beneath the definitions they refer to, resolving checkpatch.pl warnings. While we're at it, use EXPORT_SYMBOL rather than EXPORT_SYMBOL_NOVERS. Signed-off-by: Chad Williamson --- drivers/staging/silicom/bpctl_mod.c

[PATCH 3/3] Staging: silicom: remove the EXPORT_SYMBOL_NOVERS macro

2013-06-16 Thread Chad Williamson
Since all references to EXPORT_SYMBOL_NOVERS have been removed, we can remove its definition from bp_mod.h and bypasslib/bplibk.h. Signed-off-by: Chad Williamson --- drivers/staging/silicom/bp_mod.h | 2 -- drivers/staging/silicom/bypasslib/bplibk.h | 2 -- 2 files changed, 4

[PATCH 2/3] Staging: silicom: move symbol exports beneath definitions in bypass.c

2013-06-16 Thread Chad Williamson
Move the EXPORT_SYMBOL macros in bypass.c beneath the definitions they refer to, resolving checkpatch.pl warnings. While we're at it, use EXPORT_SYMBOL rather than EXPORT_SYMBOL_NOVERS. Signed-off-by: Chad Williamson --- drivers/staging/silicom/bypasslib/bypass.c

[PATCH 4/4] Staging: silicom: move more assignments out of if conditions

2013-06-17 Thread Chad Williamson
Remove more assignments from if-statement conditions in bpctl_mod.c, resolving checkpatch.pl errors. Those that remain need more attention than I'm presently prepared to give them. Signed-off-by: Chad Williamson --- drivers/staging/silicom/bpctl_mod.c

[PATCH 2/4] Staging: silicom: whitespace fixes in bpctl_mod.c

2013-06-17 Thread Chad Williamson
Two trivial whitespace fixes in bpctl_mod.c for the sake of checkpatch.pl happiness, etc. Signed-off-by: Chad Williamson --- drivers/staging/silicom/bpctl_mod.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/silicom/bpctl_mod.c b/drivers/staging

[PATCH 0/4] Staging: silicom: coding style cleanup

2013-06-17 Thread Chad Williamson
More coding style cleanup in bpctl_mod.c, resolving many checkpatch.pl warnings and errors. I've skipped a number of issues in functions that are going to need to be split up/rewritten anyway, etc. Tearing out the new typedefs is next on my todo list... Chad Williamson (4): Staging: si

[PATCH 3/4] Staging: silicom: move assignments out of if conditions

2013-06-17 Thread Chad Williamson
Remove a bunch of assignments from if-statement conditions in bpctl_mod.c, resolving checkpatch.pl errors. (This isn't all of them, but the patch is getting rather long...) Signed-off-by: Chad Williamson --- drivers/staging/silicom/bpctl_mod.c | 54 +++-- 1

[PATCH 1/4] Staging: silicom: remove unnecessary braces in bpctl_mod.c

2013-06-17 Thread Chad Williamson
Remove unnecessary braces in bpctl_mod.c, resolving checkpatch.pl warnings. Signed-off-by: Chad Williamson --- drivers/staging/silicom/bpctl_mod.c | 58 +++-- 1 file changed, 23 insertions(+), 35 deletions(-) diff --git a/drivers/staging/silicom/bpctl_mod.c b

[PATCH 0/6] Staging: silicom: Remove all typedefs from bpctl_mod.c

2013-06-23 Thread Chad Williamson
More coding style cleanup on bpctl_mod.c in the form of a few typedef exorcisms, one of which is a little long (let me know if you'd like me to split it up into multiple patches...). Chad Williamson (6): Staging: silicom: remove bp_media_type enum typedef Staging: silicom: capitalize l

[PATCH 1/6] Staging: silicom: remove bp_media_type enum typedef

2013-06-23 Thread Chad Williamson
Remove the typedef for enum bp_media_type from bpctl_mod.c and change its one use accordingly, resolving a checkpatch.pl warning. Signed-off-by: Chad Williamson --- drivers/staging/silicom/bpctl_mod.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging

[PATCH 2/6] Staging: silicom: capitalize labels in the bp_media_type enum

2013-06-23 Thread Chad Williamson
Capitalize the names of the media types in enum bp_media_type in bpctl_mod.c, as is the preffered style. Signed-off-by: Chad Williamson --- drivers/staging/silicom/bpctl_mod.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/drivers

[PATCH 5/6] Staging: silicom: remove the typedef for bpmod_info_t

2013-06-23 Thread Chad Williamson
Remove the bpmod_info_t typedef from bpctl_mod.c, replacing it with struct bpmod_info. Signed-off-by: Chad Williamson --- drivers/staging/silicom/bpctl_mod.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/silicom/bpctl_mod.c b/drivers/staging

[PATCH 4/6] Staging: silicom: remove the board_t typedef in bpctl_mod.c

2013-06-23 Thread Chad Williamson
Replace the board_t enum typdef with struct board_type (_type for consistency with media_type, above), resolving a checkpatch.pl warning. (As far as I can tell, this isn't used anywhere.) Signed-off-by: Chad Williamson --- drivers/staging/silicom/bpctl_mod.c | 4 ++-- 1 file chang

[PATCH 6/6] Staging: silicom: remove typedef for dev_desc_t

2013-06-23 Thread Chad Williamson
Remove the dev_desc_t typedef for the dev_desc struct in bpctl_mod.c, resolving a checkpatch.pl warning. In fact, we can use an anonymous struct, since it's only used in the single dev_desc array of device descriptions, whose definition follows immediately. Signed-off-by: Chad Willi

[PATCH v2 5/6] Staging: silicom: remove the typedef for bpmod_info_t

2013-06-25 Thread Chad Williamson
Remove the bpmod_info_t typedef from bpctl_mod.c, replacing it with struct bpmod_info. Signed-off-by: Chad Williamson --- v2: rebased onto latest master in linux-next --- drivers/staging/silicom/bpctl_mod.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers

[PATCH v2 6/6] Staging: silicom: remove typedef for dev_desc_t

2013-06-25 Thread Chad Williamson
Remove the dev_desc_t typedef for the dev_desc struct in bpctl_mod.c, resolving a checkpatch.pl warning. In fact, we can use an anonymous struct, since it's only used in the single dev_desc array of device descriptions, whose definition follows immediately. Signed-off-by: Chad Williamson -

[PATCH 0/5] staging: silicom: coding style fixes for bp_proc.c

2012-10-15 Thread Chad Williamson
This patch set corrects many of the coding style issues detected by checkpatch.pl in bp_proc.c. Chad Williamson (5): staging: silicom: fix whitespace in bp_proc.c staging: silicom: fix C99 comments in bp_proc.c staging: silicom: remove parentheses from return statements in bg_proc.c

[PATCH 1/5] staging: silicom: fix whitespace in bp_proc.c

2012-10-15 Thread Chad Williamson
Remove superfluous spaces in bp_proc.c to resolve checkpatch.pl errors. Signed-off-by: Chad Williamson --- drivers/staging/silicom/bp_proc.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/silicom/bp_proc.c b/drivers/staging/silicom/bp_proc.c

[PATCH 2/5] staging: silicom: fix C99 comments in bp_proc.c

2012-10-15 Thread Chad Williamson
Fix C99 // comments in bp_proc.c to resolve checkpatch.pl errors. Signed-off-by: Chad Williamson --- drivers/staging/silicom/bp_proc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/silicom/bp_proc.c b/drivers/staging/silicom/bp_proc.c index f7b4699

[PATCH 3/5] staging: silicom: remove parentheses from return statements in bg_proc.c

2012-10-15 Thread Chad Williamson
Remove unnecessary parentheses from return statements in bg_proc.c to resolve checkpatch.pl errors. Signed-off-by: Chad Williamson --- drivers/staging/silicom/bp_proc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/silicom/bp_proc.c b/drivers/staging

[PATCH 4/5] staging: silicom: remove unnecessary braces in bp_proc.c

2012-10-15 Thread Chad Williamson
Remove unnecessary braces from single statement blocks in bp_proc.c, resolving checkpatch.pl warnings. Signed-off-by: Chad Williamson --- drivers/staging/silicom/bp_proc.c | 58 +-- 1 file changed, 19 insertions(+), 39 deletions(-) diff --git a/drivers

[PATCH 5/5] staging: silicom: fix explicit intialization of procfs_dir in bp_proc.c

2012-10-15 Thread Chad Williamson
Remove explicit intialization of static procfs_dir to NULL, resolving a checkpatch.pl error. Signed-off-by: Chad Williamson --- drivers/staging/silicom/bp_proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/silicom/bp_proc.c b/drivers/staging/silicom

[PATCH] samples: hidraw: add .gitignore file to ignore hid-example binary.

2012-10-15 Thread Chad Williamson
Git status should be clean following make allmodconfig && make. Add a .gitignore file to the samples/hidraw directory to ingore the hid-example binary produced there. Signed-off-by: Chad Williamson --- samples/hidraw/.gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644