#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include #include #include #include "console_cmdline.h" #include "braille.h" char *_braille_console_setup(char **str, char **brl_options) { if (!strncmp(*str, "brl,", 4)) { *brl_options = ""; *str += 4; } else if (!strncmp(*str, "brl=", 4)) { *brl_options = *str + 4; *str = strchr(*brl_options, ','); if (!*str) pr_err("need port name after brl=\n"); else *((*str)++) = 0; } else return NULL; return *str; } int _braille_register_console(struct console *console, struct console_cmdline *c) { int rtn = 0; if (c->brl_options) { console->flags |= CON_BRL; rtn = braille_register_console(console, c->index, c->options, c->brl_options); } return rtn; } int _braille_unregister_console(struct console *console) { if (console->flags & CON_BRL) return braille_unregister_console(console); return 0; } n' name='id' value='2eabb8b8d68bc9c7779ba8b04bec8d4f8baed0bc'/> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-01-16 09:34:37 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-01-16 09:34:37 -0800
commit2eabb8b8d68bc9c7779ba8b04bec8d4f8baed0bc (patch)
tree4d8ea8e6ca52f1938269937834641205d8d888f0 /net/dccp/ccids/ccid3.c
parent49def1853334396f948dcb4cedb9347abb318df5 (diff)
parentce1ca7d2d140a1f4aaffd297ac487f246963dd2f (diff)
Merge tag 'nfsd-4.10-1' of git://linux-nfs.org/~bfields/linux
Pull nfsd fixes from Bruce Fields: "Miscellaneous nfsd bugfixes, one for a 4.10 regression, three for older bugs" * tag 'nfsd-4.10-1' of git://linux-nfs.org/~bfields/linux: svcrdma: avoid duplicate dma unmapping during error recovery sunrpc: don't call sleeping functions from the notifier block callbacks svcrpc: don't leak contexts on PROC_DESTROY nfsd: fix supported attributes for acl & labels
Diffstat (limited to 'net/dccp/ccids/ccid3.c')