Re: [PATCH] staging: vt6655: fix space prohibted before that ',' Signed-off-by: Ahmadposten

2015-01-18 Thread Giedrius Statkevičius
On 2015.01.19 01:38, Ahmadposten wrote: > --- > drivers/staging/vt6655/device_main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/vt6655/device_main.c > b/drivers/staging/vt6655/device_main.c > index f5cc78e..34e3a76 100644 > --- a/drivers/staging/vt66

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

2015-04-07 Thread Giedrius Statkevičius
kzalloc() could fail so add a check and return -ENOMEM if it does that gets propogated to the pci layer Signed-off-by: Giedrius Statkevičius --- drivers/staging/dgnc/dgnc_tty.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc

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

2015-04-07 Thread Giedrius Statkevičius
On Tue, 7 Apr 2015, Sudip Mukherjee wrote: > On Tue, Apr 07, 2015 at 01:26:32PM +0300, Giedrius Statkevičius wrote: > > kzalloc() could fail so add a check and return -ENOMEM if it does that gets > > propogated to the pci layer > > > > Signed-off-by: Giedrius Statkev

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

2015-04-07 Thread Giedrius Statkevičius
won't execute that if any of the allocations failed. Signed-off-by: Giedrius Statkevičius --- v2: Only returning -ENOMEM if an allocation failed isn't enough as it was spotted by Sudip so create a new label that frees all successfully allocated stuff and only then returns -ENOMEM. Also

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

2015-04-07 Thread Giedrius Statkevičius
On Tue, 7 Apr 2015, Dan Carpenter wrote: > On Tue, Apr 07, 2015 at 03:40:17PM +0300, Giedrius Statkevičius wrote: > > If one of the allocations of memory for storing a channel information struct > > fails then free all the successful allocations and return -ENOMEM that gets > &

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

2015-04-07 Thread Giedrius Statkevičius
se probe failing if we can't allocate enough memory means that this scenario isn't possible. Signed-off-by: Giedrius Statkevičius --- v3: Remove the wrong comment at dgnc_tty_init() that says the allocation could happen somewhere else before this and remove the check if (!brd->channels[

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

2015-04-07 Thread Giedrius Statkevičius
On Tue, 7 Apr 2015, Sudip Mukherjee wrote: > On Tue, Apr 07, 2015 at 05:11:15PM +0300, Giedrius Statkevičius wrote: > > If one of the allocations of memory for storing a channel information struct > > fails then free all the successful allocations and return -ENOMEM that gets &g

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

2015-04-07 Thread Giedrius Statkevičius
On Tue, 7 Apr 2015, Dan Carpenter wrote: > You will need to update the subject to reflect the new patch. > > The original code did check for kzalloc() failure but it had lots of > checks scattered around instead nicely at the point where the memory > was allocated. > There are a lot missing too

[PATCH v4 1/3] staging: dgnc: clean up allocation of ->channels[i]

2015-04-07 Thread Giedrius Statkevičius
ent and check in the same loop because ->channels[i] isn't allocated anywhere else. Finally, remove a unnecessary check if ->channels[i] is NULL in the next loop because it can't be. Signed-off-by: Giedrius Statkevičius --- v4: Make this patch only for dgnc_tty.c and only for this

[PATCH v4 3/3] staging: dgnc: remove redundant !ch checks

2015-04-07 Thread Giedrius Statkevičius
Remove checks that are redundant since we don't have boards with partially initialized ->channels[i]. Signed-off-by: Giedrius Statkevičius --- v4: splitted this from the one patch. drivers/staging/dgnc/dgnc_cls.c | 4 ++-- drivers/staging/dgnc/dgnc_neo.c | 2 +- 2 files changed, 3 in

[PATCH v4 2/3] staging: dgnc: don't forget to check if ->channels[i] is NULL in dgnc_tty_uninit()

2015-04-07 Thread Giedrius Statkevičius
Add a check if ->channels[i] is NULL because a NULL pointer may be dereferenced in case one of the allocations failed Reported-by: Dan Carpenter Signed-off-by: Giedrius Statkevičius --- v4: new patch that fixes a bug reported by Dan Carpenter drivers/staging/dgnc/dgnc_tty.c | 8 ++--

[PATCH] staging: dgnc: remove some dead code from dgnc_tty.c

2015-04-08 Thread Giedrius Statkevičius
Remove some dead code that will never be executed or which serves no purpose Signed-off-by: Giedrius Statkevičius --- drivers/staging/dgnc/dgnc_tty.c | 16 1 file changed, 16 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c index

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

2015-04-11 Thread Giedrius Statkevičius
On Sat, 11 Apr 2015, Sudip Mukherjee wrote: > On Fri, Apr 10, 2015 at 05:48:54PM +0300, Giedrius Statkevičius wrote: > > Remove the dead code protected by in_user in dgnc_tty_write() because it is > > set > > to 0 and never changed to 1 thus the code in ifs never gets execu

Re: [PATCH] mfd: rtsx: add support for rts522A

2015-04-16 Thread Giedrius Statkevičius
On Thu, 16 Apr 2015, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > rts522a(rts5227s) is derived from rts5227, and mainly same with rts5227. > Add it to file mfd/rts5227.c to support this chip. > > Signed-off-by: Micky Ching > --- Maybe update the Kconfig as well? So that the peopl

Re: [PATCH v2] rtl8712: Fixed alignment to match open parenthesis

2016-04-25 Thread Giedrius Statkevičius
On Mon, Apr 25, 2016 at 4:00 AM, Parth Sane wrote: > Added missing signed off by line and fixed alignment to match > open parenthesis. Put "Added missing signed off by line" below the ---. This is not what we want to have in change logs. ___ devel maili

Re: [PATCH] Staging: most: Remove check for __cplusplus in headers

2016-03-06 Thread Giedrius Statkevičius
On Sun, Mar 06, 2016 at 03:50:16PM +0530, PrasannaKumar Muralidharan wrote: > From: PrasannaKumar Muralidharan > > Signed-off-by: PrasannaKumar Muralidharan Commit message is missing. ___ devel mailing list de...@linuxdriverproject.org http://driverdev

[PATCH] staging: ft1000: convert pack pragma to __packed__ attribute

2015-06-22 Thread Giedrius Statkevičius
llowing it. Signed-off-by: Giedrius Statkevičius --- drivers/staging/ft1000/ft1000-usb/ft1000_download.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_download.c b/drivers/staging/ft1000/ft1000-usb/ft1000_download.c index 5def347..345c

[PATCH v2] staging: ft1000: convert pack pragma to __packed

2015-06-25 Thread Giedrius Statkevičius
Convert a Microsoft compiler specific directive "#pragma pack(1)" to a GCC equivalent __packed. Also, by doing this we save ourselves from trouble if any other struct definitions are added after the #pragma because it will be applied to all of the definitions following it. Signed-off-by

Re: [PATCH] iee80211:Remove no longer required strutucre defintion, _STA_QOS in rtl819x_Qos.h

2015-03-06 Thread Giedrius Statkevičius
On 2015.03.06 23:20, Nicholas Krause wrote: > Removes the no longer required structure definition,_STA_QOS due to > no functions using any structures of this type anymore. > > Signed-off-by: Nicholas Krause > --- > drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 48 >

Re: [PATCH 1/4] staging: sm750fb: wrong type for print

2015-03-08 Thread Giedrius Statkevičius
On 2015.03.08 14:31, Sudip Mukherjee wrote: > mention correct format specifier while printing > > Signed-off-by: Sudip Mukherjee > --- > > this patch will give checkpatch warnings about use of printk. > this patch was mainly to fix the build warnings. printk will be > converted to pr_* and dev_*

Re: [PATCH 3/4] staging: sm750fb: correctly define SM750LE_REVISION_ID

2015-03-08 Thread Giedrius Statkevičius
On 2015.03.08 14:31, Sudip Mukherjee wrote: > check if it is already defined before defining SM750LE_REVISION_ID > again and at the same time mention correct data type. > > Signed-off-by: Sudip Mukherjee > --- > drivers/staging/sm750fb/ddk750_chip.h | 4 +++- > 1 file changed, 3 insertions(+), 1

Re: [PATCH 4/4] staging: sm750fb: fix undeclared function

2015-03-08 Thread Giedrius Statkevičius
On 2015.03.08 14:31, Sudip Mukherjee wrote: > kbuild test robot reported that for microblaze-allyesconfig > chan_to_field() and lynxfb_ops_set_par() were not defined. These two > functions were defined under CONFIG_PM, so for any archtecture if > CONFIG_PM is not defined we will have this error. >

[PATCH] dgnc: move more repeating code under 'failed' label

2015-03-08 Thread Giedrius Statkevičius
Signed-off-by: Giedrius Statkevičius --- drivers/staging/dgnc/dgnc_driver.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_driver.c b/drivers/staging/dgnc/dgnc_driver.c index fa1ee79..73ee667 100644 --- a/drivers/staging/dgnc/dgnc

[PATCH] dgnc: Make all lines under 80 characters in dgnc_cls.h

2015-03-08 Thread Giedrius Statkevičius
Some of the lines are over 80 characters so fix that by moving the comments before the struct definition and before #define's. Signed-off-by: Giedrius Statkevičius --- drivers/staging/dgnc/dgnc_cls.h | 40 1 file changed, 28 insertions(+), 12 dele

[PATCH] dgnc: Make all lines under 80 characters in dgnc_driver.c

2015-03-08 Thread Giedrius Statkevičius
Some of the lines are over 80 characters in dgnc_driver.c so fix them by moving the comments closer to the code, tidying the comments to make them smaller, and remove a redundant space after +. Signed-off-by: Giedrius Statkevičius --- drivers/staging/dgnc/dgnc_driver.c | 15 --- 1

[PATCH] dgnc: Remove redundant blank lines in dgnc_cls.c

2015-03-08 Thread Giedrius Statkevičius
There are a lot double of blank lines in dgnc_cls.c thus remove them to make the file follow the CodingStyle. Also, remove one blank line at the end of dgnc_cls.c. Signed-off-by: Giedrius Statkevičius --- drivers/staging/dgnc/dgnc_cls.c | 36 1 file changed

[PATCH 4/4] dgnc: Make all lines under 80 characters in dgnc_driver.h

2015-03-08 Thread Giedrius Statkevičius
Fix comments to make lines less than 80 characters by moving them, breaking the lines or making them neater. Signed-off-by: Giedrius Statkevičius --- drivers/staging/dgnc/dgnc_driver.h | 55 +- 1 file changed, 36 insertions(+), 19 deletions(-) diff --git a

Re: [PATCH 4/4] dgnc: Make all lines under 80 characters in dgnc_driver.h

2015-03-08 Thread Giedrius Statkevičius
This one is bad. I've accidentally sent it, sorry. Don't pull/review this. On 2015.03.09 01:49, Giedrius Statkevičius wrote: > Fix comments to make lines less than 80 characters by moving them, > breaking the lines or making them neater. > [...] -

Re: [PATCH] dgnc: move more repeating code under 'failed' label

2015-03-09 Thread Giedrius Statkevičius
On 2015.03.09 15:06, Dan Carpenter wrote: > Added Matteo to the CC list because he was working on this function as > well and I remembered something I wanted to tell him. > > On Sun, Mar 08, 2015 at 07:46:37PM +0200, Giedrius Statkevičius wrote: >> Currently the label is onl

[PATCH] dgnc: Don't save boards in memory that have failed to initialize

2015-03-09 Thread Giedrius Statkevičius
place where state was set to BOARD_FAILED which was even redundant before this patch. Signed-off-by: Giedrius Statkevičius --- drivers/staging/dgnc/dgnc_driver.c | 19 ++- drivers/staging/dgnc/dgnc_driver.h | 3 +-- drivers/staging/dgnc/dgnc_mgmt.c | 5 + drivers/staging

Re: [PATCH] dgnc: Don't save boards in memory that have failed to initialize

2015-03-09 Thread Giedrius Statkevičius
On 2015.03.09 17:27, Giedrius Statkevičius wrote: > Remove BOARD_FAILED and don't save dgnc_boards which failed to > initialize. > > Assign the result of kzalloc() to brd in dgnc_found_board() and only put > it in the dgnc_Board[] if it successfully initializes. Also, remove

[PATCH v2] dgnc: Don't save boards in memory that have failed to initialize

2015-03-09 Thread Giedrius Statkevičius
place where state was set to BOARD_FAILED which was even redundant before this patch. Signed-off-by: Giedrius Statkevičius --- v2: Remove "brd = dgnc_Board[dgnc_NumBoards];" line which I forgot to do in the first version drivers/staging/dgnc/dgnc_driver.c | 20 ++--

[PATCH 2/3] dgnc: remove DGNC_VERIFY_BOARD macro

2015-03-10 Thread Giedrius Statkevičius
y that have failed to initialize" and make sysfs files after initializing the board in dgnc_driver.c or IOW they are already set for successfully initialized boards before their sysfs files created (412 and 593 lines in dgnc_driver.c). Signed-off-by: Giedrius Statkevičius --- drivers/stag

[PATCH 1/3] dgnc: Remove unneeded dgnc_state array of strings

2015-03-10 Thread Giedrius Statkevičius
Dgnc_state array of strings is never used anywhere and it seems pretty useless anyway since the board state enum names speak for themselves. Signed-off-by: Giedrius Statkevičius --- drivers/staging/dgnc/dgnc_driver.c | 8 drivers/staging/dgnc/dgnc_driver.h | 1 - 2 files changed, 9

[PATCH 3/3] dgnc: clean up comments at start of files

2015-03-10 Thread Giedrius Statkevičius
ng e-mails of people which are responsible for these drivers - see TODO or MAINTAINERS for that. We can preserve the original copyright at the top of the most files because it shows who originally made them. Signed-off-by: Giedrius Statkevičius --- drivers/staging/dgnc/dgnc_cls.c | 16 ---

Re: [PATCH 2/3] Staging: dgnc: Use goto for error handling

2015-03-11 Thread Giedrius Statkevičius
On 2015.03.11 16:04, Quentin Lambert wrote: > This patch introduces goto statments for error handling > and in cases where a lock needs to be released. > > A simplified version of the semantic patch that finds this problem is as > follows: (http://coccinelle.lip6.fr) > > @candidates exists@ > ide

Re: [PATCH 1/1] Drivers: Staging: ft1000: checkpatch warning fixes

2015-03-11 Thread Giedrius Statkevičius
On 2015.03.11 23:03, Janakarajan Natarajan wrote: > Addition of blank line after declaration in ft1000_hw.c > Minor changes to remove {} from single line if and remove extra parenthesis. > Fixes checkpatch warning for and usage. > Greg may complain that you've done too much in 1 patch. > Signed

Re: [PATCHv4 1/2] ft1000-pcmcia: ft1000_hw.c: fix style issues not requiring code refactoring

2015-03-11 Thread Giedrius Statkevičius
Hi Daniele, On 2015.03.12 00:05, Daniele Alessandrelli wrote: > Fix all the trivial style issues (as reported by checkpatch.pl) not requiring > code refactoring. A following patch is expected to fix the remaining issues by > performing some code refactoring. > > Signed-off-by: Daniele Alessandrel

Re: [PATCH v2] dgnc: Don't save boards in memory that have failed to initialize

2015-03-12 Thread Giedrius Statkevičius
On 2015.03.12 12:08, Greg KH wrote: > On Mon, Mar 09, 2015 at 06:29:38PM +0200, Giedrius Statkevičius wrote: >> Remove BOARD_FAILED and don't save dgnc_boards which failed to >> initialize. >> >> Assign the result of kzalloc() to brd in dgnc_found_board() and only

[PATCH 2/6] dgnc: get rid of dpacompat.h, move remaining stuff to digi.h

2015-03-12 Thread Giedrius Statkevičius
Dpacompat.h contained a lot of unused #defines and only few things are used from it so since we've trimmed down digi.h, now we can delete dpacompat.h and move remaining stuff into digi.h. Signed-off-by: Giedrius Statkevičius --- drivers/staging/dgnc/dgnc_driver.c | 1 - drivers/staging

[PATCH 1/6] dgnc: clean up digi.h

2015-03-12 Thread Giedrius Statkevičius
sm-generic/ioctls.h defines them too. Signed-off-by: Giedrius Statkevičius --- drivers/staging/dgnc/digi.h | 235 1 file changed, 235 deletions(-) diff --git a/drivers/staging/dgnc/digi.h b/drivers/staging/dgnc/digi.h index 554fbeb..7e5e6b0 100644 ---

[PATCH 3/6] dgnc: convert TRUE/FALSE #defines to 1/0

2015-03-12 Thread Giedrius Statkevičius
TRUE/FALSE defined in dgnc_types.h are only used in dgnc_tty.c thus it would be better to just use 1/0 to avoid unnecessary extra files and includes. Signed-off-by: Giedrius Statkevičius --- drivers/staging/dgnc/dgnc_cls.h| 3 --- drivers/staging/dgnc/dgnc_driver.h | 1 - drivers/staging

[PATCH 5/6] dgnc: remove unused stuff from dgnc_cls.h

2015-03-12 Thread Giedrius Statkevičius
Remove unused defines from dgnc_cls.h Signed-off-by: Giedrius Statkevičius --- drivers/staging/dgnc/dgnc_cls.h | 13 - 1 file changed, 13 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_cls.h b/drivers/staging/dgnc/dgnc_cls.h index 85042bd..2597e36 100644 --- a/drivers/staging

[PATCH 4/6] dgnc: remove old 2.4-2.6 compat kernel defines

2015-03-12 Thread Giedrius Statkevičius
dgnc_kcompat.h contains some old legacy defines in case the kernel doesn't have __user defined but for current kernel versions these defines don't make sense and are useless so remove them. Move the TTY_FLIPBUF_SIZE define to digi.h because it's used in the code. Signed-o

[PATCH 6/6] dgnc: Clean up dgnc_sysfs.h

2015-03-12 Thread Giedrius Statkevičius
Remove redundant blank lines, move absolute include after relative include. Signed-off-by: Giedrius Statkevičius --- drivers/staging/dgnc/dgnc_sysfs.h | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_sysfs.h b/drivers/staging/dgnc/dgnc_sysfs.h

Re: [PATCH 3/6] dgnc: convert TRUE/FALSE #defines to 1/0

2015-03-12 Thread Giedrius Statkevičius
On 2015.03.12 20:59, Dan Carpenter wrote: > On Thu, Mar 12, 2015 at 08:14:25PM +0200, Giedrius Statkevičius wrote: >> TRUE/FALSE defined in dgnc_types.h are only used in dgnc_tty.c thus it >> would be better to just use 1/0 to avoid unnecessary extra files and >> includes. &

[PATCH v2 1/7] dgnc: remove unused dgnc_ioctl_name() command

2015-03-13 Thread Giedrius Statkevičius
dgnc_ioctl_name() is never used anywhere so remove it Signed-off-by: Giedrius Statkevičius --- v2: Forgot to include this patch in the first version. Without this some of the other patches in this set will fail. drivers/staging/dgnc/dgnc_utils.c | 52

[PATCH v2 2/7] dgnc: clean up digi.h

2015-03-13 Thread Giedrius Statkevičius
Remove a lot of unused structs and defines from digi.h. We still have to be careful with TIOCM_LE and TIOCMSET/TIOCMBIC because termios.h and ioctls.h respectfully redefine them. Signed-off-by: Giedrius Statkevičius --- v2: Updated commit msg and remove some more unused stuff drivers/staging

[PATCH v2 7/7] dgnc: Clean up dgnc_sysfs.h

2015-03-13 Thread Giedrius Statkevičius
Remove redundant blank lines, move absolute include after relative include. Signed-off-by: Giedrius Statkevičius --- v2: no change drivers/staging/dgnc/dgnc_sysfs.h | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_sysfs.h b/drivers/staging/dgnc

[PATCH v2 4/7] dgnc: use linux/types.h instead of dgnc_types.h

2015-03-13 Thread Giedrius Statkevičius
Dgnc_types.h unnecesarily defines TRUE as 1 and FALSE as 0 because we already have a widely used linux/types.h so convert all TRUE to true, FALSE to false and edit the dgnc_board struct to make sure it uses "bool". Signed-off-by: Giedrius Statkevičius --- I'm still not sure wheth

[PATCH v2 5/7] dgnc: remove old 2.4-2.6 compat kernel defines

2015-03-13 Thread Giedrius Statkevičius
dgnc_kcompat.h contains some old legacy defines in case the kernel doesn't have __user defined but for current kernel versions these defines don't make sense and are useless so remove them. Move the TTY_FLIPBUF_SIZE define to digi.h because it's used in the code. Signed-o

[PATCH v2 3/7] dgnc: get rid of dpacompat.h, move remaining stuff to digi.h

2015-03-13 Thread Giedrius Statkevičius
Dpacompat.h contained a lot of unused #defines and only few things are used from it so since we've trimmed down digi.h, now we can delete dpacompat.h and move remaining stuff into digi.h. Signed-off-by: Giedrius Statkevičius --- v2: No change drivers/staging/dgnc/dgnc_driver.c | 1 - dr

[PATCH v2 6/7] dgnc: remove unused stuff from dgnc_cls.h

2015-03-13 Thread Giedrius Statkevičius
Remove unused defines from dgnc_cls.h Signed-off-by: Giedrius Statkevičius --- v2: No change drivers/staging/dgnc/dgnc_cls.h | 13 - 1 file changed, 13 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_cls.h b/drivers/staging/dgnc/dgnc_cls.h index 85042bd..2597e36 100644 --- a

Re: [PATCH v2] dgnc: Don't save boards in memory that have failed to initialize

2015-03-13 Thread Giedrius Statkevičius
Hi Greg, On 2015.03.12 12:08, Greg KH wrote: > On Mon, Mar 09, 2015 at 06:29:38PM +0200, Giedrius Statkevičius wrote: >> Remove BOARD_FAILED and don't save dgnc_boards which failed to >> initialize. >> >> Assign the result of kzalloc() to brd in dgnc_found_b

Re: [PATCH] staging: sm750fb: braces, indents, spaces fix

2015-03-13 Thread Giedrius Statkevičius
Hi Ragavendra, On 2015.03.14 03:04, Ragavendra Nagraj wrote: > This patch removes the braces for the single line if statement. It fixes > the indent positions correctly. It fixes the spaces appropriately making the > code give no > warnings by the checpath.pl. Please accept. The "Please accept."

Re: [PATCH v2 1/7] dgnc: remove unused dgnc_ioctl_name() command

2015-03-17 Thread Giedrius Statkevičius
Greg, you probably missed these :) Could you look at these when you have some time? On 2015.03.13 15:56, Giedrius Statkevičius wrote: > dgnc_ioctl_name() is never used anywhere so remove it > > Signed-off-by: Giedrius Statkevičius > --- > v2: Forgot to include this patch in th

Re: [PATCH] sm750fb: Fix C99 Comments and if else braces

2015-03-19 Thread Giedrius Statkevičius
Hi Amitoj Kaur Chawla, On 2015.03.19 19:39, Amitoj Kaur Chawla wrote: > The edits have been made to remove C99 Comments and properly indent > the if-else statements in the file while taking care of the braces according > to > Linux coding style. > > Signed-off-by: Amitoj Kaur Chawla > --- > dr

Re: [PATCH] sm750fb: Fix Comment and if else braces

2015-03-19 Thread Giedrius Statkevičius
Hi Amitoj Kaur Chawla, On 2015.03.19 20:05, Amitoj Kaur Chawla wrote: > The edits have been made to add a space before the comment and the errors in > braces in the if-else statements. > Previously in commit 2d34f53f1065878cd881ac61a183f8e836583d51, removed > the C99 comments and errors in if-else

Re: [PATCH] staging: fbtft: 80 characters per line in fb_ili9163.c

2015-04-03 Thread Giedrius Statkevičius
On Sat, 4 Apr 2015, Andreas Theodosiou wrote: > This is a patch to the fb_ili9163.c file that inserts a line break in > line #92 to make the line fit into the 80 character limit. > > Signed-off-by: Andreas Theodosiou > --- > drivers/staging/fbtft/fb_ili9163.c | 3 ++- > 1 file changed, 2 insert

Re: [PATCH] staging: sm7xxfb: Fix sparse warning

2015-04-04 Thread Giedrius Statkevičius
On Sat, 4 Apr 2015, Nickolaus Woodruff wrote: > This patch fixes the following sparse warning in sm7xx.h: > > drivers/staging/sm7xxfb/sm7xx.h:122:17: warning: symbol 'vgamode' > was not declared. Should it be static? > > Signed-off-by: Nickolaus Woodruff > --- > drivers/staging/sm7xxfb/sm7xx.h

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

2015-04-05 Thread Giedrius Statkevičius
> to 0 and never changed to 1 thus the code in ifs never gets executed. > > Signed-off-by: Giedrius Statkevičius > --- > v2: Just remove the dead code protected by in_user and join the first and > third > patches. > > drivers/staging/dgnc/dgnc_tty.c | 45 > +

Re: [PATCH] Staging: android: ion: ion.c: Compression of lines for

2016-07-31 Thread Giedrius Statkevičius
On Sun, Jul 31, 2016 at 6:44 PM, Nadim almas wrote: > This patch compresses two lines in to a single line in file > ion.c > if immediate return statement is found.It also removes variable > ret as it is no longer needed. > > ne using script Coccinelle. And coccinelle uses following semantic > patc

Re: [PATCH 1651/1651] staging: i4l: pcbit: Remove explicit NULL comparison

2016-08-02 Thread Giedrius Statkevičius
Hello shyam saini, On Tue, Aug 2, 2016 at 2:33 PM, shyam saini wrote: > Remove the explicit NULL comparison and rewrite in a compact form using > Coccinelle > > Signed-off-by: shyam saini Where are the other 1650 patches? Also, a patch series that consists of 1651 patches??? __

Re: [PATCH] Staging: comedi: ni_daq_dio24.c: Fix block comments use * on subsequent lines.

2016-09-04 Thread Giedrius Statkevičius
On Sun, Sep 4, 2016 at 12:08 PM, Amit Ghadge wrote: > This is a patch to the ni_daq_dio24.c that fixes checkpatch warning: > WARNING: Block comments use * on subsequent lines > > Signed-off-by: Amit Ghadge > --- [...] Why are you sending so many copies of the same patch?

Re: [PATCH 00/87] Fix some style warnings in hfa384x.h

2016-09-28 Thread Giedrius Statkevičius
On Wed, Sep 28, 2016 at 7:27 PM, Sergio Paracuellos wrote: > This patch series fix some warnings reported by checkpatch.pl script in > hfa384x.h: > WARNING: Block comments use * on subsequent lines > WARNING: Block comments use a trailing */ on a separate line > WARNING: do not add new typedefs >

Re: [PATCH]imx-drm coding style fixes

2014-09-18 Thread Giedrius Statkevičius
On 2014.09.19 01:57, Rene Kolarik wrote: > Hello, > > I've fixed coding style issues in drivers/staging/imx-drm directory. This is > a part of Eudyptula Challenge. Please submit your patches "inline" (look at /Documentation/SubmittingPatches section 7). Also, think about if it's worth seperating

Re: [PATCH] staging: fbtft: Made into two lines

2015-08-23 Thread Giedrius Statkevičius
On Fri, Aug 21, 2015 at 06:38:39PM +0530, Aparna Karuthodi wrote: > Made the comment into a new lineto remove a coding style error detected > by checkpatch. > The warning is given below: > drivers/staging/fbtft/fb_pcd8544.c:37: WARNING: line over 80 characters > > Signed-off-by: Aparna Karuthodi

Re: [PATCH] staging: fbtft: Made into two lines

2015-08-24 Thread Giedrius Statkevičius
On Sun, Aug 23, 2015 at 07:00:23PM +0530, Aparna Karuthodi wrote: > Oh! Sorry! I made the changes to correct the faults you figured out. > Is it okay now? Resubmit it properly with "PATCH v2" in the title and a good commit message. > > Signed-off-by: Aparna Karuthodi > --- > drivers/staging/fb

Re: [PATCH] staging: fbtft: Made into two lines

2015-08-24 Thread Giedrius Statkevičius
On Sun, Aug 23, 2015 at 07:00:23PM +0530, Aparna Karuthodi wrote: > Oh! Sorry! I made the changes to correct the faults you figured out. > Is it okay now? Better. Also, submit it again with proper commit message and put "PATCH v2" in the subject. > > Signed-off-by: Aparna Karuthodi > --- > dri

Re: [PATCH 3/8] fix staging:android style issue:Alignment should match open parenthesis

2015-08-26 Thread Giedrius Statkevičius
On Wed, Aug 26, 2015 at 11:52:12AM +0800, Peng Sun wrote: > Signed-off-by: Peng Sun Please always add a changelog message. Also, you need to fix the subject. The convention is to use something like: "a: b: ..." So in this case it should be something like: "staging: android: ..." You can look at `