re

2023-07-22 Thread Veronica Lee
שלום יקירי, אני פונה אליך למידע שברצוני לחלוק איתך אל תהסס להשיב לפרטים ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

re

2023-07-11 Thread Veronica Lee
שלום יקירתי שמחה להגיע אליך שוב יש לי מייל בעבר ללא תגובה אני מזכיר לגבי חוזה שאני רוצה לשתף אותך חזור אליי לפרטים נוספים אני מחכה אנא ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-d

AN OFFER FOR LOAN IF YOU ARE INTERESTED

2022-02-23 Thread Hyung Lee
need loan from us, we are capable of giving you a loan up to $500M for your project. With best regards, Hyung Lee ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[PATCH v3 1/1] staging: ion: Prevent incorrect reference counting behavour

2021-11-26 Thread Lee Jones
Supply additional checks in order to prevent unexpected results. Fixes: b892bf75b2034 ("ion: Switch ion to use dma-buf") Suggested-by: Dan Carpenter Signed-off-by: Lee Jones --- Destined for v4.4.y and v4.9.y drivers/staging/android/ion/ion.c | 6 ++ 1 file changed, 6 insertion

Re: [PATCH 1/1] staging: ion: Prevent incorrect reference counting behavour

2021-11-26 Thread Lee Jones
On Fri, 26 Nov 2021, Greg KH wrote: > On Fri, Nov 26, 2021 at 08:56:27AM +0000, Lee Jones wrote: > > On Fri, 26 Nov 2021, Dan Carpenter wrote: > > > > > On Thu, Nov 25, 2021 at 06:18:22PM +0300, Dan Carpenter wrote: > > > > I had thought that ->kmap_cn

Re: [PATCH 1/1] staging: ion: Prevent incorrect reference counting behavour

2021-11-26 Thread Lee Jones
> handle->kmap_cnt++; > return buffer->vaddr; > } Which is all well and good until somebody changes the type. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter |

Re: [PATCH 1/1] staging: ion: Prevent incorrect reference counting behavour

2021-11-25 Thread Lee Jones
On Thu, 25 Nov 2021, Dan Carpenter wrote: > On Thu, Nov 25, 2021 at 03:07:37PM +0000, Lee Jones wrote: > > On Thu, 25 Nov 2021, Dan Carpenter wrote: > > > > > On Thu, Nov 25, 2021 at 02:20:04PM +, Lee Jones wrote: > > > > Supply additional checks in

Re: [PATCH 1/1] staging: ion: Prevent incorrect reference counting behavour

2021-11-25 Thread Lee Jones
On Thu, 25 Nov 2021, Lee Jones wrote: > On Thu, 25 Nov 2021, Dan Carpenter wrote: > > > On Thu, Nov 25, 2021 at 02:20:04PM +, Lee Jones wrote: > > > Supply additional checks in order to prevent unexpected results. > > > > > > Fixes: b892bf7

Re: [PATCH 1/1] staging: ion: Prevent incorrect reference counting behavour

2021-11-25 Thread Lee Jones
On Thu, 25 Nov 2021, Dan Carpenter wrote: > On Thu, Nov 25, 2021 at 02:20:04PM +0000, Lee Jones wrote: > > Supply additional checks in order to prevent unexpected results. > > > > Fixes: b892bf75b2034 ("ion: Switch ion to use dma-buf") > > Signed-off-by:

[PATCH 1/1] staging: ion: Prevent incorrect reference counting behavour

2021-11-25 Thread Lee Jones
Supply additional checks in order to prevent unexpected results. Fixes: b892bf75b2034 ("ion: Switch ion to use dma-buf") Signed-off-by: Lee Jones --- Should be back-ported from v4.9 and earlier. drivers/staging/android/ion/ion.c | 5 + 1 file changed, 5 insertions(+) diff --git

Re: [PATCH 1/1] staging: ion: Prevent incorrect reference counting behavour

2021-11-25 Thread Lee Jones
On Thu, 25 Nov 2021, Greg KH wrote: > On Thu, Nov 25, 2021 at 01:03:46PM +0000, Lee Jones wrote: > > On Thu, 25 Nov 2021, Greg KH wrote: > > > > > On Thu, Nov 25, 2021 at 12:46:23PM +, Lee Jones wrote: > > > > On Thu, 25 Nov 2021, Greg KH wrote: > >

Re: [PATCH 1/1] staging: ion: Prevent incorrect reference counting behavour

2021-11-25 Thread Lee Jones
On Thu, 25 Nov 2021, Greg KH wrote: > On Thu, Nov 25, 2021 at 12:46:23PM +0000, Lee Jones wrote: > > On Thu, 25 Nov 2021, Greg KH wrote: > > > > > On Thu, Nov 25, 2021 at 12:02:34PM +, Lee Jones wrote: > > > > Supply additional checks in

Re: [PATCH 1/1] staging: ion: Prevent incorrect reference counting behavour

2021-11-25 Thread Lee Jones
On Thu, 25 Nov 2021, Greg KH wrote: > On Thu, Nov 25, 2021 at 12:02:34PM +0000, Lee Jones wrote: > > Supply additional checks in order to prevent unexpected results. > > > > Fixes: b892bf75b2034 ("ion: Switch ion to use dma-buf") > > Signed-off-by: Lee Jones

[PATCH 1/1] staging: ion: Prevent incorrect reference counting behavour

2021-11-25 Thread Lee Jones
Supply additional checks in order to prevent unexpected results. Fixes: b892bf75b2034 ("ion: Switch ion to use dma-buf") Signed-off-by: Lee Jones --- drivers/staging/android/ion/ion.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/android/ion/ion.c b/drive

Re: [PATCH v7 01/13] dt-bindings: mfd: Add 'nxp,imx8mq-vpu-ctrl' to syscon list

2021-03-29 Thread Lee Jones
t; Documentation/devicetree/bindings/mfd/syscon.yaml | 1 + > 1 file changed, 1 insertion(+) Acked-by: Lee Jones -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog _

Re: [PATCH] staging: rtl8192e: Fix possible buffer overflow in _rtl92e_wx_set_scan

2021-03-05 Thread Lee
Hi Dan, Do you think any of these could be potential issues: driver/staging/ rtl8192e/rtllib_rx.c:2442 wlan-ng/cfg80211.c:316 rtl8723bs/os_dep/ioctl_cfg80211.c:1591 rtl8723bs/os_dep/ioctl_cfg80211.c:2738 and if so, findable via Smatch? Regards, Lee On Fri, Mar 05, 2021 at 11:22:28AM +0300

Re: [PATCH] staging: rtl8192e: Fix possible buffer overflow in _rtl92e_wx_set_scan

2021-03-01 Thread Lee
hecked out 2 of those listed at random and they look like valid bugs to me. > But there are quite a few real bugs as well. If anyone wants to fix any > of these just claim a bug, and I won't send a patch for that warning. > :) Lee, I think you mentioned that you had found a related bu

[PATCH] staging: rtl8712: Fix possible buffer overflow in r8712_sitesurvey_cmd

2021-03-01 Thread Lee Gibson
Function r8712_sitesurvey_cmd calls memcpy without checking the length. A user could control that length and trigger a buffer overflow. Fix by checking the length is within the maximum allowed size. Signed-off-by: Lee Gibson --- drivers/staging/rtl8712/rtl871x_cmd.c | 6 -- 1 file changed

[PATCH v3] staging: rtl8192e: Fix possible buffer overflow in _rtl92e_wx_set_scan

2021-02-26 Thread Lee Gibson
Function _rtl92e_wx_set_scan calls memcpy without checking the length. A user could control that length and trigger a buffer overflow. Fix by checking the length is within the maximum allowed size. Reviewed-by: Dan Carpenter Signed-off-by: Lee Gibson --- drivers/staging/rtl8192e/rtl8192e

[PATCH v2] staging: rtl8192e: Fix possible buffer overflow in _rtl92e_wx_set_scan

2021-02-26 Thread Lee Gibson
Function _rtl92e_wx_set_scan calls memcpy without checking the length. A user could control that length and trigger a buffer overflow. Fix by checking the length is within the maximum allowed size. Changes in v2: Changed to use min_t as per useful suggestions Signed-off-by: Lee Gibson

[PATCH] staging: rtl8192e: Fix possible buffer overflow in _rtl92e_wx_set_scan

2021-02-26 Thread Lee Gibson
Function _rtl92e_wx_set_scan calls memcpy without checking the length. A user could control that length and trigger a buffer overflow. Fix by checking the length is within the maximum allowed size. Signed-off-by: Lee Gibson --- drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 3 +++ 1 file changed

[PATCH] staging: fwserial: minor coding style fix

2021-02-26 Thread Lee Gibson
Fixes this checkpatch warning WARNING: Integer promotion: Using 'h' in '%04hx' is unnecessary Signed-off-by: Lee Gibson --- drivers/staging/fwserial/fwserial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/fwserial/fwserial.c b/driv

[PATCH] staging: rtl8192u: minor coding style fix

2021-02-25 Thread Lee Gibson
Fixes this checkpatch warning WARNING: Comparisons should place the constant on the right side of the test Signed-off-by: Lee Gibson --- drivers/staging/rtl8192u/r8192U_wx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/r8192U_wx.c b/drivers

[PATCH] staging: hikey9xx: Fix space tab style warnings

2021-02-19 Thread Lee Gibson
This patch fixes the checkpatch warnings such as: hi6421-spmi-pmic.c:51: WARNING: please, no space before tabs Signed-off-by: Lee Gibson --- drivers/staging/hikey9xx/hi6421-spmi-pmic.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/hikey9xx/hi6421

Re: [PATCH v4 18/21] mfd: hi6421-spmi-pmic: move driver from staging

2021-01-29 Thread Lee Jones
On Fri, 29 Jan 2021, Mauro Carvalho Chehab wrote: > Hi Lee, > > Em Wed, 27 Jan 2021 11:05:37 +0000 > Lee Jones escreveu: > > > On Tue, 19 Jan 2021, Mauro Carvalho Chehab wrote: > > > > > This driver is ready for mainstream. So, move it out of staging.

Re: [PATCH v6 5/7] mfd: hi6421-spmi-pmic: move driver from staging

2021-01-28 Thread Lee Jones
mi-pmic.c (100%) I've already reviewed this: https://lore.kernel.org/driverdev-devel/20210127110537.GI4903@dell/ -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog

Re: [PATCH v5 19/21] mfd: hi6421-spmi-pmic: move driver from staging

2021-01-27 Thread Lee Jones
mic.c (100%) Replied to an earlier submission where I was able to reply in-line. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog __

Re: [PATCH v4 18/21] mfd: hi6421-spmi-pmic: move driver from staging

2021-01-27 Thread Lee Jones
pmic->irqs[i] = virq; > + dev_dbg(dev, "%s: pmic->irqs[%d] = %d\n", > + __func__, i, pmic->irqs[i]); This is ugly. Please remove it. > + } > + > + ret = request_threaded_irq(pmic->irq, hi6421_spmi_irq_handler, NU

Re: [PATCH v5 00/21] Move Hisilicon 6421v600 SPMI driver set out of staging

2021-01-27 Thread Lee Jones
. I would have expected the whole set to be merged as a set into a single tree, placed on an immutable branch and a pull-request to be sent out for the other maintainers to pull from (if they so wished). This would ensure development could continue on any/all of the affected drivers/files.

Re: [PATCH v2 10/13] mfd: hi6421-spmi-pmic: move driver from staging

2021-01-18 Thread Lee Jones
On Mon, 18 Jan 2021, Mauro Carvalho Chehab wrote: > Em Mon, 18 Jan 2021 15:12:27 + > Lee Jones escreveu: > > > On Mon, 18 Jan 2021, Mauro Carvalho Chehab wrote: > > > > > This driver is ready for mainstream. So, move it out of staging. > > > >

Re: [PATCH v2 10/13] mfd: hi6421-spmi-pmic: move driver from staging

2021-01-18 Thread Lee Jones
;s the `git format-patch` -M flag that you want. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog ___ devel mailing list de...@linuxdriverproject.org

[PATCH 5/6] staging: net: wimax: i2400m: tx: Fix a few kernel-doc misdemeanours

2020-11-12 Thread Lee Jones
Jakub Kicinski Cc: Yanir Lubetkin Cc: net...@vger.kernel.org Cc: de...@driverdev.osuosl.org Signed-off-by: Lee Jones --- drivers/staging/wimax/i2400m/tx.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/staging/wimax/i2400m/tx.c b/drivers/staging/wimax/i2400m/tx.c index 1255302e251

[PATCH 3/6] staging: net: wimax: i2400m: fw: Fix some function header misdemeanours

2020-11-12 Thread Lee Jones
rivers/net/wimax/i2400m/fw.c:1548: warning: Function parameter or member 'flags' not described in 'i2400m_dev_bootstrap' Cc: Greg Kroah-Hartman Cc: Inaky Perez-Gonzalez Cc: linux-wi...@intel.com Cc: "David S. Miller" Cc: Jakub Kicinski Cc: Yanir Lubetkin Cc: net...@v

[PATCH 1/6] staging: net: wimax: i2400m: control: Fix some misspellings in i2400m_set_init_config()'s docs

2020-11-12 Thread Lee Jones
;arg_size' description in 'i2400m_set_init_config' Cc: Greg Kroah-Hartman Cc: Inaky Perez-Gonzalez Cc: linux-wi...@intel.com Cc: "David S. Miller" Cc: Jakub Kicinski Cc: net...@vger.kernel.org Cc: de...@driverdev.osuosl.org Signed-off-by: Lee Jones --- drivers/staging/wimax/i2400

[PATCH 4/6] staging: net: wimax: i2400m: netdev: Demote non-conformant function header

2020-11-12 Thread Lee Jones
ller" Cc: Jakub Kicinski Cc: Yanir Lubetkin Cc: net...@vger.kernel.org Cc: de...@driverdev.osuosl.org Signed-off-by: Lee Jones --- drivers/staging/wimax/i2400m/netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wimax/i2400m/netdev.c b/drivers/stagi

[PATCH 6/6] staging: net: wimax: i2400m: fw: Fix incorrectly spelt function parameter in documentation

2020-11-12 Thread Lee Jones
chunk_len' description in 'i2400m_download_chunk' Cc: Greg Kroah-Hartman Cc: Inaky Perez-Gonzalez Cc: linux-wi...@intel.com Cc: "David S. Miller" Cc: Jakub Kicinski Cc: Yanir Lubetkin Cc: net...@vger.kernel.org Cc: de...@driverdev.osuosl.org Signed-off-by: Lee Jones --- drivers/s

[PATCH 2/6] staging: net: wimax: i2400m: driver: Demote some non-conformant kernel-docs, fix others

2020-11-12 Thread Lee Jones
not described in 'i2400m_setup' drivers/net/wimax/i2400m/driver.c:942: warning: Function parameter or member 'i2400m' not described in 'i2400m_release' Cc: Greg Kroah-Hartman Cc: Inaky Perez-Gonzalez Cc: linux-wi...@intel.com Cc: "David S. Miller" Cc: Ja

[PATCH 0/6] Rid i2400m driver set of W=1 issues

2020-11-12 Thread Lee Jones
This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. This is a rebased set that went to Net before the move to Staging. Lee Jones (6): staging: net: wimax: i2400m: control: Fix some misspellings in

Re: [PATCH v1 17/30] mmc: sdhci-tegra: Support OPP and core voltage scaling

2020-11-09 Thread Frank Lee
On Mon, Nov 9, 2020 at 1:53 PM Viresh Kumar wrote: > > On 09-11-20, 08:44, Dmitry Osipenko wrote: > > 09.11.2020 08:35, Viresh Kumar пишет: > > > On 09-11-20, 08:19, Dmitry Osipenko wrote: > > >> Thanks, I made it in a different way by simply adding helpers to the > > >> pm_opp.h which use devm_ad

Re: [PATCH v1 17/30] mmc: sdhci-tegra: Support OPP and core voltage scaling

2020-11-06 Thread Frank Lee
On Fri, Nov 6, 2020 at 9:18 PM Dmitry Osipenko wrote: > > 06.11.2020 09:15, Viresh Kumar пишет: > > Setting regulators for count as 0 doesn't sound good to me. > > > > But, I understand that you don't want to have that if (have_regulator) > > check, and it is a fair request. What I will instead do

Re: [PATCH 00/44] SPMI patches needed by Hikey 970

2020-08-13 Thread Lee Jones
te mode 100644 drivers/staging/hikey9xx/Makefile > create mode 100644 drivers/staging/hikey9xx/TODO > create mode 100644 drivers/staging/hikey9xx/hi6421-spmi-pmic.c > create mode 100644 drivers/staging/hikey9xx/hi6421v600-regulator.c > create mode 100644 drivers/staging/hikey9xx/hi

Re: [PATCH v2] staging: rtlwifi: convert to DEFINE_SHOW_ATTRIBUTE

2018-12-21 Thread Frank Lee
Sorry!!!Please ignore this. ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: Direct io failed with ion

2018-10-11 Thread Rock Lee
On Thu, Oct 11, 2018 at 4:12 PM Dan Carpenter wrote: > > On Thu, Oct 11, 2018 at 11:24:49AM +0800, Rock Lee wrote: > > Hi > > I tested direct io with a ion allocated buffer, got a -EFAULT > > error. It turned out that ion_mmap() set VM_IO & VM_PFNMAP, but > &g

Direct io failed with ion

2018-10-10 Thread Rock Lee
Hi I tested direct io with a ion allocated buffer, got a -EFAULT error. It turned out that ion_mmap() set VM_IO & VM_PFNMAP, but check_vma_flags() (do_direct_IO() calls it) doesn't allow that VMA has these flags set. Could you give me any hit that could solve this issue? -- Cheers, Rock _

Re: staging: rtsx: Add support for RTS5260

2017-10-23 Thread Lee Jones
On Mon, 16 Oct 2017, mario.limoncie...@dell.com wrote: > > -Original Message- > > From: Lee Jones [mailto:lee.jo...@linaro.org] > > Sent: Friday, October 13, 2017 4:15 PM > > To: Limonciello, Mario > > Cc: rui_f...@realsil.com.cn; gre...@linux

Re: staging: rtsx: Add support for RTS5260

2017-10-13 Thread Lee Jones
less pain. That cannot be guaranteed. If people's words would have been their bond in the past, I would have more trust and the world would be a nicer place. :) > > Ok, how does it hook up to the hardware to talk to the reader? > > This particular case its PCIe. I don't

Re: [PATCH] staging: rtsx: Add support for RTS5260

2017-10-13 Thread Lee Jones
On Fri, 13 Oct 2017, Greg KH wrote: > On Fri, Oct 13, 2017 at 10:54:22AM +0100, Lee Jones wrote: > > On Fri, 13 Oct 2017, Greg KH wrote: > > > > > On Fri, Oct 13, 2017 at 04:50:35PM +0800, rui_f...@realsil.com.cn wrote: > > > > From: rui_feng > > >

Re: [PATCH] staging: rtsx: Add support for RTS5260

2017-10-13 Thread Lee Jones
ces which reside on the same piece of silicon. This driver does basically none of that. Instead it *is* the (what we describe above as) sub-device. It does everything. In the absence of a subsystem which covers this type of device, I suggested Misk as a good locati

[PATCH] staging: android: ion: reduce lock contention latency

2017-03-14 Thread Junil Lee
: 3717 -> 93 Signed-off-by: Bongkyu Kim Signed-off-by: Junil Lee --- drivers/staging/android/ion/ion_page_pool.c | 52 ++- drivers/staging/android/ion/ion_priv.h| 8 ++--- drivers/staging/android/ion/ion_system_heap.c | 16 - 3 files changed,

[PATCH] staging: android: ion: fix coding style issue

2017-02-10 Thread Youngdo, Lee
Replaced sizeof(struct foo) into sizeof(*ptr), found by checkpatch.pl. Signed-off-by: Youngdo, Lee --- drivers/staging/android/ion/ion_cma_heap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/android/ion/ion_cma_heap.c b/drivers/staging/android/ion

[PATCH] staging: nvec: Fix coding style

2017-02-09 Thread Youngdo, Lee
Removed unnecessary white spaces found via checkpatch.pl: WARNING: Statements should start on a tabstop Signed-off-by: Youngdo, Lee --- drivers/staging/nvec/nvec_power.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/nvec/nvec_power.c b/drivers/staging

[PATCH] staging: fbtft: fbtft-bus.c: Fix checkpatch error

2017-02-03 Thread Youngdo Lee
Fix checkpatch error: ERROR: space prohibited before that close parenthesis ')' Signed-off-by: Youngdo Lee --- drivers/staging/fbtft/fbtft-bus.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/fbtft/fbtft-bus.c b/drivers/staging/fbtft/fbtft-b

[RESEND PATCH v3] staging/android/ion : fix a race condition in the ion driver

2016-03-09 Thread EunTaik Lee
rst member in the ion_handle structure is the reference count and the ion driver decrements the reference after it has been freed. To fix this problem client->lock mutex is extended to protect all the codes that uses the handle. Signed-off-by: Eun Taik Lee Reviewed-by: Laura Abbott --- cha

Re: Re: [PATCH v3] staging/android/ion : fix a race condition in the ion driver

2016-03-01 Thread EunTaik Lee
shawn.lin@rock- > chips.com; de...@driverdev.osuosl.org; linux-ker...@vger.kernel.org; > eunt...@gmail.com > Subject: Re: [PATCH v3] staging/android/ion : fix a race condition in the > ion driver > > On 02/23/2016 08:38 PM, EunTaik Lee wrote: > > There is a use-after-free

[PATCH v3] staging/android/ion : fix a race condition in the ion driver

2016-02-23 Thread EunTaik Lee
member in the ion_handle structure is the reference count and the ion driver decrements the reference after it has been freed. To fix this problem client->lock mutex is extended to protect all the codes that uses the handle. Signed-off-by: Eun Taik Lee --- changes in v3: 1. remove ion_handle_pu

Re: Re: [PATCH v2] staging/android/ion : fix a race condition in the ion driver

2016-02-23 Thread EunTaik Lee
t.in; shawn.lin@rock- > chips.com; de...@driverdev.osuosl.org; linux-ker...@vger.kernel.org; > eunt...@gmail.com > Subject: Re: [PATCH v2] staging/android/ion : fix a race condition in the > ion driver > > On 02/19/2016 04:03 AM, EunTaik Lee wrote: > > There is a use-after-free

[PATCH v2] staging/android/ion : fix a race condition in the ion driver

2016-02-19 Thread EunTaik Lee
member in the ion_handle structure is the reference count and the ion driver decrements the reference after it has been freed. To fix this problem client->lock mutex is extended to protect all the codes that uses the handle. Signed-off-by: Eun Taik Lee --- changes in v2 : 1. add problem descr

[PATCH v2] staging/android/ion : fix a race condition in the ion driver

2016-02-19 Thread EunTaik Lee
member in the ion_handle structure is the reference count and the ion driver decrements the reference after it has been freed. To fix this problem client->lock mutex is extended to protect all the codes that uses the handle. Signed-off-by: Eun Taik Lee --- drivers/staging/android/io

Re: Re: [RFC PATCH] staging/android/ion : fix a race condition in the ion driver

2016-02-18 Thread EunTaik Lee
2016-02-18 3:54 GMT+09:00 Laura Abbott : > On 02/16/2016 10:32 PM, EunTaik Lee wrote: >> There was a use-after-free problem in the ion driver. >> >> The problem is detected as an unaligned access in the >> spin lock functions since it uses load exclusive >> instr

[RFC PATCH] staging/android/ion : fix a race condition in the ion driver

2016-02-16 Thread EunTaik Lee
lient->lock mutex is extended to protect all the codes that uses the handle. Signed-off-by: Eun Taik Lee --- drivers/staging/android/ion/ion.c | 102 ++ 1 file changed, 82 insertions(+), 20 deletions(-) diff --git a/drivers/staging/android/ion/ion.c b/drivers

[PATCH] staging: wilc1000: Fix compilation error when CONFIG_PM disabled

2016-02-04 Thread Glen Lee
; drivers/staging/wilc1000/wilc_wfi_cfgoperations.c:2833:13: error: 'struct wiphy' has no member named 'wowlan' wdev->wiphy->wowlan = &wowlan_support; Fixes: 73584a40d748 ("staging: wilc1000: add ops resuem/suspend/wakeup in cfg80211") Reported-by

[PATCH RESEND 70/70] staging: wilc1000: remove warnings line over 80 characters

2016-02-04 Thread Glen Lee
From: Leo Kim This patch removes the warnings reported by checkpatch.pl for line over 80 characters. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wilc1000/coreconfigurator.

[PATCH RESEND 69/70] staging: wilc1000: remove unnecessary log message using GENERIC_DBG tag

2016-02-04 Thread Glen Lee
From: Chris Park This patch remove unnecessary log message using GENERIC_DBG tag. Needed log messages has changed netdev_dbg from PRINT_D. And removes variables that were used to log message. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/host_interface.c

[PATCH RESEND 68/70] staging: wilc1000: remove unused debug tag

2016-02-04 Thread Glen Lee
From: Chris Park This patch remove unused debug tag INT_DBG, LOCK_DBG, BUS_DBG, MEM_DBG and FIRM_DBG Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan_common.h | 15 --- drivers/staging/wilc1000/wilc_debugfs.c | 5 +++-- 2 files changed

[PATCH RESEND 67/70] staging: wilc1000: remove unused log message using the RX_DBG tag

2016-02-04 Thread Glen Lee
From: Chris Park This patch remove unused log message using the RX_DBG tag Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan_common.h | 2 -- drivers/staging/wilc1000/wilc_debugfs.c | 2 +- drivers/staging/wilc1000/wilc_wlan.c | 5 - dri

[PATCH RESEND 61/70] staging: wilc1000: renames u32Tsf of connect_resp_info structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames u32Tsf variable to tsf_lo. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) d

[PATCH RESEND 65/70] staging: wilc1000: renames u64Tsf of connect_resp_info structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames u64Tsf variable to tsf_hi. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 6 +++--- 3 files changed, 5 insertions

[PATCH RESEND 64/70] staging: wilc1000: renames strRssi of connect_resp_info structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames strRssi variable to str_rssi. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 13 +++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/stag

[PATCH RESEND 59/70] staging: wilc1000: renames bNewNetwork of connect_resp_info structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames bNewNetwork variable to new_network. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +- 3 files changed, 4 in

[PATCH RESEND 66/70] staging: wilc1000: remove unnecessary wilc_rx_complete function

2016-02-04 Thread Glen Lee
From: Chris Park This patch remove unnecessary wilc_rx_complete function because this function only print unused log message. remove unused has_packet variable nomore. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan.c | 5 - drivers/staging

[PATCH RESEND 62/70] staging: wilc1000: renames struct connect_resp_info variables

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames to avoid camelcase changes follow are: - pu8IEs to ies - u16IEsLen to ies_len Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 7 +++--- drivers/staging/wilc1000/coreconfigurator.h | 4 +-- drivers/staging/wilc1000/host_i

[PATCH RESEND 63/70] staging: wilc1000: renames pJoinParams of connect_resp_info structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames pJoinParams variable to join_params. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 12 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/driver

[PATCH RESEND 60/70] staging: wilc1000: renames u8Found of connect_resp_info structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames u8Found variable to found. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wilc1000

[PATCH RESEND 58/70] staging: wilc1000: renames struct connect_resp_info variables

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames to avoid camelcase changes follow are: - u32TimeRcvdInScanCached to time_scan_cached - u32TimeRcvdInScan to time_scan Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.h | 4 ++-- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 1

[PATCH RESEND 54/70] staging: wilc1000: renames au8bssid of connect_resp_info structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames au8bssid variable to bssid. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 10 +++ drivers/staging/wilc1000

[PATCH RESEND 56/70] staging: wilc1000: renames u8DtimPeriod of connect_resp_info structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames u8DtimPeriod variable to dtim_period. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc10

[PATCH RESEND 57/70] staging: wilc1000: renames u8channel of connect_resp_info structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames u8channel variable to ch. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 14 +++--- 3 files changed, 9

[PATCH RESEND 55/70] staging: wilc1000: renames u16BeaconPeriod of connect_resp_info structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames u16BeaconPeriod variable to beacon_period. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/w

[PATCH RESEND 51/70] staging: wilc1000: renames u16CapInfo of connect_resp_info structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames u16CapInfo variable to cap_info. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc1000

[PATCH RESEND 43/70] staging: wilc1000: remove unused log message using the HOSTINF_DBG tag

2016-02-04 Thread Glen Lee
From: Chris Park This patch remove unused log message using the HOSTINF_DBG tag Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/host_interface.c | 198 +- drivers/staging/wilc1000/linux_wlan_common.h | 2 - drivers/staging/wilc1

[PATCH RESEND 52/70] staging: wilc1000: renames au8ssid of connect_resp_info structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames au8ssid variable to ssid. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 3 ++- drivers/staging/wilc1000/wilc_

[PATCH RESEND 53/70] staging: wilc1000: renames u8SsidLen of connect_resp_info structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames u8SsidLen variable to ssid_len. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/w

[PATCH RESEND 47/70] staging: wilc1000: remove typedef from tstrConnectRespInfo

2016-02-04 Thread Glen Lee
From: Leo Kim This patch removes typedef from the struct tstrConnectRespInfo and renames it to connect_resp_info. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 6 +++--- drivers/staging/wilc1000/coreconfigurator.h | 6 +++--- drivers/staging/wilc1000/host_interface.c

[PATCH RESEND 44/70] staging: wilc1000: remove unused log message using the TX_DBG tag

2016-02-04 Thread Glen Lee
From: Chris Park This patch remove unused log message using the TX_DBG tag Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan.c| 4 drivers/staging/wilc1000/linux_wlan_common.h | 2 -- drivers/staging/wilc1000/wilc_debugfs.c | 2 +- driv

[PATCH RESEND 49/70] staging: wilc1000: remove typedef from pstrNetworkInfo

2016-02-04 Thread Glen Lee
From: Leo Kim This patch removes typedef from the struct pstrNetworkInfo and renames it to network_info. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 7 --- drivers/staging/wilc1000/coreconfigurator.h | 7 --- drivers/staging/wilc1000/host_inte

[PATCH RESEND 46/70] staging: wilc1000: removes function 'wilc_dealloc_assoc_resp_info()'

2016-02-04 Thread Glen Lee
From: Leo Kim This patch removes function wilc_dealloc_assoc_resp_info()'. Does not need this function which only free memory. Therefore, this function is removed and changed directly with kfree. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 22 --

[PATCH RESEND 45/70] staging: wilc1000: removes function 'wilc_dealloc_network_info()'

2016-02-04 Thread Glen Lee
From: Leo Kim This patch removes function 'wilc_dealloc_network_info()'. Does not need this function which only free memory. Therefore, this function is removed and changed directly with kfree. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 22 --

[PATCH RESEND 48/70] staging: wilc1000: renames struct connect_resp_info variables

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames to avoid camelcase and remove prefix names, changes follow are: - u16capability to capability - u16ConnectStatus to status - u16AssocID to assoc_id - pu8RespIEs to ies - u16RespIEsLen to ies_len Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfi

[PATCH RESEND 50/70] staging: wilc1000: renames s8rssi of connect_resp_info structure

2016-02-04 Thread Glen Lee
From: Leo Kim This patch renames s8rssi variable to rssi. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 6 +++--- drivers/staging/wilc1000/wil

[PATCH RESEND 42/70] staging: wilc1000: remove unused log message using the CORECONFIG_DBG tag

2016-02-04 Thread Glen Lee
From: Chris Park This patch remove unused log messages using the CORECONFIG_DBG tag Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 1 - drivers/staging/wilc1000/linux_wlan_common.h | 2 -- drivers/staging/wilc1000/wilc_debugfs.c

[PATCH RESEND 40/70] staging: wilc1000: wilc_wlan.c: replaces PRINT_ER with netdev_err

2016-02-04 Thread Glen Lee
From: Leo Kim This patches replaces PRINT_ER with netdev_err. Removes unnecessary debug logs as well. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.

[PATCH RESEND 41/70] staging: wilc1000: linux_mon.c: replaces PRINT_ER with netdev_err

2016-02-04 Thread Glen Lee
From: Leo Kim This patches replaces PRINT_ER with netdev_err. Removes unnecessary debug logs as well. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_mon.c | 30 ++ 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/drivers/staging/wilc1000/li

[PATCH RESEND 39/70] staging: wilc1000: wilc_msgqueue.c: removes debug print log

2016-02-04 Thread Glen Lee
From: Leo Kim This patches removes unnecessary debug print logs. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_msgqueue.c | 18 -- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_msgqueue.c b/drivers/staging/wilc1000/wilc

[PATCH RESEND 38/70] staging: wilc1000: wilc_wfi_cfgoperations.c: replaces PRINT_ER with netdev_err

2016-02-04 Thread Glen Lee
From: Leo Kim This patches replaces PRINT_ER with netdev_err. Removes unnecessary debug logs as well. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 86 --- 1 file changed, 31 insertions(+), 55 deletions(-) diff --git a/drivers/staging/wilc1

[PATCH RESEND 37/70] staging: wilc1000: Optimize code of wilc_get_chipid function

2016-02-04 Thread Glen Lee
From: Chris Park This patch optimize code of wilc_get_chipid function. u8 type changed to boolean type and removed unnecessary if statement. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan.c | 4 ++-- drivers/staging/wilc1000/wilc_wlan.c| 19 +++

[PATCH RESEND 34/70] staging: wilc1000: remove useless function

2016-02-04 Thread Glen Lee
From: Chris Park This patch remove useless function remove_TCP_related in wilc_wlan.c file Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/stag

[PATCH RESEND 35/70] staging: wilc1000: remove unnecessary braces

2016-02-04 Thread Glen Lee
From: Chris Park This patch remove warnings reported by checkpatch.pl for unnecessary braces Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan

[PATCH RESEND 36/70] staging: wilc1000: remove warnings missing a blank line after declarations

2016-02-04 Thread Glen Lee
From: Chris Park This patch remove warnings reported by checkpatch.pl for missing a blank line after declarations Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/wilc1000/wilc_wlan.c

[PATCH RESEND 33/70] staging: wilc1000: remove useless log message

2016-02-04 Thread Glen Lee
From: Chris Park This patch remove useless log message in wilc_wlan.c file Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 128 ++- 1 file changed, 22 insertions(+), 106 deletions(-) diff --git a/drivers/staging/wilc

[PATCH RESEND 32/70] staging: wilc1000: fix warnings for line over 80 characters

2016-02-04 Thread Glen Lee
From: Chris Park This patch fixes warnings reported by checkpatch.pl for line over 80 characters Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 33 - drivers/staging/wilc1000/wilc_wlan.h | 3 ++- 2 files changed, 22

  1   2   3   4   5   6   7   8   9   10   >