Signed-off-by: Daeseok Youn
---
drivers/staging/dgnc/dgnc_driver.h | 4 +-
drivers/staging/dgnc/dgnc_tty.c| 118 ++---
2 files changed, 61 insertions(+), 61 deletions(-)
diff --git a/drivers/staging/dgnc/dgnc_driver.h
b/drivers/staging/dgnc/dgnc_driver.h
For using tty_alloc_driver, SerialDriver has to be pointer type.
It also has checkpatch.pl warning about Camelcase, so
SerialDriver is changed to serial_driver.
Signed-off-by: Daeseok Youn <daeseok.y...@gmail.com>
---
drivers/staging/dgnc/dgnc_driver.h | 4 +-
drivers/staging/dgnc/dgnc
For using tty_alloc_driver, SerialDriver has to be pointer type.
It also has checkpatch.pl warning about Camelcase, so
SerialDriver is changed to serial_driver.
Signed-off-by: Daeseok Youn
---
drivers/staging/dgnc/dgnc_driver.h | 4 +-
drivers/staging/dgnc/dgnc_tty.c| 118
2016-03-10 17:21 GMT+09:00 Tanvi Surana :
> I have modified the file dgap.c ,making changes to the multiline
> comments,thus making them appear presentable
>
> Signed-Off-By: Tanvi Surana
> ---
> drivers/staging/dgap/dgap.c | 59
>
2016-03-10 17:21 GMT+09:00 Tanvi Surana :
> I have modified the file dgap.c ,making changes to the multiline
> comments,thus making them appear presentable
>
> Signed-Off-By: Tanvi Surana
> ---
> drivers/staging/dgap/dgap.c | 59
> +
> 1 file
the tty_alloc_driver() can allocate memory for ttys and termios.
And also it can release allocated memory easly with using
put_tty_driver().
Signed-off-by: Daeseok Youn <daeseok.y...@gmail.com>
---
V2: removes appended email header on top of commit log
drivers/staging/dgnc/dgnc_tty.
the tty_alloc_driver() can allocate memory for ttys and termios.
And also it can release allocated memory easly with using
put_tty_driver().
Signed-off-by: Daeseok Youn
---
V2: removes appended email header on top of commit log
drivers/staging/dgnc/dgnc_tty.c | 86
For using tty_alloc_driver, SerialDriver has to be pointer type.
It also has checkpatch.pl warning about Camelcase, so
SerialDriver is changed to serial_driver.
Signed-off-by: Daeseok Youn <daeseok.y...@gmail.com>
---
V2: removes appended email header on top of commit log
drivers/stagin
For using tty_alloc_driver, SerialDriver has to be pointer type.
It also has checkpatch.pl warning about Camelcase, so
SerialDriver is changed to serial_driver.
Signed-off-by: Daeseok Youn
---
V2: removes appended email header on top of commit log
drivers/staging/dgnc/dgnc_driver.h | 4
2016-03-07 16:10 GMT+09:00 Sudip Mukherjee <sudipm.mukher...@gmail.com>:
>
> On Mon, Feb 29, 2016 at 11:15:51AM +0900, Daeseok Youn wrote:
> > From 70f8703b3bd73fa56f4ea91e98967b8925550aa6 Mon Sep 17 00:00:00 2001
> > From: Daeseok Youn <daeseok.y...@gmail.com>
>
2016-03-07 16:10 GMT+09:00 Sudip Mukherjee :
>
> On Mon, Feb 29, 2016 at 11:15:51AM +0900, Daeseok Youn wrote:
> > From 70f8703b3bd73fa56f4ea91e98967b8925550aa6 Mon Sep 17 00:00:00 2001
> > From: Daeseok Youn
> > Date: Thu, 25 Feb 2016 14:53:37 +0900
> > Subject:
the tty_alloc_driver() can allocate memory for ttys and termios.
And also it can release allocated memory easly with using
put_tty_driver().
Signed-off-by: Daeseok Youn <daeseok.y...@gmail.com>
---
v2 : typo in subject, changed from dgap to dgnc
drivers/staging/dgnc/dgnc_tty.
the tty_alloc_driver() can allocate memory for ttys and termios.
And also it can release allocated memory easly with using
put_tty_driver().
Signed-off-by: Daeseok Youn
---
v2 : typo in subject, changed from dgap to dgnc
drivers/staging/dgnc/dgnc_tty.c | 86
>From 60b1e6e5d9401f10f584928d4feeb8a3b72b46a9 Mon Sep 17 00:00:00 2001
From: Daeseok Youn <daeseok.y...@gmail.com>
Date: Mon, 29 Feb 2016 11:04:02 +0900
Subject: [PATCH 2/2] staging: dgap: use tty_alloc_driver instead of kcalloc
the tty_alloc_driver() can allocate memory for ttys an
>From 60b1e6e5d9401f10f584928d4feeb8a3b72b46a9 Mon Sep 17 00:00:00 2001
From: Daeseok Youn
Date: Mon, 29 Feb 2016 11:04:02 +0900
Subject: [PATCH 2/2] staging: dgap: use tty_alloc_driver instead of kcalloc
the tty_alloc_driver() can allocate memory for ttys and termios.
And also it can rele
>From 70f8703b3bd73fa56f4ea91e98967b8925550aa6 Mon Sep 17 00:00:00 2001
From: Daeseok Youn <daeseok.y...@gmail.com>
Date: Thu, 25 Feb 2016 14:53:37 +0900
Subject: [PATCH 1/2] staging: dgnc: use pointer type of tty_struct
For using tty_alloc_driver, SerialDriver has to be pointer type.
It
>From 70f8703b3bd73fa56f4ea91e98967b8925550aa6 Mon Sep 17 00:00:00 2001
From: Daeseok Youn
Date: Thu, 25 Feb 2016 14:53:37 +0900
Subject: [PATCH 1/2] staging: dgnc: use pointer type of tty_struct
For using tty_alloc_driver, SerialDriver has to be pointer type.
It also has checkpatch.pl warn
2015-05-03 13:13 GMT+09:00 Andrew Morton :
> On Sun, 3 May 2015 12:02:39 +0900 DaeSeok Youn wrote:
>
>> 2015-04-24 10:45 GMT+09:00 Daeseok Youn :
>> > The use of 'status' in __ocfs2_add_entry() can return wrong
>> > value. Some functions' return value in
2015-05-03 13:13 GMT+09:00 Andrew Morton a...@linux-foundation.org:
On Sun, 3 May 2015 12:02:39 +0900 DaeSeok Youn daeseok.y...@gmail.com wrote:
2015-04-24 10:45 GMT+09:00 Daeseok Youn daeseok.y...@gmail.com:
The use of 'status' in __ocfs2_add_entry() can return wrong
value. Some functions
2015-04-24 10:45 GMT+09:00 Daeseok Youn :
> The use of 'status' in __ocfs2_add_entry() can return wrong
> value. Some functions' return value in __ocfs2_add_entry(),
> i.e ocfs2_journal_access_di() is saved to 'status'.
> But 'status' is not used in 'bail' label for retu
2015-04-24 10:45 GMT+09:00 Daeseok Youn daeseok.y...@gmail.com:
The use of 'status' in __ocfs2_add_entry() can return wrong
value. Some functions' return value in __ocfs2_add_entry(),
i.e ocfs2_journal_access_di() is saved to 'status'.
But 'status' is not used in 'bail' label for returning
Hi, Andrew.
2015-04-24 10:45 GMT+09:00 Daeseok Youn :
> The use of 'status' in __ocfs2_add_entry() can return wrong
> value. Some functions' return value in __ocfs2_add_entry(),
> i.e ocfs2_journal_access_di() is saved to 'status'.
> But 'status' is not used in 'bail' label for retu
Hi, Andrew.
2015-04-24 10:45 GMT+09:00 Daeseok Youn daeseok.y...@gmail.com:
The use of 'status' in __ocfs2_add_entry() can return wrong
value. Some functions' return value in __ocfs2_add_entry(),
i.e ocfs2_journal_access_di() is saved to 'status'.
But 'status' is not used in 'bail' label
.
Reviewed-by: Joseph Qi
Signed-off-by: Daeseok Youn
---
RESEND: missed my patch in ocfs2-devel mailing list so send it again
And also add 'Reviewed-by' line.
Previous sent message of my patch
This patch was came from 'https://lkml.org/lkml/2015/2/27/655'
This patch was needed to test but I didn't have
Hi, Andrew.
Is there problem this patch to merge?
If you care about mlog_errno() cleanup, I will send another patch for that.
And also if you have any reasons this patch has not been taken,
please let me know. I will fix and test again.
Thanks.
regards,
Daeseok Youn/
2015-04-23 9:49 GMT+09:00
Hi, Andrew.
Is there problem this patch to merge?
If you care about mlog_errno() cleanup, I will send another patch for that.
And also if you have any reasons this patch has not been taken,
please let me know. I will fix and test again.
Thanks.
regards,
Daeseok Youn/
2015-04-23 9:49 GMT+09:00
.
Reviewed-by: Joseph Qi joseph...@huawei.com
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com
---
RESEND: missed my patch in ocfs2-devel mailing list so send it again
And also add 'Reviewed-by' line.
Previous sent message of my patch
This patch was came from 'https://lkml.org/lkml/2015/2/27/655
Hi, Joseph.
2015-04-23 9:49 GMT+09:00 Joseph Qi :
> On 2015/4/19 13:43, Daeseok Youn wrote:
>> The use of 'status' in __ocfs2_add_entry() can return wrong
>> value. Some functions' return value in __ocfs2_add_entry(),
>> i.e ocfs2_journal_access_di() is saved to 'st
Hi, Joseph.
2015-04-23 9:49 GMT+09:00 Joseph Qi joseph...@huawei.com:
On 2015/4/19 13:43, Daeseok Youn wrote:
The use of 'status' in __ocfs2_add_entry() can return wrong
value. Some functions' return value in __ocfs2_add_entry(),
i.e ocfs2_journal_access_di() is saved to 'status
.
Signed-off-by: Daeseok Youn
---
This patch was came from 'https://lkml.org/lkml/2015/2/27/655'
This patch was needed to test but I didn't have any environment
for testing ocfs2 filesystem. But I have one, now.
(I'm too busy to make this enviroment. And qemu for this fs is difficult
for me. :-(, sorry
.
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com
---
This patch was came from 'https://lkml.org/lkml/2015/2/27/655'
This patch was needed to test but I didn't have any environment
for testing ocfs2 filesystem. But I have one, now.
(I'm too busy to make this enviroment. And qemu for this fs is difficult
Hi, Andrew.
2015-03-20 10:17 GMT+09:00 Joseph Qi :
> Hi Andrew,
>
> On 2015/3/20 6:23, Andrew Morton wrote:
>> On Sat, 28 Feb 2015 08:48:40 +0900 Daeseok Youn
>> wrote:
>>
>>> The use of 'status' in __ocfs2_add_entry() can return wrong
>&
Hi, Andrew.
2015-03-20 10:17 GMT+09:00 Joseph Qi joseph...@huawei.com:
Hi Andrew,
On 2015/3/20 6:23, Andrew Morton wrote:
On Sat, 28 Feb 2015 08:48:40 +0900 Daeseok Youn daeseok.y...@gmail.com
wrote:
The use of 'status' in __ocfs2_add_entry() can return wrong
status when some functions
OK.
I will send this patch again.
This patch will be based on https://lkml.org/lkml/2015/2/27/655
thanks
regards,
Daeseok Youn
2015-03-19 20:00 GMT+09:00 Joseph Qi :
> On 2015/2/28 7:51, Daeseok Youn wrote:
>> There is no error handle when ocfs2_journal_access_di() is failed.
&g
OK.
If i want to clean up mlog() call twice, mlog() in " bail" can be
removed, right?
Thanks.
Regards,
Daeseok Youn
2015-03-19 19:45 GMT+09:00 Joseph Qi :
> On 2015/2/28 7:49, Daeseok Youn wrote:
>> Signed-off-by: Daeseok Youn
>> ---
>> RESEND: this patch is
2015-03-19 15:24 GMT+09:00 Joseph Qi :
> Looks good to me.
>
> On 2015/2/28 7:48, Daeseok Youn wrote:
>> The use of 'status' in __ocfs2_add_entry() can return wrong
>> status when some functions are failed.
>>
>> If ocfs2_journal_access_db() in __ocfs2_add_
OK.
I will send this patch again.
This patch will be based on https://lkml.org/lkml/2015/2/27/655
thanks
regards,
Daeseok Youn
2015-03-19 20:00 GMT+09:00 Joseph Qi joseph...@huawei.com:
On 2015/2/28 7:51, Daeseok Youn wrote:
There is no error handle when ocfs2_journal_access_di() is failed
2015-03-19 15:24 GMT+09:00 Joseph Qi joseph...@huawei.com:
Looks good to me.
On 2015/2/28 7:48, Daeseok Youn wrote:
The use of 'status' in __ocfs2_add_entry() can return wrong
status when some functions are failed.
If ocfs2_journal_access_db() in __ocfs2_add_entry() is failed,
that status
OK.
If i want to clean up mlog() call twice, mlog() in bail can be
removed, right?
Thanks.
Regards,
Daeseok Youn
2015-03-19 19:45 GMT+09:00 Joseph Qi joseph...@huawei.com:
On 2015/2/28 7:49, Daeseok Youn wrote:
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com
---
RESEND: this patch
Hi,
This patch have been pending for 2 weeks.
Do I need to check other things?
please, check for me.
Thanks!
regards,
Daeseok Youn
2015-02-28 8:48 GMT+09:00 Daeseok Youn :
> The use of 'status' in __ocfs2_add_entry() can return wrong
> status when some functions are
Hi,
This patch have been pending for 2 weeks.
Do I need to check other things?
please, check for me.
Thanks!
regards,
Daeseok Youn
2015-02-28 8:48 GMT+09:00 Daeseok Youn daeseok.y...@gmail.com:
The use of 'status' in __ocfs2_add_entry() can return wrong
status when some functions are failed
Hi,
How is this patch going on?
please check for me.
Thanks.
Daeseok Youn.
2015-03-03 10:38 GMT+09:00 DaeSeok Youn :
> Hi, all
>
> please, review this patch.
>
> thanks.
>
> regards,
> Daeseok Youn.
>
> 2015-03-02 18:04 GMT+09:00 Richard Weinberger :
>> Am
Hi,
How is this patch going on?
please check for me.
Thanks.
Daeseok Youn.
2015-03-03 10:38 GMT+09:00 DaeSeok Youn daeseok.y...@gmail.com:
Hi, all
please, review this patch.
thanks.
regards,
Daeseok Youn.
2015-03-02 18:04 GMT+09:00 Richard Weinberger rich...@nod.at:
Am 28.02.2015 um
Hi, all
please, review this patch.
thanks.
regards,
Daeseok Youn.
2015-03-02 18:04 GMT+09:00 Richard Weinberger :
> Am 28.02.2015 um 00:48 schrieb Daeseok Youn:
>> The use of 'status' in __ocfs2_add_entry() can return wrong
>> status when some funct
Hi, all
please, review this patch.
thanks.
regards,
Daeseok Youn.
2015-03-02 18:04 GMT+09:00 Richard Weinberger rich...@nod.at:
Am 28.02.2015 um 00:48 schrieb Daeseok Youn:
The use of 'status' in __ocfs2_add_entry() can return wrong
status when some functions are failed
Signed-off-by: Daeseok Youn
---
RESEND: this patch is rebased by 1/4.
fs/ocfs2/dir.c | 13 +
1 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c
index c63f2b6..b3ab2a6 100644
--- a/fs/ocfs2/dir.c
+++ b/fs/ocfs2/dir.c
@@ -2043,22 +2043,19
There is no error handle when ocfs2_journal_access_di() is failed.
And also it doesn't need to call ocfs2_dx_dir_insert() when
ocfs2_journal_access_db() is failed.
Signed-off-by: Daeseok Youn
---
RESEND: this patch rebased by 1/4
fs/ocfs2/dir.c |8
1 files changed, 4 insertions
Signed-off-by: Daeseok Youn
---
RESEND: this patch is rebased by 1/4
fs/ocfs2/dir.c |8 ++--
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c
index 1478a50..c1ab24f 100644
--- a/fs/ocfs2/dir.c
+++ b/fs/ocfs2/dir.c
@@ -1689,10 +1689,8 @@ int
()
is failed but can be returned as 'success'.
So replace 'status' with 'retval'.
Signed-off-by: Daeseok Youn
---
V2 : update changelog
fs/ocfs2/dir.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c
index b08050b..1478a50 100644
Hi,
2015-02-27 18:41 GMT+09:00 Richard Weinberger :
> On Fri, Feb 27, 2015 at 10:27 AM, DaeSeok Youn wrote:
>> Hi,
>>
>> I think this patch was already queued. Can I send this patch again
>> after update changelog?
>
> One thing that is much more important, how
2015-02-27 16:06 GMT+09:00 Joseph Qi :
> We can only free conn->cc_private if error occurs. Otherwise it will
> trigger a bug in o2cb_cluster_disconnect since conn->cc_private has
> already been freed.
> So please drop this patch, thanks.
Yes. right..
Sorry for noise.
Th
Hi,
I think this patch was already queued. Can I send this patch again
after update changelog?
Thanks.
Regards,
Daeseok Youn
2015-02-27 6:33 GMT+09:00 Andrew Morton :
> On Mon, 23 Feb 2015 19:38:10 +0900 Daeseok Youn
> wrote:
>
>> Use 'retval' instead of 'status'.
>>
>
.
Daeseok Youn.
On 2015/2/18 7:32, a...@linux-foundation.org wrote:
The patch titled
Subject: ocfs2: remove unneeded 'rc' for kfree()
has been added to the -mm tree. Its filename is
ocfs2-remove-unneeded-rc-for-kfree.patch
This patch should soon appear at
http://ozlabs.org/~akpm
Hi,
I think this patch was already queued. Can I send this patch again
after update changelog?
Thanks.
Regards,
Daeseok Youn
2015-02-27 6:33 GMT+09:00 Andrew Morton a...@linux-foundation.org:
On Mon, 23 Feb 2015 19:38:10 +0900 Daeseok Youn daeseok.y...@gmail.com
wrote:
Use 'retval
()
is failed but can be returned as 'success'.
So replace 'status' with 'retval'.
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com
---
V2 : update changelog
fs/ocfs2/dir.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c
index
There is no error handle when ocfs2_journal_access_di() is failed.
And also it doesn't need to call ocfs2_dx_dir_insert() when
ocfs2_journal_access_db() is failed.
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com
---
RESEND: this patch rebased by 1/4
fs/ocfs2/dir.c |8
1 files
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com
---
RESEND: this patch is rebased by 1/4
fs/ocfs2/dir.c |8 ++--
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c
index 1478a50..c1ab24f 100644
--- a/fs/ocfs2/dir.c
+++ b/fs/ocfs2/dir.c
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com
---
RESEND: this patch is rebased by 1/4.
fs/ocfs2/dir.c | 13 +
1 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c
index c63f2b6..b3ab2a6 100644
--- a/fs/ocfs2/dir.c
+++ b/fs/ocfs2/dir.c
Hi,
2015-02-27 18:41 GMT+09:00 Richard Weinberger richard.weinber...@gmail.com:
On Fri, Feb 27, 2015 at 10:27 AM, DaeSeok Youn daeseok.y...@gmail.com wrote:
Hi,
I think this patch was already queued. Can I send this patch again
after update changelog?
One thing that is much more important
Signed-off-by: Daeseok Youn
---
fs/ocfs2/dir.c | 13 +
1 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c
index c63f2b6..b3ab2a6 100644
--- a/fs/ocfs2/dir.c
+++ b/fs/ocfs2/dir.c
@@ -2043,22 +2043,19 @@ int ocfs2_check_dir_for_entry(struct
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com
---
fs/ocfs2/dir.c | 13 +
1 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c
index c63f2b6..b3ab2a6 100644
--- a/fs/ocfs2/dir.c
+++ b/fs/ocfs2/dir.c
@@ -2043,22 +2043,19 @@ int
There is no error handle when ocfs2_journal_access_di() is failed.
And also it doesn't need to call ocfs2_dx_dir_insert() when
ocfs2_journal_access_db() is failed.
Signed-off-by: Daeseok Youn
---
fs/ocfs2/dir.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/fs
Signed-off-by: Daeseok Youn
---
fs/ocfs2/dir.c |8 ++--
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c
index 1478a50..c1ab24f 100644
--- a/fs/ocfs2/dir.c
+++ b/fs/ocfs2/dir.c
@@ -1689,10 +1689,8 @@ int __ocfs2_add_entry(handle_t *handle
Use 'retval' instead of 'status'.
Signed-off-by: Daeseok Youn
---
fs/ocfs2/dir.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c
index b08050b..1478a50 100644
--- a/fs/ocfs2/dir.c
+++ b/fs/ocfs2/dir.c
@@ -1617,7 +1617,7 @@ int
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com
---
fs/ocfs2/dir.c |8 ++--
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c
index 1478a50..c1ab24f 100644
--- a/fs/ocfs2/dir.c
+++ b/fs/ocfs2/dir.c
@@ -1689,10 +1689,8 @@ int
Use 'retval' instead of 'status'.
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com
---
fs/ocfs2/dir.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c
index b08050b..1478a50 100644
--- a/fs/ocfs2/dir.c
+++ b/fs/ocfs2/dir.c
There is no error handle when ocfs2_journal_access_di() is failed.
And also it doesn't need to call ocfs2_dx_dir_insert() when
ocfs2_journal_access_db() is failed.
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com
---
fs/ocfs2/dir.c |8
1 files changed, 4 insertions(+), 4 deletions
Signed-off-by: Daeseok Youn
---
fs/ocfs2/stack_o2cb.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/ocfs2/stack_o2cb.c b/fs/ocfs2/stack_o2cb.c
index 1724d43..220cae7 100644
--- a/fs/ocfs2/stack_o2cb.c
+++ b/fs/ocfs2/stack_o2cb.c
@@ -295,7 +295,7 @@ static int
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com
---
fs/ocfs2/stack_o2cb.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/ocfs2/stack_o2cb.c b/fs/ocfs2/stack_o2cb.c
index 1724d43..220cae7 100644
--- a/fs/ocfs2/stack_o2cb.c
+++ b/fs/ocfs2/stack_o2cb.c
@@ -295,7
If kzalloc() is failed, just goto 'out' label and
'out_free' label doesn't need to check 'rc' variable.
Signed-off-by: Daeseok Youn
---
fs/ocfs2/stack_o2cb.c |5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/fs/ocfs2/stack_o2cb.c b/fs/ocfs2/stack_o2cb.c
index 813d726
The Local variable "i" in for loop is always less then
O2CB_MAP_STABILIZE_COUNT.
Signed-off-by: Daeseok Youn
---
fs/ocfs2/stack_o2cb.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/ocfs2/stack_o2cb.c b/fs/ocfs2/stack_o2cb.c
index 1724d43..813d726 10064
The Local variable i in for loop is always less then
O2CB_MAP_STABILIZE_COUNT.
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com
---
fs/ocfs2/stack_o2cb.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/ocfs2/stack_o2cb.c b/fs/ocfs2/stack_o2cb.c
index 1724d43
If kzalloc() is failed, just goto 'out' label and
'out_free' label doesn't need to check 'rc' variable.
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com
---
fs/ocfs2/stack_o2cb.c |5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/fs/ocfs2/stack_o2cb.c b/fs/ocfs2
It is nothing to do in 'out' label, so just return 'ret'
variable.
Signed-off-by: Daeseok Youn
---
fs/ocfs2/dir.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c
index 319e786..e6e5de8 100644
--- a/fs/ocfs2/dir.c
+++ b/fs/ocfs2/dir.c
mincore_hugetlb() returns always '0'
Signed-off-by: Daeseok Youn
---
mm/mincore.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/mm/mincore.c b/mm/mincore.c
index 8d6db5c..be25efd 100644
--- a/mm/mincore.c
+++ b/mm/mincore.c
@@ -22,7 +22,6 @@
static int
It is nothing to do in 'out' label, so just return 'ret'
variable.
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com
---
fs/ocfs2/dir.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c
index 319e786..e6e5de8 100644
--- a/fs/ocfs2/dir.c
mincore_hugetlb() returns always '0'
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com
---
mm/mincore.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/mm/mincore.c b/mm/mincore.c
index 8d6db5c..be25efd 100644
--- a/mm/mincore.c
+++ b/mm/mincore.c
@@ -22,7 +22,6
Signed-off-by: Daeseok Youn
---
fs/ocfs2/journal.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/fs/ocfs2/journal.c b/fs/ocfs2/journal.c
index ca11c83..ff53192 100644
--- a/fs/ocfs2/journal.c
+++ b/fs/ocfs2/journal.c
@@ -1462,7 +1462,6 @@ bail:
* requires
The mlog_errno() function is called twice when some functions are
failed.
Signed-off-by: Daeseok Youn
---
fs/ocfs2/dir.c |9 +++--
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c
index 940be6d..b08050b 100644
--- a/fs/ocfs2/dir.c
+++ b/fs
Signed-off-by: Daeseok Youn
---
fs/ocfs2/dir.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c
index 319e786..940be6d 100644
--- a/fs/ocfs2/dir.c
+++ b/fs/ocfs2/dir.c
@@ -3513,7 +3513,6 @@ next:
de = (struct ocfs2_dir_entry
The mlog_errno() function is called twice when some functions are
failed.
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com
---
fs/ocfs2/dir.c |9 +++--
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c
index 940be6d..b08050b 100644
--- a/fs
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com
---
fs/ocfs2/dir.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c
index 319e786..940be6d 100644
--- a/fs/ocfs2/dir.c
+++ b/fs/ocfs2/dir.c
@@ -3513,7 +3513,6 @@ next:
de
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com
---
fs/ocfs2/journal.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/fs/ocfs2/journal.c b/fs/ocfs2/journal.c
index ca11c83..ff53192 100644
--- a/fs/ocfs2/journal.c
+++ b/fs/ocfs2/journal.c
@@ -1462,7 +1462,6 @@ bail
Signed-off-by: Daeseok Youn
---
drivers/scsi/aic7xxx/aic79xx_osm.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/aic7xxx/aic79xx_osm.c
b/drivers/scsi/aic7xxx/aic79xx_osm.c
index d5c7b19..ce96a0b 100644
--- a/drivers/scsi/aic7xxx/aic79xx_osm.c
+++ b
It also need to call iounmap() when it fails to get res_start and
res_len from pci_resource_start{len}(pdev, bar).
Signed-off-by: Daeseok Youn
---
drivers/scsi/mvsas/mv_init.c | 10 +-
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/scsi/mvsas/mv_init.c b
Signed-off-by: Daeseok Youn
---
drivers/scsi/aic7xxx/aic7xxx_osm.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.c
b/drivers/scsi/aic7xxx/aic7xxx_osm.c
index 8836011..a2f2c77 100644
--- a/drivers/scsi/aic7xxx/aic7xxx_osm.c
+++ b
Signed-off-by: Daeseok Youn
---
drivers/scsi/aic7xxx/aic79xx_core.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/aic7xxx/aic79xx_core.c
b/drivers/scsi/aic7xxx/aic79xx_core.c
index 97f2acc..109e2c9 100644
--- a/drivers/scsi/aic7xxx/aic79xx_core.c
+++ b
Signed-off-by: Daeseok Youn
---
drivers/scsi/aic7xxx/aic7xxx_core.c |9 +++--
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/scsi/aic7xxx/aic7xxx_core.c
b/drivers/scsi/aic7xxx/aic7xxx_core.c
index 10172a3..7f34d25 100644
--- a/drivers/scsi/aic7xxx/aic7xxx_core.c
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com
---
drivers/scsi/aic7xxx/aic7xxx_osm.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.c
b/drivers/scsi/aic7xxx/aic7xxx_osm.c
index 8836011..a2f2c77 100644
--- a/drivers/scsi/aic7xxx
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com
---
drivers/scsi/aic7xxx/aic79xx_core.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/aic7xxx/aic79xx_core.c
b/drivers/scsi/aic7xxx/aic79xx_core.c
index 97f2acc..109e2c9 100644
--- a/drivers/scsi/aic7xxx
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com
---
drivers/scsi/aic7xxx/aic7xxx_core.c |9 +++--
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/scsi/aic7xxx/aic7xxx_core.c
b/drivers/scsi/aic7xxx/aic7xxx_core.c
index 10172a3..7f34d25 100644
--- a/drivers/scsi
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com
---
drivers/scsi/aic7xxx/aic79xx_osm.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/aic7xxx/aic79xx_osm.c
b/drivers/scsi/aic7xxx/aic79xx_osm.c
index d5c7b19..ce96a0b 100644
--- a/drivers/scsi/aic7xxx
It also need to call iounmap() when it fails to get res_start and
res_len from pci_resource_start{len}(pdev, bar).
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com
---
drivers/scsi/mvsas/mv_init.c | 10 +-
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/scsi
cppcheck warning:
(warnning) Logical disjunction always evaluates to true
Reported-by: David Binderman
Signed-off-by: Daeseok Youn
---
drivers/staging/dgap/dgap.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/dgap/dgap.c b/drivers/staging/dgap
cppcheck warning:
(warnning) Logical disjunction always evaluates to true
Reported-by: David Binderman dcb...@hotmail.com
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com
---
drivers/staging/dgap/dgap.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers
Signed-off-by: Daeseok Youn
---
drivers/staging/dgap/dgap.c | 30 +++---
1 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/drivers/staging/dgap/dgap.c b/drivers/staging/dgap/dgap.c
index bdb5317..518ab56 100644
--- a/drivers/staging/dgap/dgap.c
+++ b
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com
---
drivers/staging/dgap/dgap.c | 30 +++---
1 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/drivers/staging/dgap/dgap.c b/drivers/staging/dgap/dgap.c
index bdb5317..518ab56 100644
--- a/drivers/staging
use find_board_by_major function instead of getting a brd from static
arrary. Becasue tty's major number doesn't start zero and we can
find a brd from dgap_board[].
Signed-off-by: Daeseok Youn
---
drivers/staging/dgap/dgap.c | 28 +---
1 files changed, 17 insertions
The board_t has a tty_struct(serial_driver and print_driver)
that has a major number. When major number is compared in
dgap_tty_open(), just use brd->serial_driver{print_driver}->major.
Signed-off-by: Daeseok Youn
---
drivers/staging/dgap/dgap.c |9 ++---
drivers/staging/dgap/
The tty_struct of serial_driver and print_driver were getting
allocated twice. One is allocated in tty_alloc_driver(), the other
is in dgap_tty_register(). So remove these in dgap_tty_register().
Signed-off-by: Daeseok Youn
---
drivers/staging/dgap/dgap.c | 16
1 files
301 - 400 of 1119 matches
Mail list logo