Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

isdn: hysdn_procconf.c build fix

x86.git randconfig testing found the following build error in latest
-git:

CC [M] drivers/isdn/hysdn/hysdn_procconf.o
CC [M] drivers/isdn/hysdn/hysdn_init.o
drivers/isdn/hysdn/hysdn_procconf.c: In function 'hysdn_procconf_init':
drivers/isdn/hysdn/hysdn_procconf.c:408: error: too few arguments to function 'proc_create'

with the following config:

http://redhat.com/~mingo/misc/config-Wed_Apr_30_15_12_48_CEST_2008.bad

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: "Denis V. Lunev" <den@openvz.org>
Cc: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Ingo Molnar and committed by
Linus Torvalds
50457905 3e3a7d66

+2 -1
+2 -1
drivers/isdn/hysdn/hysdn_procconf.c
··· 405 405 sprintf(conf_name, "%s%d", PROC_CONF_BASENAME, card->myid); 406 406 if ((card->procconf = (void *) proc_create(conf_name, 407 407 S_IFREG | S_IRUGO | S_IWUSR, 408 - hysdn_proc_entry)) != NULL) { 408 + hysdn_proc_entry, 409 + &conf_fops)) != NULL) { 409 410 hysdn_proclog_init(card); /* init the log file entry */ 410 411 } 411 412 card = card->next; /* next entry */