All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vladimir V. Saveliev" <vs@namesys.com>
To: Christian Trefzer <ctrefzer@gmx.de>
Cc: reiserfs-list@namesys.com
Subject: Re: [FYI]: Two compiler warnings in fs/reiser4/plugin/object.c with gcc-4.1.0
Date: Tue, 16 May 2006 13:35:24 +0400	[thread overview]
Message-ID: <1147772124.6316.22.camel@tribesman.namesys.com> (raw)
In-Reply-To: <20060515145323.GC8977@zeus.uziel.local>

Hello

On Mon, 2006-05-15 at 16:53 +0200, Christian Trefzer wrote:
> fs/reiser4/plugin/object.c:120: Warnung: Initialisierung von inkompatiblem Zeigertyp
> fs/reiser4/plugin/object.c:320: Warnung: Initialisierung von inkompatiblem Zeigertyp
> 
> (in english: Warning: initialization from incompatible pointer type)
> 

What versions of linux and reiser4 do you compile?

> file_plugin file_plugins[LAST_FILE_PLUGIN_ID] = {
> 	[UNIX_FILE_PLUGIN_ID] = {
> <snip>
> 		.as_ops = {
> 			.writepage = reiser4_writepage,
> 			.readpage = readpage_unix_file,
> 			.sync_page = block_sync_page,
> 			.writepages = writepages_unix_file,
> 			.set_page_dirty = reiser4_set_page_dirty,
> 			.readpages = reiser4_readpages,
> 			.prepare_write = prepare_write_unix_file,
> 			.commit_write =	commit_write_unix_file,
> 			.bmap = bmap_unix_file,
> 120:		.invalidatepage = reiser4_invalidatepage,
> 			.releasepage = reiser4_releasepage
> 		},
> <snip>
> 	[CRC_FILE_PLUGIN_ID] = {
> <snip>
> 		.as_ops = {
> 			.writepage = reiser4_writepage,
> 			.readpage = readpage_cryptcompress,
> 			.sync_page = block_sync_page,
> 			.writepages = writepages_cryptcompress,
> 			.set_page_dirty = reiser4_set_page_dirty,
> 			.readpages = reiser4_readpages,
> 			.prepare_write = prepare_write_common,
> 320:		.invalidatepage = reiser4_invalidatepage,
> 			.releasepage = reiser4_releasepage
> 		},
> 
> Another warning mentions _possibly_ uninitialized use of a variable:
> 
> fs/reiser4/plugin/space/bitmap.c: In Funktion »load_and_lock_bnode«:
> fs/reiser4/plugin/space/bitmap.c:817: Warnung: »cjnode« könnte in dieser Funktion uninitialisiert verwendet werden
> (»cjnode« could be used uninitialized in this function)
> 
> Kind regards,
> Chris


  reply	other threads:[~2006-05-16  9:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-15 13:04 Recent patch frenzy, conflicts and Oopses Christian Trefzer
2006-05-15 14:53 ` [FYI]: Two compiler warnings in fs/reiser4/plugin/object.c with gcc-4.1.0 Christian Trefzer
2006-05-16  9:35   ` Vladimir V. Saveliev [this message]
2006-05-16 13:51     ` Christian Trefzer
2006-05-16 13:58     ` Christian Trefzer
2006-05-16 10:32 ` Recent patch frenzy, conflicts and Oopses Alexander Zarochentsev
2006-05-16 14:02   ` Christian Trefzer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1147772124.6316.22.camel@tribesman.namesys.com \
    --to=vs@namesys.com \
    --cc=ctrefzer@gmx.de \
    --cc=reiserfs-list@namesys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.