All of lore.kernel.org
 help / color / mirror / Atom feed
* warning of 2.6.37 kernel with gcc-4.5.2
@ 2011-03-03  1:12 Jian Peng
  2011-03-03 12:01 ` Sergei Shtylyov
  0 siblings, 1 reply; 2+ messages in thread
From: Jian Peng @ 2011-03-03  1:12 UTC (permalink / raw)
  To: ide; +Cc: Jian Peng

While compiling 2.6.37 kernel with gcc-4.5.2 based toolchain for MIPS, there are a few warnings

  CC      kernel/async.o
kernel/async.c: In function 'async_synchronize_cookie_domain':
kernel/async.c:270:10: warning: 'starttime.tv64' may be used uninitialized in this function
kernel/async.c: In function 'async_run_entry_fn':
kernel/async.c:122:10: warning: 'calltime.tv64' may be used uninitialized in this function
...
  CC      fs/ubifs/super.o
fs/ubifs/super.c: In function 'ubifs_umount':
fs/ubifs/super.c:1491:2: warning: statement with no effect
  CC      fs/ubifs/sb.o
  CC      fs/ubifs/io.o
  CC      fs/ubifs/tnc.o
  CC      fs/ubifs/master.o
  CC      fs/ubifs/scan.o
  CC      fs/ubifs/replay.o
  CC      fs/ubifs/log.o
  CC      fs/ubifs/commit.o
  CC      fs/ubifs/gc.o
  CC      fs/ubifs/orphan.o
  CC      fs/ubifs/budget.o
  CC      fs/ubifs/find.o
  CC      fs/ubifs/tnc_commit.o
  CC      fs/ubifs/compress.o
  CC      fs/ubifs/lpt.o
  CC      fs/ubifs/lprops.o
  CC      fs/ubifs/recovery.o
  CC      fs/ubifs/ioctl.o
  CC      fs/ubifs/lpt_commit.o
c/lpt_commit.c: In function 'layout_cnodes':
fs/ubifs/lpt_commit.c:211:3: warning: statement with no effect
fs/ubifs/lpt_commit.c:219:3: warning: statement with no effect
fs/ubifs/lpt_commit.c:233:4: warning: statement with no effect
fs/ubifs/lpt_commit.c:246:5: warning: statement with no effect
fs/ubifs/lpt_commit.c:254:5: warning: statement with no effect
fs/ubifs/lpt_commit.c:267:3: warning: statement with no effect
fs/ubifs/lpt_commit.c:276:4: warning: statement with no effect
fs/ubifs/lpt_commit.c:288:3: warning: statement with no effect
fs/ubifs/lpt_commit.c:296:4: warning: statement with no effect
fs/ubifs/lpt_commit.c:308:3: warning: statement with no effect
fs/ubifs/lpt_commit.c:313:2: warning: statement with no effect
fs/ubifs/lpt_commit.c: In function 'write_cnodes':
fs/ubifs/lpt_commit.c:395:3: warning: statement with no effect
fs/ubifs/lpt_commit.c:402:3: warning: statement with no effect
fs/ubifs/lpt_commit.c:421:4: warning: statement with no effect
fs/ubifs/lpt_commit.c:436:5: warning: statement with no effect
fs/ubifs/lpt_commit.c:443:5: warning: statement with no effect
fs/ubifs/lpt_commit.c:465:3: warning: statement with no effect
fs/ubifs/lpt_commit.c:479:4: warning: statement with no effect
fs/ubifs/lpt_commit.c:493:3: warning: statement with no effect
fs/ubifs/lpt_commit.c:506:4: warning: statement with no effect
fs/ubifs/lpt_commit.c:520:3: warning: statement with no effect
fs/ubifs/lpt_commit.c:531:2: warning: statement with no effect
...
  CC      drivers/base/power/sysfs.o
  CC      drivers/base/power/main.o
drivers/base/power/main.c: In function 'pm_noirq_op.clone.17':
drivers/base/power/main.c:306:10: warning: 'calltime.tv64' may be used uninitialized in this function
...

Those in fs/ubifs really bothers me since all of them are for debugging and gcc dislike them.

Did anyone fix it in either changing Makefile or C codes? If not, I will post my patch to get rid of them.

Thanks,
Jian





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: warning of 2.6.37 kernel with gcc-4.5.2
  2011-03-03  1:12 warning of 2.6.37 kernel with gcc-4.5.2 Jian Peng
@ 2011-03-03 12:01 ` Sergei Shtylyov
  0 siblings, 0 replies; 2+ messages in thread
From: Sergei Shtylyov @ 2011-03-03 12:01 UTC (permalink / raw)
  To: Jian Peng; +Cc: ide

Hello.

On 03-03-2011 4:12, Jian Peng wrote:

> While compiling 2.6.37 kernel with gcc-4.5.2 based toolchain for MIPS, there are a few warnings

[...]

> Those in fs/ubifs really bothers me since all of them are for debugging and gcc dislike them.

> Did anyone fix it in either changing Makefile or C codes? If not, I will post my patch to get rid of them.

    Why do you post this report to linux-ide, and not to linux-kernel? What 
does UBIFS code has to do with us?

> Thanks,
> Jian

WBR, Sergei

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-03 12:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-03  1:12 warning of 2.6.37 kernel with gcc-4.5.2 Jian Peng
2011-03-03 12:01 ` Sergei Shtylyov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.