[PATCH] staging: bcm : Transmit.c : fixed coding style problem

2014-07-23 Thread sudip
applies to next-20140723 Signed-off-by: sudip --- drivers/staging/bcm/Transmit.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/staging/bcm/Transmit.c b/drivers/staging/bcm/Transmit.c index 05fae92..10586f8 100644 --- a/drivers/staging/bcm/Transmit.c +++ b

Re: [PATCH] Documentation: process: Correct numbering

2020-12-15 Thread Sudip Mukherjee
about why you have added Greg and staging list instead of 'linux-...@vger.kernel.org'. -- Regards Sudip ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[PATCH] staging: rtl8723bs: reduce stack usage of rtw_cfg80211_unlink_bss

2019-10-18 Thread Sudip Mukherjee
The build of xtensa allmodconfig gives warning of: In function 'rtw_cfg80211_unlink_bss': warning: the frame size of 1136 bytes is larger than 1024 bytes Instead of having 'select_network' structure as a variable use it as a pointer. Signed-off-by: Sudip Mukherjee --- drive

Re: [PATCH] staging: media: lirc: replace dev_err by pr_err

2014-11-04 Thread Sudip Mukherjee
On Tue, Nov 04, 2014 at 11:48:26PM +0200, Aya Mahfouz wrote: > On Tue, Nov 04, 2014 at 03:06:53PM +0530, Sudip Mukherjee wrote: > > On Tue, Nov 04, 2014 at 02:13:19AM +0200, Aya Mahfouz wrote: > > > This patch replaces dev_err by pr_err since the value > > > of ir

Re: [PATCH] staging: media: lirc: modify print calls

2014-11-05 Thread Sudip Mukherjee
ter if you add version number in the subject. like this is v2. thanks sudip > > Signed-off-by: Aya Mahfouz > --- > drivers/staging/media/lirc/lirc_zilog.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/media/lirc/lirc_zilog.c

[PATCH 2/2] staging: rtl8188eu: unneeded NULL check

2014-11-07 Thread Sudip Mukherjee
need to check it again. Signed-off-by: Sudip Mukherjee --- hi, struct mlme_priv *pmlmepriv and bLinked was moved to the beginning of the function, otherwise it was giving warning about mixed code while compiling. drivers/staging/rtl8188eu/core/rtw_xmit.c | 4 +--- drivers/staging/rtl8188eu/hal

[PATCH 1/2] staging: rtl8188eu: unneeded return variable

2014-11-07 Thread Sudip Mukherjee
a variable is declared and initialized and then never updated in the function.This default value is then used as the return from the function. So removed that unneeded return variable and returning that default initial value directly. Signed-off-by: Sudip Mukherjee --- drivers/staging/rtl8188eu

[PATCH 1/2] staging: unisys: unneeded NULL check

2014-11-07 Thread Sudip Mukherjee
the NULL check for memregion is not required as it has already been checked for NULL after kzalloc. so we can reach this part of the code only if memregion is not NULL. Signed-off-by: Sudip Mukherjee --- drivers/staging/unisys/visorutil/memregion_direct.c | 6 ++ 1 file changed, 2

[PATCH 2/2] staging: unisys: dereferencing NULL pointer

2014-11-07 Thread Sudip Mukherjee
we can reach the label Away in total five situation and in four of of them pDevInfo is NULL. so we were basically dereferencing a NULL pointer. Signed-off-by: Sudip Mukherjee --- drivers/staging/unisys/visorchipset/visorchipset_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion

Re: [PATCH] Staging:skein: Fix trailing whitespace error

2014-11-21 Thread Sudip Mukherjee
On Sat, Nov 22, 2014 at 11:34:29AM +0530, Anjana Sasindran wrote: > This patch fixes the checkpatch.pl error: this patch is not applying to next-20141121. > > ERROR: trailing whitespace but your patch is adding a blank line in the code ? thanks sudip > > Signed-off-by: A

Re: [PATCH] Revert "staging: sm7xxfb: remove driver"

2014-11-21 Thread Sudip Mukherjee
see) for me to help in the driver : 1) i am a newbie. though i have learnt a lot from the patches i sent , but still I am a newbie. 2) most important - I do not have the hardware. So from the TODO list dual head and 2D acceleration support will be tough without actually checking on the hardware. thank

Re: [PATCH] Staging:skein: Fix trailing whitespace error

2014-11-22 Thread Sudip Mukherjee
On Sat, Nov 22, 2014 at 01:20:13PM +0530, anjana s wrote: > Just now I resend the same patch by making necessary changes. > Kindly please go through it you replied only to me. You should always use reply to all unless there is some specific reason not to send the reply to all. thanks

Re: [PATCH] drivers:staging:skein:skein_generic.c: Fixed a whitespace error

2014-11-22 Thread Sudip Mukherjee
nt __init skein_generic_init(void) return 0; - unreg512: crypto_unregister_shash(&alg512); unreg256: thanks sudip > > Signed-off-by: Anjana Sasindran > --- > drivers/staging/skein/skein_generic.c | 1 - > 1 file changed, 1 deletion(-) > >

Re: [PATCH] Revert "staging: sm7xxfb: remove driver"

2014-11-22 Thread Sudip Mukherjee
On Sat, Nov 22, 2014 at 06:00:40AM -0800, Greg Kroah-Hartman wrote: > On Sat, Nov 22, 2014 at 12:32:02PM +0530, Sudip Mukherjee wrote: > > 2) most important - I do not have the hardware. So from the TODO list > > dual head and 2D acceleration support will be tough without actually

Re: [PATCH] Drivers:staging:wlan-ng: Fixed line over 80 characters warning

2014-11-23 Thread Sudip Mukherjee
ntinue; > } > > - /* Validate plug address against chunk data and identify chunk > */ > + /* Validate plug address against chunk data > + * and identify chunk */ this is not the style for multiline comment. plea

Re: [PATCH] Drivers:Staging:rtl8188eu:hal:usb_halinit.c: Added blank line after declarations

2014-11-27 Thread Sudip Mukherjee
*Adapter, > enum hal_def_variable eV > { > u64 DebugComponents = *((u64 *)pValue); > struct odm_dm_struct *dm_ocm = &(haldata->odmpriv); > + > dm_ocm->DebugComponents = DebugComponent

Re: [PATCH] Revert "staging: sm7xxfb: remove driver"

2014-11-30 Thread Sudip Mukherjee
On Sat, Nov 22, 2014 at 09:50:20PM +0530, Sudip Mukherjee wrote: > On Sat, Nov 22, 2014 at 06:00:40AM -0800, Greg Kroah-Hartman wrote: > > On Sat, Nov 22, 2014 at 12:32:02PM +0530, Sudip Mukherjee wrote: > > > 2) most important - I do not have the hardware. So from the TODO li

[PATCH] staging: unisys: remove duplicate header

2014-12-02 Thread Sudip Mukherjee
these header files were included two times Signed-off-by: Sudip Mukherjee --- drivers/staging/unisys/include/timskmod.h | 1 - drivers/staging/unisys/uislib/uisutils.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/staging/unisys/include/timskmod.h b/drivers/staging/unisys

Re: [PATCH] staging: unisys: remove duplicate header

2014-12-02 Thread Sudip Mukherjee
On Tue, Dec 02, 2014 at 01:46:54AM -0800, Jeremiah Mahler wrote: > Sudip, > > On Tue, Dec 02, 2014 at 02:34:58PM +0530, Sudip Mukherjee wrote: > > these header files were included two times > > > > Signed-off-by: Sudip Mukherjee > > --- > > driver

[PATCH v2] staging: unisys: remove duplicate header

2014-12-02 Thread Sudip Mukherjee
these header files were included multiple times Signed-off-by: Sudip Mukherjee --- change in v2: missed seeing that linux/uuid.h is included 3 times drivers/staging/unisys/include/timskmod.h | 1 - drivers/staging/unisys/uislib/uisutils.c | 2 -- 2 files changed, 3 deletions(-) diff --git a

Re: [PATCH] Staging: ft1000: fix various checkpatch.pl issues in ft1000_debug.c

2014-12-02 Thread Sudip Mukherjee
pe of fix in a patch. 2) your Signed-off and your From mentioned in the commit message are different 3) From should have a full name thanks sudip > drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 948 > --- > 1 file changed, 478 insertions(+), 470 deletion

Re: [PATCH] staging: rt8192u: fix sparse warnings in r8192U_core.c

2014-12-02 Thread Sudip Mukherjee
esc_status(struct sk_buff *skb, > > } > > -u32 GetRxPacketShiftBytes819xUsb(struct ieee80211_rx_stats *Status, bool > bIsRxAggrSubframe) > +static u32 GetRxPacketShiftBytes819xUsb(struct ieee80211_rx_stats *Status, > + bool bIsRxAggrSubframe) and h

Re: [PATCH] Staging: ft1000: fix spaces around operators in ft1000_debug.c

2014-12-02 Thread Sudip Mukherjee
On Tue, Dec 02, 2014 at 07:30:40PM -0600, Paul Hedman wrote: > Fixes spacing issues around operators, e.g. i=0 to i = 0, as > found by the checkpatch.pl tool. no Signed-off-by ??? please run your patch through checkpatch before sending. thanks sudip > --- > drivers/staging/ft100

Re: [PATCH] Staging: slicoss: Fix long line issues in slicoss.c

2014-12-02 Thread Sudip Mukherjee
On Tue, Dec 02, 2014 at 11:45:00PM +, Sean Cleator wrote: > > A patch to the slicoss.c file to fix some of the long line issues found by > the > checkpath.pl tool > Signed-off-by: Sean Cleator do not use whitespace before Signed-off-by thanks sudip > > --- >

Re: [PATCH v2] staging: rt8192u: fix sparse warnings in r8192U_core.c

2014-12-03 Thread Sudip Mukherjee
aRate); > > -u16 ComputeTxTime(u16 FrameLength, u16 DataRate, u8 bManagementFrame, > +static u16 ComputeTxTime(u16 FrameLength, u16 DataRate, u8 bManagementFrame, > u8 bShortPreamble) u missed this alignment thanks sudip > { > u16 FrameTime; > @@ -1553,7 +1553,8

Re: [PATCH v3] staging: rtl8192u: fix sparse warnings

2014-12-03 Thread Sudip Mukherjee
fixed? your v2 was having one problem of alignment, but v3 is again having 3 problems. and your patch doesnot apply to next-20141203 sudip > > drivers/staging/rtl8192u/r8192U_core.c | 12 +++- > 1 file changed, 7 insertions(+), 5 deletions(-) > > diff --git a/drivers/stag

Re: [PATCH v3] staging: rtl8192u: fix sparse warnings

2014-12-04 Thread Sudip Mukherjee
On Thu, Dec 04, 2014 at 04:12:47PM +0800, Fred Chou wrote: > > > On 4/12/2014 3:34 PM, Sudip Mukherjee wrote: > > On Thu, Dec 04, 2014 at 10:50:43AM +0800, Fred Chou wrote: > >> From: Fred Chou > >> > >> Fixed the following warnings in sparse: > &

Re: [PATCH v3] staging: rtl8192u: fix sparse warnings

2014-12-04 Thread Sudip Mukherjee
On Thu, Dec 04, 2014 at 05:34:11PM +0800, Fred Chou wrote: > > > On 4/12/2014 4:30 PM, Sudip Mukherjee wrote: > > On Thu, Dec 04, 2014 at 04:12:47PM +0800, Fred Chou wrote: > >> > >> > >> On 4/12/2014 3:34 PM, Sudip Mukherjee wrote: > >>> On

Re: [PATCH] Drivers:staging:octeon: Fixed checkpatch warning

2014-12-05 Thread Sudip Mukherjee
On Fri, Dec 05, 2014 at 04:25:22PM +0530, Athira Lekshmi wrote: > Fixed the checkpatch warning: > Missing a blank line after declarations this is not applying to next-20141204. sudip > > Signed-off-by: Athira Lekshmi > --- > drivers/staging/octeon/ethernet-rx.c |1 + &g

Re: [PATCH] staging: panel: Remove magic numbers in LCD commands

2014-12-06 Thread Sudip Mukherjee
On Fri, Dec 05, 2014 at 10:10:43PM +0100, Mariusz Gorski wrote: > Get rid of magic numbers in LCD commands and replace them with defined > values, so that it's more obvious that the commands are doing. > it is not applying to next-20141205. is it based on staging-testing ? thanks s

Re: [PATCH v2] staging: panel: Remove magic numbers in LCD commands

2014-12-06 Thread Sudip Mukherjee
f two more magic number usages this one also not applying to next-20141205. is it on staging-testing? thanks sudip > > drivers/staging/panel/panel.c | 96 > +-- > 1 file changed, 66 insertions(+), 30 deletions(-) > > diff --git a/drivers/stag

Re: [PATCH] staging: vt6655: mac.c: Remove unused function

2014-12-07 Thread Sudip Mukherjee
not applying to next-20141205 sudip > drivers/staging/vt6655/mac.c | 42 > -- > drivers/staging/vt6655/mac.h |1 - > 2 files changed, 43 deletions(-) > > diff --git a/drivers/staging/vt6655/mac.c b/drivers/staging/vt6655/mac.c

Re: [PATCH 1/1] [PATCH] Staging:vt6655: sparse warning fix

2014-12-09 Thread Sudip Mukherjee
On Mon, Dec 08, 2014 at 11:33:25PM +0530, Adithya K wrote: > From: Adithya Krishnamurthy > > Fixed sparse warning fix. you should mention what type of warning you have fixed. sudip > > Signed-off-by: Adithya Krishnamurthy > --- > --- > drivers/staging/vt6655/device

Re: [PATCH] staging/iio/accel: checkpatch: fixed long lines by moving comments

2014-12-22 Thread Sudip Mukherjee
; +#define ADIS16203_SMPL_PRD 0x36 /* Internal sample period (rate) > +* control */ this is not the style for multiline comments. Check in CodingStyle. and besides, I think it will be better if you can put the comments in a line of its own. thanks sudip > #define

Re: [PATCH v2] staging: comedi: dmm32at: fix style issues

2014-12-26 Thread Sudip Mukherjee
dev->iobase + DMM32AT_INTCLK_REG); } static int dmm32at_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) thanks sudip > } > > static int dmm32at_ai_cmd(struct comedi_device *dev, struct comedi_subdevice > *s) > -- > 2.2.0.rc0.207.ga3a616

Re: [PATCH] staging/iio/accel: checkpatch: fixed long lines by moving comments

2014-12-26 Thread Sudip Mukherjee
On Fri, Dec 26, 2014 at 10:00:00AM +, Jonathan Cameron wrote: > On 22/12/14 13:48, Sudip Mukherjee wrote: > > On Mon, Dec 22, 2014 at 02:23:42AM +0100, Helene Gsaenger wrote: > >> Signed-off-by: Helene Gsaenger > >> Signed-off-by: Simone Weiss > >>

Re: [PATCH] staging: ft1000: ft1000-usb: ft1000_hw.c: Fix a potential memory leak.

2014-12-28 Thread Sudip Mukherjee
your tree is not a current one. This DEBUG line was changed by patch "b5d8204d00fa3bcd1f3b4b060fb90675d00baee0" thanks sudip > > + ret = ft1000_read_register(ft1000dev, &temp, FT1000_REG_DOORBELL); > + if (ret) > + return ret; > + > com

Re: [PATCH] Staging: line6: remove spaces before commas.

2014-12-28 Thread Sudip Mukherjee
; drivers/staging/line6/pcm.h:162: ERROR: space prohibited before that ',' > (ctx:WxE) I am sure Jeremiah Mahler actually wanted to tell you that you should include that information in the commit log. We always mention what kind of error was fixed. thanks sudip > > >

Re: [PATCH 3/3] Staging: comedi: fix space and 80 char coding style issue

2014-12-28 Thread Sudip Mukherjee
atches. One patch should do only one type of change. thanks sudip > > Signed-off-by: Jitendra Kumar Khasdev > --- > drivers/staging/comedi/drivers/s626.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/comedi/drivers/s626.c

Re: [PATCH v2] staging: comedi: dmm32at: fix style issues

2014-12-29 Thread Sudip Mukherjee
ch with 2 tabs > instead of current v2 indentation, I'll do it, please let me know. well, if you check CodingStyle in Documentation, it clearly says: "Outside of comments, documentation and except in Kconfig, spaces are never used for indentation". Sudip > > On Fri, Dec

Re: [PATCH] staging: lustre: linux-prim.c: fix sparse warnings about static declaration

2014-12-30 Thread Sudip Mukherjee
;WARNING: "libcfs_arch_init" [drivers/staging/lustre/lustre/libcfs/libcfs.ko] undefined!" "WARNING: "libcfs_arch_cleanup" [drivers/staging/lustre/lustre/libcfs/libcfs.ko] undefined!" thanks sudip > > Serguey > -- > To unsubscribe from this list: send

[PATCH] staging: xgifb: remove unnecessary check

2014-12-31 Thread Sudip Mukherjee
the check for htotal and vtotal is not required as we have already checked for them and returned -EINVAL if any of them is zero. Signed-off-by: Sudip Mukherjee --- drivers/staging/xgifb/XGI_main_26.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/xgifb

[PATCH 3/3] MAINTAINERS: update for SM7XX driver

2014-12-31 Thread Sudip Mukherjee
add myself and Teddy Wang as the Maintainer of the SM7XX FRAME BUFFER DRIVER. Signed-off-by: Sudip Mukherjee --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6e18e65..4ffe882 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9178,6

[PATCH 2/3] staging: sm7xxfb: update TODO file

2014-12-31 Thread Sudip Mukherjee
update the email addresses in the TODO file, also update the final destination of this driver. Signed-off-by: Sudip Mukherjee --- drivers/staging/sm7xxfb/TODO | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/staging/sm7xxfb/TODO b/drivers/staging/sm7xxfb

[PATCH 1/3] Revert "staging: sm7xxfb: remove driver"

2014-12-31 Thread Sudip Mukherjee
This reverts commit "dc93c85235efa5201e9a3c116bc3fbd1afc1a182" Signed-off-by: Sudip Mukherjee --- Hi Greg K-H With reference to our discussion at https://lkml.org/lkml/2014/11/22/54 , now I have the hardware and I will be working on the code along with Teddy Wang. drivers/stagi

Re: [PATCH v3 2/4] staging: rtl8192u: fix whitespace

2014-12-31 Thread Sudip Mukherjee
On Wed, Dec 31, 2014 at 09:33:43PM +, Lorenzo Stoakes wrote: > This patch fixes warnings/errors raised by checkpatch.pl relating to > whitespace > in r8192U_dm.c and additionally it removes inconsistent whitespace > throughout. > > Additionally some 0x00... padding has been added for alignmen

Re: [PATCH v2 3/4] staging: rtl8192u: remove redundant code

2014-12-31 Thread Sudip Mukherjee
On Wed, Dec 31, 2014 at 09:10:42PM +, Lorenzo Stoakes wrote: > This patch fixes warnings/errors raised by checkpatch.pl relating to redundant > code in r8192U_dm.c. > > Signed-off-by: Lorenzo Stoakes > --- > drivers/staging/rtl8192u/r8192U_dm.c | 176 > +-- >

Re: [PATCH v2 3/4] staging: rtl8192u: remove redundant code

2014-12-31 Thread Sudip Mukherjee
On Thu, Jan 01, 2015 at 10:19:56AM +0530, Sudip Mukherjee wrote: > On Wed, Dec 31, 2014 at 09:10:42PM +, Lorenzo Stoakes wrote: > > This patch fixes warnings/errors raised by checkpatch.pl relating to > > redundant > > code in r8192U_dm.c. > > > &g

Re: [PATCH v3 2/4] staging: rtl8192u: fix whitespace

2014-12-31 Thread Sudip Mukherjee
On Wed, Dec 31, 2014 at 09:40:13PM -0800, Joe Perches wrote: > On Thu, 2015-01-01 at 10:17 +0530, Sudip Mukherjee wrote: > > On Wed, Dec 31, 2014 at 09:33:43PM +, Lorenzo Stoakes wrote: > > > This patch fixes warnings/errors raised by checkpatch.pl relating to > &g

Re: [PATCH 1/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread Sudip Mukherjee
anually? let git do it.. thanks sudip > --- > drivers/staging/comedi/drivers/pcl812.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/staging/comedi/drivers/pcl812.c > b/drivers/staging/comedi/drivers/pcl812.c > index ac243ca..24eb601 1006

Re: [PATCH 1/5] Staging: comedi: fix line over 80 characters warning

2015-01-03 Thread Sudip Mukherjee
why you are sending different patches to do the same type of change in comedi? usually we send different patches to do different types of change, but for the same type of change it can be a single patch. sudip > --- > drivers/staging/comedi/drivers/pcl812.c | 3 ++- > 1 file change

Re: [PATCH v4] Staging: comedi: Fix over 80 character line limit

2015-01-04 Thread Sudip Mukherjee
patch. this (your comment) should not come in the commit message. It should be placed below the --- sudip > > Signed-off-by: Jitendra Kumar Khasdev > --- > drivers/staging/comedi/drivers/pcl812.c | 13 - > 1 file changed, 8 insertions(+), 5 deletions(-) > > di

Re: [PATCH] Staging: comedi: dmm32at: Fixed a code indent issue

2015-01-05 Thread Sudip Mukherjee
gt; > play nicely with standard indentation from git log. > > Hey, > > I couldn't find that rule in Kernel documentation. Besides there were no > complaints from checkpatch.pl tool. Please check SubmittingPatches in Documentation. It says: 'the "summary" must

Re: [PATCH] Staging: comedi: dmm32at: Fixed a code indent issue

2015-01-06 Thread Sudip Mukherjee
On Tue, Jan 06, 2015 at 10:08:37AM +, Ian Abbott wrote: > On 06/01/15 06:02, Sudip Mukherjee wrote: > >On Mon, Jan 05, 2015 at 08:24:06PM +0100, Piotr Kubus wrote: > >>On Sun, Jan 04, 2015 at 11:31:29PM +0100, Konrad Zapalowicz wrote: > >>>On 01/04, Piotr Kubus w

Re: [PATCH] Staging: comedi: dmm32at: Fixed a code indent issue

2015-01-06 Thread Sudip Mukherjee
On Tue, Jan 06, 2015 at 02:33:27PM +0100, Konrad Zapalowicz wrote: > On 01/06, Sudip Mukherjee wrote: > > yes, i read the SubmittingPatches again. summary is the subject line. But > > then as Piotr Kubus has written that he could not find this rule in the > > documentaion,

Re: [PATCH v2] Staging: vt6656: Checkpatch fix: else after break or return

2015-01-12 Thread Sudip Mukherjee
- a/drivers/staging/vt6656/rxtx.c > +++ b/drivers/staging/vt6656/rxtx.c > @@ -574,8 +574,6 @@ static u16 vnt_fill_cts_head(struct vnt_usb_send_context > *tx_context, > > return vnt_rxtx_datahead_g(tx_context, &buf->data_head); > } > - >

Re: [PATCH v2] Staging: vt6656: Checkpatch fix: else after break or return

2015-01-12 Thread Sudip Mukherjee
On Mon, Jan 12, 2015 at 09:58:17PM -0800, Greg KH wrote: > On Tue, Jan 13, 2015 at 10:53:12AM +0530, Sudip Mukherjee wrote: > > On Tue, Jan 13, 2015 at 03:51:36AM +1100, Emrys Bayliss wrote: > > > This patch fixes the following checkpatch.pl error: > > > rxtx.c:588: WAR

Re: [PATCH v2] Staging: vt6656: Checkpatch fix: else after break or return

2015-01-12 Thread Sudip Mukherjee
On Tue, Jan 13, 2015 at 11:54:27AM +0530, Sudip Mukherjee wrote: > On Mon, Jan 12, 2015 at 09:58:17PM -0800, Greg KH wrote: > > On Tue, Jan 13, 2015 at 10:53:12AM +0530, Sudip Mukherjee wrote: > > > > > > any reason why this return was removed ? > > > > B

[PATCH] staging: sm750fb: add drm development branch details

2018-04-29 Thread Sudip Mukherjee
...@lists.freedesktop.org Signed-off-by: Sudip Mukherjee --- drivers/staging/sm750fb/TODO | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/staging/sm750fb/TODO b/drivers/staging/sm750fb/TODO index f710ab1..aeb2df3 100644 --- a/drivers/staging/sm750fb/TODO +++ b/drivers/staging

[PATCH] staging: panel: remove duplicate code

2015-04-07 Thread Sudip Mukherjee
marking keypad_initialized and lcd.initialized as false. so this part of the code will never execute. Signed-off-by: Sudip Mukherjee --- drivers/staging/panel/panel.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c index

Re: [PATCH] staging: panel: remove duplicate code

2015-04-07 Thread Sudip Mukherjee
On Tue, Apr 07, 2015 at 11:49:30AM +0300, Dan Carpenter wrote: > On Tue, Apr 07, 2015 at 01:55:01PM +0530, Sudip Mukherjee wrote: > > I hadn't looked at this driver much before. It sucks that > parport_driver ->attach() functions can't fail... then maybe, we can c

Re: [PATCH] staging: lustre: Make cfs_sched_rehash static

2015-04-07 Thread Sudip Mukherjee
ot declared. Should it be static? you have not build tested your patch. WARNING: "cfs_sched_rehash" [drivers/staging/lustre/lustre/libcfs/libcfs.ko] undefined! it has been used in lustre/lustre/libcfs/module.c regards sudip > ___ devel mai

Re: [PATCH] staging: panel: remove duplicate code

2015-04-07 Thread Sudip Mukherjee
On Tue, Apr 07, 2015 at 11:44:29AM +0200, Greg Kroah-Hartman wrote: > On Tue, Apr 07, 2015 at 02:55:02PM +0530, Sudip Mukherjee wrote: > > On Tue, Apr 07, 2015 at 11:49:30AM +0300, Dan Carpenter wrote: > > > On Tue, Apr 07, 2015 at 01:55:01PM +0530, Sudip Mukherjee wrote: >

Re: [PATCH] staging: panel: remove duplicate code

2015-04-07 Thread Sudip Mukherjee
On Tue, Apr 07, 2015 at 12:45:23PM +0300, Dan Carpenter wrote: > On Tue, Apr 07, 2015 at 02:55:02PM +0530, Sudip Mukherjee wrote: > > If you write the patch then I will review it. :) sure, I am on it. > > > lack of ppscsi.I mailed Tim Waugh, but he is not interested to wo

Re: [PATCH] staging: dgnc: check if kzalloc fails in dgnc_tty_init()

2015-04-07 Thread Sudip Mukherjee
return -ENOMEM; won't this create memory leak ? suppose you have brd->nasync = 3 and kzalloc fails when i=2, and you return -ENOMEM, then what happens to the memory already allocated to brd->channels[0] and brd->channels[1] ? regards sudip

commit reverted in staging/sm750fb

2015-04-07 Thread Sudip Mukherjee
me know when it was sent.. And I must say sorry for missing a new file creation in a patch. regards sudip ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: commit reverted in staging/sm750fb

2015-04-07 Thread Sudip Mukherjee
On Tue, Apr 07, 2015 at 11:01:57AM -0300, Fabio Estevam wrote: > On Tue, Apr 7, 2015 at 10:56 AM, Sudip Mukherjee > wrote: > > Hi Greg, > > I saw that you have reveretd one commit > > <6ad6b5ed3e2472b399b567a2f036006bf25df467> > > "Staging: sm750fb: Fix C9

Re: [PATCH] staging: panel: remove duplicate code

2015-04-07 Thread Sudip Mukherjee
Ie parallel port NIC > I guess. i already have pc with parallel port, and on that i check your panel codes before sending. but here we were discussing about the required hardware to test ppscsi module. regards sudip > > Cheers, > Willy > ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH v3] staging: dgnc: check if kzalloc fails in dgnc_tty_init()

2015-04-07 Thread Sudip Mukherjee
can try to get information about a board that failed to probe) checks if > ->channels[foo] is NULL or not because probe failing if we can't allocate > enough > memory means that this scenario isn't possible. i think now it becam

Re: commit reverted in staging/sm750fb

2015-04-07 Thread Sudip Mukherjee
On Tue, Apr 07, 2015 at 11:24:43AM -0300, Fabio Estevam wrote: > On Tue, Apr 7, 2015 at 11:08 AM, Sudip Mukherjee > wrote: > > >> Just run 'git show 6ad6b5ed3e247' in linux-next and you can see such > >> commit. > > I have already seen the patch. Bu

Re: [PATCH] staging: panel: remove duplicate code

2015-04-07 Thread Sudip Mukherjee
On Tue, Apr 07, 2015 at 12:12:06PM +0200, Greg Kroah-Hartman wrote: > On Tue, Apr 07, 2015 at 03:26:58PM +0530, Sudip Mukherjee wrote: > > On Tue, Apr 07, 2015 at 11:44:29AM +0200, Greg Kroah-Hartman wrote: > > > On Tue, Apr 07, 2015 at 02:55:02PM +0530, Sudip Mukherjee wrote: &

Re: commit reverted in staging/sm750fb

2015-04-07 Thread Sudip Mukherjee
On Tue, Apr 07, 2015 at 04:34:54PM +0200, Greg KH wrote: > On Tue, Apr 07, 2015 at 07:26:53PM +0530, Sudip Mukherjee wrote: > > Hi Greg, > > I saw that you have reveretd one commit > > <6ad6b5ed3e2472b399b567a2f036006bf25df467> > > "Staging: sm750fb: Fix C99 C

Re: [PATCH] Staging: rtl8188eu: Replaced kzalloc and memcpy combination with kmemdup

2015-04-07 Thread Sudip Mukherjee
On Tue, Apr 07, 2015 at 02:25:39PM +, Dhere, Chaitanya (C.) wrote: > This change was detected with the help of coccinelle tool. > It performs the same function as kzalloc amd memcpy. > > Signed-off-by: Chaitanya Dhere your From: name and this name does not match. r

[PATCH 02/14] ALSA: portman2x4: return proper error values from attach

2015-04-08 Thread Sudip Mukherjee
now that we are monitoring the return value from attach, make the required changes to return proper value from its attach function. Signed-off-by: Sudip Mukherjee --- sound/drivers/portman2x4.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/sound/drivers

[PATCH 06/14] spi: butterfly: return proper error values from attach

2015-04-08 Thread Sudip Mukherjee
now that we are monitoring the return value from attach, make the required changes to return proper value from its attach function. Signed-off-by: Sudip Mukherjee --- drivers/spi/spi-butterfly.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/spi/spi

[PATCH 00/14] parport: check success of attach call

2015-04-08 Thread Sudip Mukherjee
code from parport_register_driver. Sudip Mukherjee (14): parport: return value of attach and parport_register_driver ALSA: portman2x4: return proper error values from attach ALSA: mts64: return proper error values from attach staging: panel: return proper error values from attach spi

[PATCH 03/14] ALSA: mts64: return proper error values from attach

2015-04-08 Thread Sudip Mukherjee
now that we are monitoring the return value from attach, make the required changes to return proper value from its attach function. Signed-off-by: Sudip Mukherjee --- sound/drivers/mts64.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/sound/drivers/mts64.c b

[PATCH 04/14] staging: panel: return proper error values from attach

2015-04-08 Thread Sudip Mukherjee
now that we are monitoring the return value from attach, make the required changes to return proper value from its attach function. Signed-off-by: Sudip Mukherjee --- drivers/staging/panel/panel.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/staging

[PATCH 08/14] [SCSI] imm: return proper error values from attach

2015-04-08 Thread Sudip Mukherjee
now that we are monitoring the return value from attach, make the required changes to return proper value from its attach function. Signed-off-by: Sudip Mukherjee --- drivers/scsi/imm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/imm.c b/drivers/scsi

[PATCH 01/14] parport: return value of attach and parport_register_driver

2015-04-08 Thread Sudip Mukherjee
only mark attach as failed only if it has never returned a 0. Signed-off-by: Sudip Mukherjee --- drivers/parport/share.c | 20 +++- include/linux/parport.h | 2 +- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/drivers/parport/share.c b/drivers/parport/share.c index

[PATCH 07/14] [SCSI] ppa: return proper error values from attach

2015-04-08 Thread Sudip Mukherjee
now that we are monitoring the return value from attach, make the required changes to return proper value from its attach function. Signed-off-by: Sudip Mukherjee --- drivers/scsi/ppa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/ppa.c b/drivers/scsi

[PATCH 11/14] net: plip: return proper error values from attach

2015-04-08 Thread Sudip Mukherjee
now that we are monitoring the return value from attach, make the required changes to return proper value from its attach function. also return the proper error code in module_init. Signed-off-by: Sudip Mukherjee --- drivers/net/plip/plip.c | 16 ++-- 1 file changed, 10 insertions

[PATCH 09/14] pps: return proper error values from attach

2015-04-08 Thread Sudip Mukherjee
now that we are monitoring the return value from attach, make the required changes to return proper value from its attach function. Signed-off-by: Sudip Mukherjee --- drivers/pps/generators/pps_gen_parport.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers

[PATCH 05/14] spi: lm70llp: return proper error values from attach

2015-04-08 Thread Sudip Mukherjee
now that we are monitoring the return value from attach, make the required changes to return proper value from its attach function. Signed-off-by: Sudip Mukherjee --- drivers/spi/spi-lm70llp.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/spi/spi-lm70llp.c b

[PATCH 12/14] i2c-parport: return proper error values from attach

2015-04-08 Thread Sudip Mukherjee
now that we are monitoring the return value from attach, make the required changes to return proper value from its attach function. Signed-off-by: Sudip Mukherjee --- drivers/i2c/busses/i2c-parport.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/busses

[PATCH 10/14] pps: return proper error values from attach

2015-04-08 Thread Sudip Mukherjee
now that we are monitoring the return value from attach, make the required changes to return proper value from its attach function. Signed-off-by: Sudip Mukherjee --- drivers/pps/clients/pps_parport.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/pps/clients

[PATCH 14/14] char: lp: return proper error values from attach

2015-04-08 Thread Sudip Mukherjee
now that we are monitoring the return value from attach, make the required changes to return proper value from its attach function. Signed-off-by: Sudip Mukherjee --- drivers/char/lp.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/drivers/char/lp.c b

[PATCH 13/14] ppdev: return proper error values from attach

2015-04-08 Thread Sudip Mukherjee
now that we are monitoring the return value from attach, make the required changes to return proper value from its attach function. Signed-off-by: Sudip Mukherjee --- drivers/char/ppdev.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/char/ppdev.c b

Re: [PATCH 01/14] parport: return value of attach and parport_register_driver

2015-04-08 Thread Sudip Mukherjee
's a > minor thing. Does this actually simplify the driver code? That's the > more important thing. i don't think this will simplify the driver code, but atleast now parport_register_driver() will not report success when we have actually failed. And as a result module_init will

Re: [PATCH 01/14] parport: return value of attach and parport_register_driver

2015-04-08 Thread Sudip Mukherjee
ot then we give up. i am sending a v2 and also a patch to change one driver. regards sudip > > regards, > dan carpenter > ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH 02/14] ALSA: portman2x4: return proper error values from attach

2015-04-08 Thread Sudip Mukherjee
On Wed, Apr 08, 2015 at 04:32:57PM +0300, Sergei Shtylyov wrote: > Hello. > > On 4/8/2015 2:20 PM, Sudip Mukherjee wrote: > > >now that we are monitoring the return value from attach, make the > >So you've first changed the method prototype and follow up wit

Re: [PATCH v2 1/2 RESEND] staging: dgnc: remove dead code in dgnc_tty_write()

2015-04-10 Thread Sudip Mukherjee
t tty_struct *tty, ushort tail; ushort tmask; uint remain; - int from_user = 0; if (tty == NULL || dgnc_TmpWriteBuf == NULL) return 0; regards sudip ___ devel mailing list de...@linuxdrive

Re: [PATCH v2 1/2 RESEND] staging: dgnc: remove dead code in dgnc_tty_write()

2015-04-11 Thread Sudip Mukherjee
On Sat, Apr 11, 2015 at 03:20:43PM +0300, Giedrius Statkevičius wrote: > On Sat, 11 Apr 2015, Sudip Mukherjee wrote: > > > On Fri, Apr 10, 2015 at 05:48:54PM +0300, Giedrius Statkevičius wrote: > Well, I think this is wrong because: yes. I looked at many of the tty drivers and a

[PATCH 1/4] parport: modify parport subsystem to use devicemodel

2015-04-15 Thread Sudip Mukherjee
parport starts using device-model and we now have parport under /sys/bus. As the ports are discovered they are added as device under /sys/bus/parport. As and when other drivers register new device, they will be registered as a subdevice under the relevant parport. Signed-off-by: Sudip Mukherjee

[PATCH 0/4] convert parport to device-model

2015-04-15 Thread Sudip Mukherjee
converted. I am also in the process of procuring a parallel port printer so that the code can properly be maintained and can be marked as Maintained. Sudip Mukherjee (4): parport: modify parport subsystem to use devicemodel parport: update TODO and documentation i2c-parport: use device-model

[PATCH 3/4] i2c-parport: use device-model parport

2015-04-15 Thread Sudip Mukherjee
modified the functions to use the new device-model of parport. Signed-off-by: Sudip Mukherjee --- drivers/i2c/busses/i2c-parport.c | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/drivers/i2c/busses/i2c-parport.c b/drivers/i2c/busses/i2c-parport.c index

[PATCH 2/4] parport: update TODO and documentation

2015-04-15 Thread Sudip Mukherjee
as parport starts using the device-model, update the documentation to show the newly added functions and update TODO with some other planned modifications. Signed-off-by: Sudip Mukherjee --- Documentation/parport-lowlevel.txt | 49 ++ drivers/parport/TODO

[PATCH 4/4] staging: panel: use parport in device-model

2015-04-15 Thread Sudip Mukherjee
modified the required functions to start using the new parport device-model Signed-off-by: Sudip Mukherjee --- drivers/staging/panel/panel.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c

Re: [PATCH 1/4] parport: modify parport subsystem to use devicemodel

2015-04-15 Thread Sudip Mukherjee
ts in v2 of this patch series. > > On Wed, Apr 15, 2015 at 01:18:41PM +0530, Sudip Mukherjee wrote: > Don't print warnings on kmalloc() failure. > > I think kzalloc() is better here. That way if the ->init_state() > functions don't set it, then we kn

Re: [PATCH 1/4] parport: modify parport subsystem to use devicemodel

2015-04-15 Thread Sudip Mukherjee
On Wed, Apr 15, 2015 at 11:33:59AM +0300, Dan Carpenter wrote: > On Wed, Apr 15, 2015 at 01:18:41PM +0530, Sudip Mukherjee wrote: > > > The difference between parport_register_device() and > parport_register_dev() isn't clear from the name. i kept the name similar deliberate

  1   2   3   4   5   6   7   8   9   10   >