Skip to content

Commit 5045790

Browse files
Ingo Molnartorvalds
authored andcommitted
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>
1 parent 3e3a7d6 commit 5045790

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎drivers/isdn/hysdn/hysdn_procconf.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,8 @@ hysdn_procconf_init(void)
405405
sprintf(conf_name, "%s%d", PROC_CONF_BASENAME, card->myid);
406406
if ((card->procconf = (void *) proc_create(conf_name,
407407
S_IFREG | S_IRUGO | S_IWUSR,
408-
hysdn_proc_entry)) != NULL) {
408+
hysdn_proc_entry,
409+
&conf_fops)) != NULL) {
409410
hysdn_proclog_init(card); /* init the log file entry */
410411
}
411412
card = card->next; /* next entry */

0 commit comments

Comments
 (0)