OS_mem_token_tlen() is same return value as OS_mem_token_len().
That means packet count is always 1. So OS_mem_token_tlen()
must be total length of packet and OS_mem_token_len() has a
length of fragmented packet. And then it can count total
count of fragmented packets properly.
And OS_mem_token_ne
OS_mem_token_ interfaces are useless, so just replaced with
sk_buff related fuctions.
Signed-off-by: Daeseok Youn
---
V2: rebased on changes in the first one.
drivers/staging/cxt1e1/musycc.c | 45 +-
drivers/staging/cxt1e1/pmcc4_drv.c | 10 ++--
dr
Hi,
these are my cleanup patches for the
drivers/staging/bcm/InterfaceRx.c
file. They contain:
* Line shortenings (as usual)
* Outsourcing code chunks from long functions
Please note: As I do not have the appropriate hardware, I am not able to test
these changes. I compiled them at
Signed-off-by: Matthias Beyer
---
drivers/staging/bcm/InterfaceRx.c | 87 ---
1 file changed, 62 insertions(+), 25 deletions(-)
diff --git a/drivers/staging/bcm/InterfaceRx.c
b/drivers/staging/bcm/InterfaceRx.c
index 1100817..9d6e1d0 100644
--- a/drivers/stag
This patch outsources a chunk of code into a function.
Signed-off-by: Matthias Beyer
---
drivers/staging/bcm/InterfaceRx.c | 129 +-
1 file changed, 71 insertions(+), 58 deletions(-)
diff --git a/drivers/staging/bcm/InterfaceRx.c
b/drivers/staging/bcm/Interf
Signed-off-by: Matthias Beyer
---
drivers/staging/bcm/InterfaceRx.c | 37 +++--
1 file changed, 23 insertions(+), 14 deletions(-)
diff --git a/drivers/staging/bcm/InterfaceRx.c
b/drivers/staging/bcm/InterfaceRx.c
index 9d6e1d0..47b6de7 100644
--- a/drivers/stagin
This patch removes the `process_done` variable from both
format_eth_hdr_to_stack() and read_bulk_callback() (where it is
declared), as it is not used anywhere (it is set in the
format_eth_hdr_to_stack() function, but afterwards not used).
Signed-off-by: Matthias Beyer
---
drivers/staging/bcm/Int
‘strict_strtol’ is deprecated. Use kstrtol instead. Fixes the following
build error:
drivers/staging/emxx_udc/emxx_udc.c:3288:3: error: implicit declaration of
function ‘strict_strtol’
Signed-off-by: Sachin Kamat
---
Compile tested.
---
drivers/staging/emxx_udc/emxx_udc.c |2 +-
1 file chan
Hi,
these are my patches for the
drivers/staging/bcm/InterfaceTx.c
file. They contain:
* Line length and whitespace cleanup
* Outsourcing a chunk of code from a long function
Please note: As I do not have the appropriate hardware, I'm not able to test
these patches. I compiled them
This patch outsources a chunk of code into an own function and refactors
the variable names inside the new function.
Signed-off-by: Matthias Beyer
---
drivers/staging/bcm/InterfaceTx.c | 165 +++---
1 file changed, 84 insertions(+), 81 deletions(-)
diff --git a/d
Signed-off-by: Matthias Beyer
---
drivers/staging/bcm/InterfaceTx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/bcm/InterfaceTx.c
b/drivers/staging/bcm/InterfaceTx.c
index 89e9e79..9b3f64b 100644
--- a/drivers/staging/bcm/InterfaceTx.c
+++ b/drivers/stagin
Signed-off-by: Matthias Beyer
---
drivers/staging/bcm/InterfaceTx.c | 86 +++
1 file changed, 61 insertions(+), 25 deletions(-)
diff --git a/drivers/staging/bcm/InterfaceTx.c
b/drivers/staging/bcm/InterfaceTx.c
index ea7707b..b1f2899 100644
--- a/drivers/stag
Signed-off-by: Matthias Beyer
---
drivers/staging/bcm/LeakyBucket.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/bcm/LeakyBucket.c
b/drivers/staging/bcm/LeakyBucket.c
index f2852c9..8c4030d 100644
--- a/drivers/staging/bcm/LeakyBucket.c
+++ b/drivers/staging/bcm/LeakyBuck
Signed-off-by: Matthias Beyer
---
drivers/staging/bcm/LeakyBucket.c | 27 +++
1 file changed, 15 insertions(+), 12 deletions(-)
diff --git a/drivers/staging/bcm/LeakyBucket.c
b/drivers/staging/bcm/LeakyBucket.c
index f95b067..151f620 100644
--- a/drivers/staging/bcm/Leak
Signed-off-by: Matthias Beyer
---
drivers/staging/bcm/LeakyBucket.c | 76 ---
1 file changed, 40 insertions(+), 36 deletions(-)
diff --git a/drivers/staging/bcm/LeakyBucket.c
b/drivers/staging/bcm/LeakyBucket.c
index 0d1a6e5..f2852c9 100644
--- a/drivers/stag
Signed-off-by: Matthias Beyer
---
drivers/staging/bcm/LeakyBucket.c | 153 ++
1 file changed, 104 insertions(+), 49 deletions(-)
diff --git a/drivers/staging/bcm/LeakyBucket.c
b/drivers/staging/bcm/LeakyBucket.c
index 151f620..1151c83 100644
--- a/drivers/sta
Signed-off-by: Matthias Beyer
---
drivers/staging/bcm/LeakyBucket.c | 146 +++---
1 file changed, 74 insertions(+), 72 deletions(-)
diff --git a/drivers/staging/bcm/LeakyBucket.c
b/drivers/staging/bcm/LeakyBucket.c
index 1151c83..0d1a6e5 100644
--- a/drivers/stag
Hi,
these are my cleanup patches for the
drivers/staging/bcm/LeakyBucket.c
file. They contain:
* Replacing member accessing by variables, for simplifying code
* Line lengths shortened
* Outsourcing code chunks from long functions
Please note: As I do not have the appropriate ha
> I'm helping Greg do a bit of cleanup in the staging tree. I noticed
> that
> nobody seems to have worked towards moving line6 out of staging in over
> a year. Are there any plans to clean it up and move it out soon?
> Because
> otherwise we're going to have to delete the d
rename camel case function ReadWord() to ced_read_word()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/usb1401.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/ced1401/usb1401.c
b/drivers/staging/ced1401/usb1401.c
index b34e840..22e0c33 10064
rename camel case function CanAcceptIoRequests() to can_accept_io_requests()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/usb1401.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/staging/ced1401/usb1401.c
b/drivers/staging/ced1401/usb1401.
rename camel case function FlushInBuff() to ced_flush_in_buff()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/ced1401/ced_ioc.c
b/drivers/staging/ced1401/ced_ioc.c
index 8223a88..
rename camel case function CopyUserSpace() to ced_copy_user_space()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/usb1401.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/ced1401/usb1401.c
b/drivers/staging/ced1401/usb1401.c
index 2ad35
rename camel case function InSelfTest() to ced_in_self_test()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/ced1401/ced_ioc.c
b/drivers/staging/ced1401/ced_ioc.c
index 6faf1dc..cb49
rename camel case function StageChunk() to ced_stage_chunk()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/usb1401.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/ced1401/usb1401.c
b/drivers/staging/ced1401/usb1401.c
index 8897ddd..8aa
rename camel case function ReadChar() to ced_read_char()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/usb1401.c | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/drivers/staging/ced1401/usb1401.c
b/drivers/staging/ced1401/usb1401.c
index 6af8
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |2 +-
drivers/staging/ced1401/usb1401.h |1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/ced1401/ced_ioc.c
b/drivers/staging/ced1401/ced_ioc.c
index 1131443..d3791fc 100644
--- a/drivers/
rename camel case function SendString() to ced_send_string()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |2 +-
drivers/staging/ced1401/usb1401.c |2 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/driver
rename camel case function LineCount() to ced_line_count()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |4 ++--
drivers/staging/ced1401/usb1401.c |2 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/driver
rename camel case function Allowi() to ced_allowi()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c | 16
drivers/staging/ced1401/usb1401.c | 10 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 14 insertions(+), 14 deletions(-)
diff
rename camel case function Is1401() to ced_is_1401()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c | 12 ++--
drivers/staging/ced1401/usb1401.h |2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/staging/ced1401/ced_ioc.c
b/drivers/stag
rename camel case function ReadHuff() to ced_read_huff()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/usb1401.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/ced1401/usb1401.c
b/drivers/staging/ced1401/usb1401.c
index 22e0c33..0eb9673 1
rename camel case function Handle1401Esc() to ced_handle_esc()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/usb1401.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/ced1401/usb1401.c
b/drivers/staging/ced1401/usb1401.c
index 1fabdfa..2e2a1
rename camel case function SetArea() to ced_set_area()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/ced1401/ced_ioc.c
b/drivers/staging/ced1401/ced_ioc.c
index df35b6d..287b255 100
rename camel case function ReadWriteMem() to ced_read_write_mem()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |2 +-
drivers/staging/ced1401/usb1401.c | 16
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 10 insertions(+), 10 deletions(-)
rename camel case function FlushOutBuff() to ced_flush_out_buff()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/ced1401/ced_ioc.c
b/drivers/staging/ced1401/ced_ioc.c
index 5fb3ae0
rename camel case function SendChars() to ced_send_chars()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c | 12 ++--
drivers/staging/ced1401/usb1401.c |4 ++--
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 9 insertions(+), 9 deletions(-)
diff --gi
rename camel case function Reset1401() to ced_reset()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |4 ++--
drivers/staging/ced1401/usb1401.c |2 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/sta
rename camel case function ReadDMAInfo() to ced_read_dma_info()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/usb1401.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/ced1401/usb1401.c
b/drivers/staging/ced1401/usb1401.c
index 0eb9673..1f
rename camel case function TestEvent() to ced_test_event()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |4 ++--
drivers/staging/ced1401/usb1401.c |2 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/driver
rename camel case function SetEvent() to ced_set_event()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |4 ++--
drivers/staging/ced1401/usb1401.c |2 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/
rename camel case function GetTransfer() to ced_get_transfer()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |4 ++--
drivers/staging/ced1401/usb1401.c |2 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dr
rename camel case function GetOutBufSpace() to ced_get_out_buf_space()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |4 ++--
drivers/staging/ced1401/usb1401.c |2 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --
rename camel case function SetTransfer() to ced_set_transfer()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |6 +++---
drivers/staging/ced1401/usb1401.c |2 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/
rename camel case function ClearArea() to ced_clear_area()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |8
drivers/staging/ced1401/usb1401.c |2 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/dr
rename camel case function Get1401State() to ced_get_state()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c | 24
drivers/staging/ced1401/usb1401.h |2 +-
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/drivers/staging/ced1401/ced
This patchset renames all camel case and Hungarian notation
names in ced1401. It fixes as well some checkpatch warnings
and errors.
I've not modified any logic in the driver.
Please note that I've tryed to not add any checkpatch warning/error.
If some patches give warnings or errors they were prese
rename camel case function PutChars() to ced_put_chars()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/ced1401/ced_ioc.c
b/drivers/staging/ced1401/ced_ioc.c
index b99434b..be0350b 1
rename camel case function KillIO1401() to ced_kill_io()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |4 ++--
drivers/staging/ced1401/usb1401.c |2 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/
rename camel case function QuickCheck() to ced_quick_check() and make it
static
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c | 12 ++--
drivers/staging/ced1401/usb1401.h |1 -
2 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/drivers/staging/ced1401
rename camel case function Stat1401() to ced_stat_1401()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |2 +-
drivers/staging/ced1401/usb1401.c |2 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/st
rename camel case function ReadWrite_Cancel() to ced_read_write_cancel()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c | 10 +-
drivers/staging/ced1401/usb1401.h |2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/ced1401/ced_ioc
rename camel case function SendChar() to ced_send_char()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |6 +++---
drivers/staging/ced1401/usb1401.c |2 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/driver
rename camel case function UnsetTransfer() to ced_unset_transfer()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |2 +-
drivers/staging/ced1401/usb1401.c |2 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/
Rename members with CamelCase and Hungarian notation
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c | 11
drivers/staging/ced1401/usb1401.c | 53 ++---
drivers/staging/ced1401/usb1401.h | 15 ++-
3 files changed, 40 inserti
Rename camel case arguments and locals in function ced_copy_user_space()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/usb1401.c | 66 +
1 file changed, 37 insertions(+), 29 deletions(-)
diff --git a/drivers/staging/ced1401/usb1401.c
b/drivers/sta
rename camel case function SetCircular() to ced_set_circular()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |6 +++---
drivers/staging/ced1401/usb1401.c |2 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/
rename camel case function DbgRampData() to ced_dbg_ramp_data()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |4 ++--
drivers/staging/ced1401/usb1401.c |2 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/d
rename camel case function DbgStopLoop() to ced_dbg_stop_loop()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |4 ++--
drivers/staging/ced1401/usb1401.c |2 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/d
rename camel case function TypeOf1401() to ced_type_of_1401()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |4 ++--
drivers/staging/ced1401/usb1401.c |2 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dri
rename camel case function WaitEvent() to ced_wait_event()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |6 +++---
drivers/staging/ced1401/usb1401.c |2 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/driv
rename camel case function DbgPoke() to ced_dbg_poke()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |4 ++--
drivers/staging/ced1401/usb1401.c |2 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/st
rename camel case function GetString() to ced_get_string()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |8
drivers/staging/ced1401/usb1401.c |4 ++--
drivers/staging/ced1401/usb1401.h |4 ++--
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git
Rename camel case locals in function ced_writechar_callback()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/usb1401.c | 36 ++--
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/drivers/staging/ced1401/usb1401.c
b/drivers/staging/ced1401
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c | 12
drivers/staging/ced1401/usb1401.h |1 -
2 files changed, 13 deletions(-)
diff --git a/drivers/staging/ced1401/ced_ioc.c
b/drivers/staging/ced1401/ced_ioc.c
index 30162a8..f05cef5 100644
--- a/drivers/stagi
Rename members with CamelCase and Hungarian notation
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c | 46 +++
drivers/staging/ced1401/usb1401.c | 74 ++---
drivers/staging/ced1401/usb1401.h |4 +-
3 files changed, 62 i
rename camel case function FreeCircBlock() to ced_free_circ_block()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |4 ++--
drivers/staging/ced1401/usb1401.c |2 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git
rename camel case function GetCircBlock() to ced_get_circ_block()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |4 ++--
drivers/staging/ced1401/usb1401.c |2 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a
rename camel case function StartSelfTest() to ced_start_self_test()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |4 ++--
drivers/staging/ced1401/usb1401.c |2 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/usb1401.h | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/ced1401/usb1401.h
b/drivers/staging/ced1401/usb1401.h
index b90b30a..59f90b1 100644
--- a/drivers/staging/ced1401/usb1401.h
+++ b/d
Rename camel case arguments and locals in function ced_readchar_callback()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/usb1401.c | 63 ++---
1 file changed, 37 insertions(+), 26 deletions(-)
diff --git a/drivers/staging/ced1401/usb1401.c
b/drivers/s
Rename camel case arguments and locals in function ced_read_write_mem()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/usb1401.c | 86 +
drivers/staging/ced1401/usb1401.h |5 ++-
2 files changed, 52 insertions(+), 39 deletions(-)
diff --git a/dr
Rename camel case arguments and locals in function ced_send_chars()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/usb1401.c | 44 ++---
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git a/drivers/staging/ced1401/usb1401.c
b/drivers/staging/
Rename camel case arguments and locals in function ced_read_word()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/usb1401.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/ced1401/usb1401.c
b/drivers/staging/ced1401/usb1401.c
index 17d
rename camel case function TransferFlags() to ced_transfer_flags()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |4 ++--
drivers/staging/ced1401/usb1401.c |2 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git
rename camel case function StateOf1401() to ced_state_of_1401()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |4 ++--
drivers/staging/ced1401/usb1401.c |2 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/d
Braswell SoC has two DMA controllers for LPSS. This patch adds them to
supported list in the PCI driver.
Signed-off-by: Andy Shevchenko
---
drivers/dma/dw/pci.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/dma/dw/pci.c b/drivers/dma/dw/pci.c
index 2006ff8..e71bd2e 100644
--- a
rename camel case function DbgPeek() to ced_dbg_peek()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |4 ++--
drivers/staging/ced1401/usb1401.c |2 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/st
rename camel case function CheckSelfTest() to ced_check_self_test()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |4 ++--
drivers/staging/ced1401/usb1401.c |2 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git
Rename camel case arguments and locals in function ced_read_huff()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/usb1401.c | 45 -
1 file changed, 24 insertions(+), 21 deletions(-)
diff --git a/drivers/staging/ced1401/usb1401.c
b/drivers/staging/c
Rename members with CamelCase and Hungarian notation
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c | 118
drivers/staging/ced1401/usb1401.c | 137 +++--
drivers/staging/ced1401/usb1401.h | 39 ++-
3 f
rename camel case function DbgCmd1401() to ced_dbg_cmd()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c | 42 ++---
1 file changed, 21 insertions(+), 21 deletions(-)
diff --git a/drivers/staging/ced1401/ced_ioc.c
b/drivers/staging/ced1401/ced
Rename camel case arguments and locals in function ced_read_dma_info()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/usb1401.c | 90 -
1 file changed, 48 insertions(+), 42 deletions(-)
diff --git a/drivers/staging/ced1401/usb1401.c
b/drivers/stagi
Rename camel case arguments and locals in function ced_read_char()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/usb1401.c | 23 ---
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/drivers/staging/ced1401/usb1401.c
b/drivers/staging/ced1401/usb1401
Rename camel case arguments and locals in function staged_callback()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/usb1401.c | 254 +
1 file changed, 147 insertions(+), 107 deletions(-)
diff --git a/drivers/staging/ced1401/usb1401.c
b/drivers/stagi
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c | 21 -
drivers/staging/ced1401/usb1401.c |9 ++---
drivers/staging/ced1401/usb1401.h |6 +++---
3 files changed, 21 insertions(+), 15 deletions(-)
diff --git a/drivers/staging/ced1401/ced_ioc.c
b
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/usb1401.c |5 +++--
drivers/staging/ced1401/usb1401.h |6 +++---
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/ced1401/usb1401.c
b/drivers/staging/ced1401/usb1401.c
index ee16353..9cc79a8 100644
--- a
Instead of using custom code to convert hexdecinal strings to their binary
represantation let's use kernel's library function.
Signed-off-by: Andy Shevchenko
---
drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 5 ---
drivers/staging/rtl8188eu/include/wlan_bssdef.h | 1 -
drivers/staging/rtl8
The helper mac_pton() validates and converts MAC address from string format to
a number. Originally code uses simple code to do that. With mac_pton() the
driver now validates input as well.
Signed-off-by: Andy Shevchenko
---
drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 11 ++-
drivers/stagi
Rename camel case arguments and locals in function ced_stage_chunk()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/usb1401.c | 53 ++---
1 file changed, 31 insertions(+), 22 deletions(-)
diff --git a/drivers/staging/ced1401/usb1401.c
b/drivers/staging
rename camel case function DbgRampAddr() to ced_dbg_ramp_addr()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |4 ++--
drivers/staging/ced1401/usb1401.c |2 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/d
rename camel case function DbgGetData() to ced_dbg_get_data()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c |4 ++--
drivers/staging/ced1401/usb1401.c |2 +-
drivers/staging/ced1401/usb1401.h |2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dri
Rename camel case arguments and locals in function ced_allowi()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/usb1401.c | 47 -
1 file changed, 26 insertions(+), 21 deletions(-)
diff --git a/drivers/staging/ced1401/usb1401.c
b/drivers/staging/ced1
hex_to_bin could be used to convert hexdecimal digit to its binary
representation.
Signed-off-by: Andy Shevchenko
---
drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 17 -
drivers/staging/rtl8188eu/include/wlan_bssdef.h | 3 ---
drivers/staging/rtl8188eu/os_dep/ioctl_linux.c
Rename camel case arguments and locals in function ced_handle_esc()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/usb1401.c | 41 -
1 file changed, 22 insertions(+), 19 deletions(-)
diff --git a/drivers/staging/ced1401/usb1401.c
b/drivers/staging/
Rename camel case arguments and locals in function ced_wait_event()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c | 50 +
drivers/staging/ced1401/usb1401.h |2 +-
2 files changed, 29 insertions(+), 23 deletions(-)
diff --git a/drivers
Rename camel case arguments and locals in function ced_send_string()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c | 15 ---
drivers/staging/ced1401/usb1401.h |2 +-
2 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/drivers/staging/ced1401/ced_io
Rename camel case arguments and locals in function ced_line_count()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c | 22 --
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/drivers/staging/ced1401/ced_ioc.c
b/drivers/staging/ced1401/ced_ioc
Rename camel case arguments and locals in function ced_get_string()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c | 58 ++---
drivers/staging/ced1401/usb1401.h |2 +-
2 files changed, 30 insertions(+), 30 deletions(-)
diff --git a/drivers
Rename camel case arguments and locals in function ced_unset_transfer()
Signed-off-by: Luca Ellero
---
drivers/staging/ced1401/ced_ioc.c | 10 +-
drivers/staging/ced1401/usb1401.h |2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/ced1401/ced_ioc.
1 - 100 of 163 matches
Mail list logo