linux-next: build warning after merge of the char-misc tree

From: Stephen Rothwell
Date: Fri Mar 27 2015 - 03:48:47 EST


Hi all,

After merging the char-misc tree, today's linux-next build (powerpc
allyesconfig) produced this warning:

In file included from include/linux/module.h:17:0,
from drivers/uio/uio_pdrv_genirq.c:21:
include/linux/moduleparam.h:326:22: warning: initialization discards 'const' qualifier from pointer target type
static const struct kparam_string __param_string_##name \
^
drivers/uio/uio_pdrv_genirq.c:260:1: note: in expansion of macro 'module_param_string'
module_param_string(of_id, uio_of_genirq_match[0].compatible, 128, 0);
^

Introduced by commit 4d8beff2ae07 ("uio: constify of_device_id array").
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp9mDzFWwtZn.pgp
Description: OpenPGP digital signature