Linux-Next discussions
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Greg KH <greg@kroah.com>
Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org,
	David Woodhouse <dwmw2@infradead.org>,
	Tomas Winkler <tomas.winkler@intel.com>
Subject: linux-next: build warnings after merge of the driver-core.current tree
Date: Mon, 3 May 2010 10:01:37 +1000	[thread overview]
Message-ID: <20100503100137.a05c9098.sfr@canb.auug.org.au> (raw)

[-- Attachment #1: Type: text/plain, Size: 1139 bytes --]

Hi Greg,

After merging the driver-core.current tree, today's linux-next build (powerpc
ppc64_defconfig and x86_64 allmodconfig) produced these warning:

drivers/pcmcia/ds.c: In function 'pcmcia_load_firmware':
drivers/pcmcia/ds.c:761: warning: passing argument 1 of 'release_firmware' discards qualifiers from pointer target type
include/linux/firmware.h:46: note: expected 'struct firmware *' but argument is of type 'const struct firmware *'
drivers/net/cxgb3/cxgb3_main.c: In function 't3_get_edc_fw':
drivers/net/cxgb3/cxgb3_main.c:1084: warning: passing argument 1 of 'release_firmware' discards qualifiers from pointer target type
include/linux/firmware.h:46: note: expected 'struct firmware *' but argument is of type 'const struct firmware *'

and *lots* more similar warnings ...

Caused by commit d5ae47f7d90f94a15e668f389c12211a11798b6f
("firmware_class: fix memory leak - free allocated pages").  This patch
was modified from an earlier version that produced different (though many
fewer) warnings.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

             reply	other threads:[~2010-05-03  0:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-03  0:01 Stephen Rothwell [this message]
2010-05-03  2:59 ` linux-next: build warnings after merge of the driver-core.current tree Greg KH
2010-05-03 11:19 ` Winkler, Tomas

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=20100503100137.a05c9098.sfr@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=dwmw2@infradead.org \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=tomas.winkler@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox