[PATCH] Restrict read pointer to 16 bit of tcpci_read16.

2017-06-01 Thread ? ?
From: Pan Li Restricted tcpci_read16 arugment to 16 bit variable pointer, in accord with the function name. Signed-off-by: Pan Li --- drivers/staging/typec/tcpci.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/typec/tcpci.c b/drivers/staging

[PATCH] Restrict argument of tcpci_read16

2017-06-01 Thread ? ?
From: Pan Li Pan Li (1): Restrict read pointer to 16 bit of tcpci_read16. drivers/staging/typec/tcpci.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) -- 1.9.1 ___ devel mailing list de...@linuxdriverproject.org http://driverdev

Re: [PATCH 04/12] fs: ceph: CURRENT_TIME with ktime_get_real_ts()

2017-06-01 Thread Yan, Zheng
On Fri, Jun 2, 2017 at 8:57 AM, Deepa Dinamani wrote: > On Thu, Jun 1, 2017 at 5:36 PM, John Stultz wrote: >> On Thu, Jun 1, 2017 at 5:26 PM, Yan, Zheng wrote: >>> On Thu, Jun 1, 2017 at 6:22 PM, Arnd Bergmann wrote: On Thu, Jun 1, 2017 at 11:56 AM, Yan, Zheng wrote: > On Sat, Apr 8,

Re: [PATCH 04/12] fs: ceph: CURRENT_TIME with ktime_get_real_ts()

2017-06-01 Thread Deepa Dinamani
On Thu, Jun 1, 2017 at 5:36 PM, John Stultz wrote: > On Thu, Jun 1, 2017 at 5:26 PM, Yan, Zheng wrote: >> On Thu, Jun 1, 2017 at 6:22 PM, Arnd Bergmann wrote: >>> On Thu, Jun 1, 2017 at 11:56 AM, Yan, Zheng wrote: On Sat, Apr 8, 2017 at 8:57 AM, Deepa Dinamani wrote: >>> > diff

Re: [PATCH v7 00/34] i.MX Media Driver

2017-06-01 Thread Steve Longerbeam
Hi Tim, On 06/01/2017 05:25 PM, Tim Harvey wrote: Hi Steve, I've applied adv7180 device-tree config for the Gateworks ventana boards on top of your imx-media-staging-md-v15 github branch but am not able to get it to work. Here's my device-tree patch that adds adv7180 to the GW54xx connected

Re: [PATCH 04/12] fs: ceph: CURRENT_TIME with ktime_get_real_ts()

2017-06-01 Thread John Stultz
On Thu, Jun 1, 2017 at 5:26 PM, Yan, Zheng wrote: > On Thu, Jun 1, 2017 at 6:22 PM, Arnd Bergmann wrote: >> On Thu, Jun 1, 2017 at 11:56 AM, Yan, Zheng wrote: >>> On Sat, Apr 8, 2017 at 8:57 AM, Deepa Dinamani >>> wrote: >> diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c index

Re: [PATCH 04/12] fs: ceph: CURRENT_TIME with ktime_get_real_ts()

2017-06-01 Thread Yan, Zheng
On Thu, Jun 1, 2017 at 6:22 PM, Arnd Bergmann wrote: > On Thu, Jun 1, 2017 at 11:56 AM, Yan, Zheng wrote: >> On Sat, Apr 8, 2017 at 8:57 AM, Deepa Dinamani >> wrote: > >>> diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c >>> index 517838b..77204da 100644 >>> --- a/drivers/block/rbd.c >>>

Re: [PATCH v7 00/34] i.MX Media Driver

2017-06-01 Thread Tim Harvey
On Wed, May 24, 2017 at 5:29 PM, Steve Longerbeam wrote: > In version 7: > > - video-mux: switched to Philipp's latest video-mux driver and updated > bindings docs, that makes use of the mmio-mux framework. > > - mmio-mux: includes Philipp's temporary patch that adds mmio-mux support > to vide

Re: [PATCH 04/12] fs: ceph: CURRENT_TIME with ktime_get_real_ts()

2017-06-01 Thread Yan, Zheng
On Thu, Jun 1, 2017 at 6:22 PM, Arnd Bergmann wrote: > On Thu, Jun 1, 2017 at 11:56 AM, Yan, Zheng wrote: >> On Sat, Apr 8, 2017 at 8:57 AM, Deepa Dinamani >> wrote: > >>> diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c >>> index 517838b..77204da 100644 >>> --- a/drivers/block/rbd.c >>>

[PATCH v6 09/10] x86/hyper-v: support extended CPU ranges for TLB flush hypercalls

2017-06-01 Thread Vitaly Kuznetsov
Hyper-V hosts may support more than 64 vCPUs, we need to use HVCALL_FLUSH_VIRTUAL_ADDRESS_SPACE_EX/LIST_EX hypercalls in this case. Signed-off-by: Vitaly Kuznetsov --- Changes since v5: - Do single pass in cpumask_to_vp_set() as it turns our that empty banks are valid [Jork Loeser] - Use fill_g

[PATCH v6 07/10] hyper-v: globalize vp_index

2017-06-01 Thread Vitaly Kuznetsov
To support implementing remote TLB flushing on Hyper-V with a hypercall we need to make vp_index available outside of vmbus module. Rename and globalize. Signed-off-by: Vitaly Kuznetsov Reviewed-by: Andy Shevchenko --- Changes since v5: - Drop pointless cast, use kmalloc_array() [Andy Shevchenko

[PATCH v6 10/10] tracing/hyper-v: trace hyperv_mmu_flush_tlb_others()

2017-06-01 Thread Vitaly Kuznetsov
Add Hyper-V tracing subsystem and trace hyperv_mmu_flush_tlb_others(). Tracing is done the same way we do xen_mmu_flush_tlb_others(). Signed-off-by: Vitaly Kuznetsov Reviewed-by: Andy Shevchenko --- MAINTAINERS | 1 + arch/x86/hyperv/mmu.c | 8 a

[PATCH v6 08/10] x86/hyper-v: use hypercall for remote TLB flush

2017-06-01 Thread Vitaly Kuznetsov
Hyper-V host can suggest us to use hypercall for doing remote TLB flush, this is supposed to work faster than IPIs. Implementation details: to do HvFlushVirtualAddress{Space,List} hypercalls we need to put the input somewhere in memory and we don't really want to have memory allocation on each cal

[PATCH v6 04/10] x86/hyper-v: fast hypercall implementation

2017-06-01 Thread Vitaly Kuznetsov
Hyper-V supports 'fast' hypercalls when all parameters are passed through registers. Implement an inline version of a simpliest of these calls: hypercall with one 8-byte input and no output. Signed-off-by: Vitaly Kuznetsov Reviewed-by: Andy Shevchenko --- Changes since v5: - #define HV_HYPERCALL

[PATCH v6 05/10] hyper-v: use fast hypercall for HVCALL_SIGNAL_EVENT

2017-06-01 Thread Vitaly Kuznetsov
We need to pass only 8 bytes of input for HvSignalEvent which makes it a perfect fit for fast hypercall. hv_input_signal_event_buffer is not needed any more and hv_input_signal_event is converted to union for convenience. Signed-off-by: Vitaly Kuznetsov Reviewed-by: Andy Shevchenko --- drivers/

[PATCH v6 06/10] x86/hyper-v: implement rep hypercalls

2017-06-01 Thread Vitaly Kuznetsov
Rep hypercalls are normal hypercalls which perform multiple actions at once. Hyper-V guarantees to return exectution to the caller in not more than 50us and the caller needs to use hypercall continuation. Touch NMI watchdog between hypercall invocations. This is going to be used for HvFlushVirtual

[PATCH v6 03/10] x86/hyper-v: make hv_do_hypercall() inline

2017-06-01 Thread Vitaly Kuznetsov
We have only three call sites for hv_do_hypercall() and we're going to change HVCALL_SIGNAL_EVENT to doing fast hypercall so we can inline this function for optimization. Hyper-V top level functional specification states that r9-r11 registers and flags may be clobbered by the hypervisor during hyp

[PATCH v6 01/10] x86/hyper-v: include hyperv/ only when CONFIG_HYPERV is set

2017-06-01 Thread Vitaly Kuznetsov
Code is arch/x86/hyperv/ is only needed when CONFIG_HYPERV is set, the 'basic' support and detection lives in arch/x86/kernel/cpu/mshyperv.c which is included when CONFIG_HYPERVISOR_GUEST is set. Signed-off-by: Vitaly Kuznetsov Reviewed-by: Andy Shevchenko --- Changes since v5: - Implement hv_is

[PATCH v6 00/10] Hyper-V: praravirtualized remote TLB flushing and hypercall improvements

2017-06-01 Thread Vitaly Kuznetsov
Changes since v5: - Do single pass in cpumask_to_vp_set() as it turns our that empty banks are valid [Jork Loeser] - Define all 'magic' we use in hypercalls (bits, offsets, masks) [Andy Shevchenko] - Many small code tweaks [Andy Shevchenko] - s,pr_info,pr_debug, when reporting vCPUs limits [Ste

[PATCH v6 02/10] x86/hyper-v: stash the max number of virtual/logical processor

2017-06-01 Thread Vitaly Kuznetsov
Max virtual processor will be needed for 'extended' hypercalls supporting more than 64 vCPUs. While on it, unify on 'Hyper-V' in mshyperv.c as we currently have a mix, report acquired misc features as well. Signed-off-by: Vitaly Kuznetsov Reviewed-by: Andy Shevchenko --- Changes since v5: - s,pr

Re: [PATCH v2 01/20] staging: ccree: remove spurious blank lines

2017-06-01 Thread Joe Perches
On Thu, 2017-06-01 at 04:20 -0700, Joe Perches wrote: > On Thu, 2017-06-01 at 14:02 +0300, Gilad Ben-Yossef wrote: > > Remove spurious blanks lines from cc_crypto_ctx.h file > > unrelated trivia: > > > diff --git a/drivers/staging/ccree/cc_crypto_ctx.h > > b/drivers/staging/ccree/cc_crypto_ctx.h

Re: [PATCH 1/3] staging: typec: Fix one defect of incorrect type in argument.

2017-06-01 Thread Guenter Roeck
On Thu, Jun 01, 2017 at 05:57:14PM +0300, Dan Carpenter wrote: > On Thu, Jun 01, 2017 at 07:21:00AM +, ? ? wrote: > > From: Pan Li > > > > Convert type le16 to cpu of argument 1 in function pd_header_cnt. > > > > Signed-off-by: Pan Li > > --- > > drivers/staging/typec/tcpci.c | 2 +- >

Re: [PATCH 2/3] staging: typec: Fix one defect of incorrect type assignment.

2017-06-01 Thread Dan Carpenter
On Thu, Jun 01, 2017 at 07:21:22AM +, ? ? wrote: > From: Pan Li > > Convert type le16 to cpu for consistent type assignment. > > Signed-off-by: Pan Li > --- > drivers/staging/typec/tcpci.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/typec/t

Re: [PATCH 1/3] staging: typec: Fix one defect of incorrect type in argument.

2017-06-01 Thread Dan Carpenter
On Thu, Jun 01, 2017 at 07:21:00AM +, ? ? wrote: > From: Pan Li > > Convert type le16 to cpu of argument 1 in function pd_header_cnt. > > Signed-off-by: Pan Li > --- > drivers/staging/typec/tcpci.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/stagin

Re: [PATCH 3/3] staging: typec: Fix one defect of incorrect type assignment.

2017-06-01 Thread Dan Carpenter
On Thu, Jun 01, 2017 at 07:21:38AM +, ? ? wrote: > From: Pan Li > > Convert type cpu to le16 for consistent type assignment. > > Signed-off-by: Pan Li > --- > drivers/staging/typec/tcpci.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/typec/t

[patch] staging: speakup: remove unused code

2017-06-01 Thread Okash Khawaja
In spk_ttyio_release we read tty's index but never do anything with it. The patch removes this dead code. Signed-off-by: Okash Khawaja Reviewed-by: Samuel Thibault --- drivers/staging/speakup/spk_ttyio.c |3 --- 1 file changed, 3 deletions(-) --- a/drivers/staging/speakup/spk_ttyio.c +++

Re: [PATCH v2 01/20] staging: ccree: remove spurious blank lines

2017-06-01 Thread Joe Perches
On Thu, 2017-06-01 at 14:02 +0300, Gilad Ben-Yossef wrote: > Remove spurious blanks lines from cc_crypto_ctx.h file unrelated trivia: > diff --git a/drivers/staging/ccree/cc_crypto_ctx.h > b/drivers/staging/ccree/cc_crypto_ctx.h [] > @@ -208,7 +204,6 @@ struct drv_ctx_generic { > enum drv_

[PATCH v2 20/20] staging: ccree: fix wrong whitespace usage

2017-06-01 Thread Gilad Ben-Yossef
Some of the register definition files had none kernel coding style usage of tabs vs. spaces in macro definitions. This patch fixes them. Remove some unused macro definitions from hash definitions. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/dx_crys_kernel.h | 308 -

[PATCH v2 14/20] staging: ccree: remove custom bitfield macros

2017-06-01 Thread Gilad Ben-Yossef
With all users removed or re-factored to use the standard kernel bit fields ops we can now drop the custom bit field macros. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_bitops.h| 39 --- drivers/staging/ccree/cc_hw_queue_defs.h | 2 +- drivers/staging/cc

[PATCH v2 19/20] staging: ccree: remove spurious blank line

2017-06-01 Thread Gilad Ben-Yossef
Remove spurious blank line from cc_regs.h Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_regs.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/ccree/cc_regs.h b/drivers/staging/ccree/cc_regs.h index e83938b..915c863 100644 --- a/drivers/staging/ccree/cc_regs.h +

[PATCH v2 17/20] staging: ccree: drop no longer used macro

2017-06-01 Thread Gilad Ben-Yossef
MSB64 macro is no longer used or needed. Drop it. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_hw_queue_defs.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/ccree/cc_hw_queue_defs.h b/drivers/staging/ccree/cc_hw_queue_defs.h index 1cbd2e1..aaa56c8 100644 -

[PATCH v2 16/20] staging: ccree: use snake_case for hash enums

2017-06-01 Thread Gilad Ben-Yossef
Hash enum were named using CamelCase, move over to snake_case. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_hw_queue_defs.h | 4 ++-- drivers/staging/ccree/hash_defs.h| 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/ccree/cc_hw_queu

[PATCH v2 18/20] staging: ccree: remove dead code

2017-06-01 Thread Gilad Ben-Yossef
Remove some unused macro definitions from hash definitions. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/hash_defs.h | 31 +++ 1 file changed, 3 insertions(+), 28 deletions(-) diff --git a/drivers/staging/ccree/hash_defs.h b/drivers/staging/ccree/hash_d

[PATCH v2 15/20] staging: ccree: remove unused struct

2017-06-01 Thread Gilad Ben-Yossef
struct SepHashPrivateContext is not used anywhere in the code. Remove it. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/hash_defs.h | 17 - 1 file changed, 17 deletions(-) diff --git a/drivers/staging/ccree/hash_defs.h b/drivers/staging/ccree/hash_defs.h index 61389

[PATCH v2 11/20] staging: ccree: remove unused debug macros

2017-06-01 Thread Gilad Ben-Yossef
The DUMP_SGL() and DUMP_MLLI_TABLE() debug macros were defined but not used anywhere and the difference of their definitions for debug vs. none debug indicated this has not being used in a while. Remove the dead code. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_buffer_mgr.c |

[PATCH v2 13/20] staging: ccree: move request_mgr to generic bitfield ops

2017-06-01 Thread Gilad Ben-Yossef
request_mgr was using custom bit field macros. move over to standard kernel bitfield ops. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_regs.h | 5 + drivers/staging/ccree/ssi_request_mgr.c | 25 +++-- 2 files changed, 20 insertions(+), 10 deletion

[PATCH v2 12/20] staging: ccree: remove cycle count debug support

2017-06-01 Thread Gilad Ben-Yossef
The ccree driver had support for rough performance debugging via cycle counting which has bit rotted and can easily be replcaed with perf. Remove it from the driver. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_hw_queue_defs.h | 14 drivers/staging/ccree/ssi_aead.c

[PATCH v2 10/20] staging: ccree: move M/LLI defines to header file

2017-06-01 Thread Gilad Ben-Yossef
A bunch of macros used to define M/LLI descriptors where being defined in the C file. Move them over to private include file where other relevant definitions are stored. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_lli_defs.h| 8 drivers/staging/ccree/ssi_buffer_mgr.

[PATCH v2 09/20] staging: ccree: refactor LLI access macros

2017-06-01 Thread Gilad Ben-Yossef
The Linked List Item descriptors were being programmed via a set of macros which suffer a few problems: - Use of macros rather than inline leaves out parameter type checking and risks multiple macro parameter evaluation side effects. - Implemented via hand rolled versions of bitfield operations

[PATCH v2 08/20] staging: ccree: remove 48 bit dma addr sim

2017-06-01 Thread Gilad Ben-Yossef
Remove no longer needed code used to simulate 48 bit dma addresses on 32 bit platforms for development purposes. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_aead.c| 19 drivers/staging/ccree/ssi_buffer_mgr.c | 83 - drivers/stag

[PATCH v2 04/20] staging: ccree: fix operator spacing

2017-06-01 Thread Gilad Ben-Yossef
cc_crypto_ctx.h file had a few macro definitions with missing spaces around operators. Add missing spaces. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_crypto_ctx.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/ccree/cc_crypto_ctx.

[PATCH v2 06/20] staging: ccree: add parentheses to macro argument

2017-06-01 Thread Gilad Ben-Yossef
Add parentheses around macro argument to guard against precedence issues. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_crypto_ctx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ccree/cc_crypto_ctx.h b/drivers/staging/ccree/cc_crypto_ctx.h i

[PATCH v2 05/20] staging: ccree: fix comments formatting

2017-06-01 Thread Gilad Ben-Yossef
A few of the comments in cc_crypto_ctx.h where not formatted correctly. Format according to coding style guidelines. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_crypto_ctx.h | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/drivers/staging/

[PATCH v2 03/20] staging: ccree: fix longer than 80 chars lines

2017-06-01 Thread Gilad Ben-Yossef
Clip longer than 80 chars lines in header files worked on in the patch set. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_crypto_ctx.h | 3 ++- drivers/staging/ccree/cc_regs.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ccree/cc_cr

[PATCH v2 01/20] staging: ccree: remove spurious blank lines

2017-06-01 Thread Gilad Ben-Yossef
Remove spurious blanks lines from cc_crypto_ctx.h file Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_crypto_ctx.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/ccree/cc_crypto_ctx.h b/drivers/staging/ccree/cc_crypto_ctx.h index ac39d34..9bfadb21 100644

[PATCH v2 02/20] staging: ccree: replace bit shift with BIT macro

2017-06-01 Thread Gilad Ben-Yossef
CC_CTX_SIZE was being defined using a hand rolled bit shift operation. Replace with use of BIT macro. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_crypto_ctx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ccree/cc_crypto_ctx.h b/drivers/sta

[PATCH v2 00/20] additional driver cleanups

2017-06-01 Thread Gilad Ben-Yossef
This is another batch of clean ups for the ccree driver. Mostly comprised of: - Coding Style fixes - Move to kernel infrastructure from custom constructs - Replace macros with static inline functions - Removal of dead code Changes from v1: - Break up patches better to "do one thing" as indicated b

Re: [PATCH 04/12] fs: ceph: CURRENT_TIME with ktime_get_real_ts()

2017-06-01 Thread Arnd Bergmann
On Thu, Jun 1, 2017 at 11:56 AM, Yan, Zheng wrote: > On Sat, Apr 8, 2017 at 8:57 AM, Deepa Dinamani wrote: >> diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c >> index 517838b..77204da 100644 >> --- a/drivers/block/rbd.c >> +++ b/drivers/block/rbd.c >> @@ -1922,7 +1922,7 @@ static void rbd

Re: [PATCH 04/12] fs: ceph: CURRENT_TIME with ktime_get_real_ts()

2017-06-01 Thread Yan, Zheng
On Sat, Apr 8, 2017 at 8:57 AM, Deepa Dinamani wrote: > CURRENT_TIME is not y2038 safe. > The macro will be deleted and all the references to it > will be replaced by ktime_get_* apis. > > struct timespec is also not y2038 safe. > Retain timespec for timestamp representation here as ceph > uses it

exposure vs. exposure_absolute was Re: [PATCH v7 16/34] [media] add Omnivision OV5640 sensor driver

2017-06-01 Thread Pavel Machek
Hi! > > > + /* Auto/manual exposure */ > > > + ctrls->auto_exp = v4l2_ctrl_new_std_menu(hdl, ops, > > > + V4L2_CID_EXPOSURE_AUTO, > > > + V4L2_EXPOSURE_MANUAL, 0, > > > + V4L2

Re: [PATCH v7 16/34] [media] add Omnivision OV5640 sensor driver

2017-06-01 Thread Sakari Ailus
Hi Pavel, On Wed, May 31, 2017 at 09:58:21PM +0200, Pavel Machek wrote: > Hi! > > > +/* min/typical/max system clock (xclk) frequencies */ > > +#define OV5640_XCLK_MIN 600 > > +#define OV5640_XCLK_MAX 2400 > > + > > +/* > > + * FIXME: there is no subdev API to set the MIPI CSI-2 > > + *

[PATCH 2/3] staging: typec: Fix one defect of incorrect type assignment.

2017-06-01 Thread ? ?
From: Pan Li Convert type le16 to cpu for consistent type assignment. Signed-off-by: Pan Li --- drivers/staging/typec/tcpci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/typec/tcpci.c b/drivers/staging/typec/tcpci.c index 405c9cc..18d2e06 100644 ---

[PATCH 3/3] staging: typec: Fix one defect of incorrect type assignment.

2017-06-01 Thread ? ?
From: Pan Li Convert type cpu to le16 for consistent type assignment. Signed-off-by: Pan Li --- drivers/staging/typec/tcpci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/typec/tcpci.c b/drivers/staging/typec/tcpci.c index 18d2e06..dac41f2 100644 ---

[PATCH 1/3] staging: typec: Fix one defect of incorrect type in argument.

2017-06-01 Thread ? ?
From: Pan Li Convert type le16 to cpu of argument 1 in function pd_header_cnt. Signed-off-by: Pan Li --- drivers/staging/typec/tcpci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/typec/tcpci.c b/drivers/staging/typec/tcpci.c index df72d8b..405c9cc 10

[PATCH 0/3] staging:typec: Fix 3 defect of incorrect type

2017-06-01 Thread ? ?
From: Pan Li Pan Li (3): Fix one defect of incorrect type in argument. Fix one defect of incorrect type assignment. Fix one defect of incorrect type assignment. drivers/staging/typec/tcpci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 1.9.1 __