* [PATCH]udf:super.c Fix warning: variable 'sbi' set but not used
@ 2010-07-08 4:42 Justin P. Mattock
2010-07-31 19:03 ` Justin P. Mattock
0 siblings, 1 reply; 4+ messages in thread
From: Justin P. Mattock @ 2010-07-08 4:42 UTC (permalink / raw)
To: jack; +Cc: hch, linux-kernel, Justin P. Mattock
This fixes this warning when building the kernel:
CC fs/udf/super.o
fs/udf/super.c: In function 'udf_load_sequence':
fs/udf/super.c:1582:22: warning: variable 'sbi' set but not used
Please have a look, when you have time and let me know.
Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
---
fs/udf/super.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/fs/udf/super.c b/fs/udf/super.c
index 612d1e2..12bb651 100644
--- a/fs/udf/super.c
+++ b/fs/udf/super.c
@@ -1579,9 +1579,7 @@ static int udf_load_sequence(struct super_block *sb, struct buffer_head *bh,
{
struct anchorVolDescPtr *anchor;
long main_s, main_e, reserve_s, reserve_e;
- struct udf_sb_info *sbi;
- sbi = UDF_SB(sb);
anchor = (struct anchorVolDescPtr *)bh->b_data;
/* Locate the main sequence */
--
1.7.1.rc1.21.gf3bd6
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH]udf:super.c Fix warning: variable 'sbi' set but not used
2010-07-08 4:42 [PATCH]udf:super.c Fix warning: variable 'sbi' set but not used Justin P. Mattock
@ 2010-07-31 19:03 ` Justin P. Mattock
2010-08-02 12:51 ` Jan Kara
0 siblings, 1 reply; 4+ messages in thread
From: Justin P. Mattock @ 2010-07-31 19:03 UTC (permalink / raw)
To: Justin P. Mattock; +Cc: jack, hch, linux-kernel
any ideas on the status of this?
> This fixes this warning when building the kernel:
> CC fs/udf/super.o
> fs/udf/super.c: In function 'udf_load_sequence':
> fs/udf/super.c:1582:22: warning: variable 'sbi' set but not used
> Please have a look, when you have time and let me know.
>
> Signed-off-by: Justin P. Mattock<justinmattock@gmail.com>
>
> ---
> fs/udf/super.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/fs/udf/super.c b/fs/udf/super.c
> index 612d1e2..12bb651 100644
> --- a/fs/udf/super.c
> +++ b/fs/udf/super.c
> @@ -1579,9 +1579,7 @@ static int udf_load_sequence(struct super_block *sb, struct buffer_head *bh,
> {
> struct anchorVolDescPtr *anchor;
> long main_s, main_e, reserve_s, reserve_e;
> - struct udf_sb_info *sbi;
>
> - sbi = UDF_SB(sb);
> anchor = (struct anchorVolDescPtr *)bh->b_data;
>
> /* Locate the main sequence */
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH]udf:super.c Fix warning: variable 'sbi' set but not used
2010-07-31 19:03 ` Justin P. Mattock
@ 2010-08-02 12:51 ` Jan Kara
2010-08-02 13:30 ` Justin P. Mattock
0 siblings, 1 reply; 4+ messages in thread
From: Jan Kara @ 2010-08-02 12:51 UTC (permalink / raw)
To: Justin P. Mattock; +Cc: jack, hch, linux-kernel
On Sat 31-07-10 12:03:03, Justin P. Mattock wrote:
> any ideas on the status of this?
I have it in my tree and will push it to Linus in this merge window.
Honza
>
> >This fixes this warning when building the kernel:
> > CC fs/udf/super.o
> >fs/udf/super.c: In function 'udf_load_sequence':
> >fs/udf/super.c:1582:22: warning: variable 'sbi' set but not used
> >Please have a look, when you have time and let me know.
> >
> >Signed-off-by: Justin P. Mattock<justinmattock@gmail.com>
> >
> >---
> > fs/udf/super.c | 2 --
> > 1 files changed, 0 insertions(+), 2 deletions(-)
> >
> >diff --git a/fs/udf/super.c b/fs/udf/super.c
> >index 612d1e2..12bb651 100644
> >--- a/fs/udf/super.c
> >+++ b/fs/udf/super.c
> >@@ -1579,9 +1579,7 @@ static int udf_load_sequence(struct super_block *sb, struct buffer_head *bh,
> > {
> > struct anchorVolDescPtr *anchor;
> > long main_s, main_e, reserve_s, reserve_e;
> >- struct udf_sb_info *sbi;
> >
> >- sbi = UDF_SB(sb);
> > anchor = (struct anchorVolDescPtr *)bh->b_data;
> >
> > /* Locate the main sequence */
>
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH]udf:super.c Fix warning: variable 'sbi' set but not used
2010-08-02 12:51 ` Jan Kara
@ 2010-08-02 13:30 ` Justin P. Mattock
0 siblings, 0 replies; 4+ messages in thread
From: Justin P. Mattock @ 2010-08-02 13:30 UTC (permalink / raw)
To: Jan Kara; +Cc: hch, linux-kernel
On 08/02/2010 05:51 AM, Jan Kara wrote:
> On Sat 31-07-10 12:03:03, Justin P. Mattock wrote:
>> any ideas on the status of this?
> I have it in my tree and will push it to Linus in this merge window.
>
> Honza
o.k. cool..
>>
>>> This fixes this warning when building the kernel:
>>> CC fs/udf/super.o
>>> fs/udf/super.c: In function 'udf_load_sequence':
>>> fs/udf/super.c:1582:22: warning: variable 'sbi' set but not used
>>> Please have a look, when you have time and let me know.
>>>
>>> Signed-off-by: Justin P. Mattock<justinmattock@gmail.com>
>>>
>>> ---
>>> fs/udf/super.c | 2 --
>>> 1 files changed, 0 insertions(+), 2 deletions(-)
>>>
>>> diff --git a/fs/udf/super.c b/fs/udf/super.c
>>> index 612d1e2..12bb651 100644
>>> --- a/fs/udf/super.c
>>> +++ b/fs/udf/super.c
>>> @@ -1579,9 +1579,7 @@ static int udf_load_sequence(struct super_block *sb, struct buffer_head *bh,
>>> {
>>> struct anchorVolDescPtr *anchor;
>>> long main_s, main_e, reserve_s, reserve_e;
>>> - struct udf_sb_info *sbi;
>>>
>>> - sbi = UDF_SB(sb);
>>> anchor = (struct anchorVolDescPtr *)bh->b_data;
>>>
>>> /* Locate the main sequence */
>>
Justin P. Mattock
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-08-02 13:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-08 4:42 [PATCH]udf:super.c Fix warning: variable 'sbi' set but not used Justin P. Mattock
2010-07-31 19:03 ` Justin P. Mattock
2010-08-02 12:51 ` Jan Kara
2010-08-02 13:30 ` Justin P. Mattock
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox