All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-next: build warnings after merge of the driver-core.current tree
@ 2010-05-03  0:01 Stephen Rothwell
  2010-05-03  2:59 ` Greg KH
  2010-05-03 11:19 ` Winkler, Tomas
  0 siblings, 2 replies; 3+ messages in thread
From: Stephen Rothwell @ 2010-05-03  0:01 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-next, linux-kernel, David Woodhouse, Tomas Winkler

[-- 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 --]

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

end of thread, other threads:[~2010-05-03 14:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-03  0:01 linux-next: build warnings after merge of the driver-core.current tree Stephen Rothwell
2010-05-03  2:59 ` Greg KH
2010-05-03 11:19 ` Winkler, Tomas

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.