aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorPaul Gortmaker <[email protected]>2015-10-13 19:06:30 -0400
committerGreg Kroah-Hartman <[email protected]>2015-10-17 21:18:30 -0700
commit6200cbaf62d481007cb07e73f67da77bc161ae96 (patch)
tree140cfeea7a9de27387285ff4c4fc7c3728758034 /lib/netdev-notifier-error-inject.c
parent06e7bd1f9bd86a47e1824f02a821b198eafeb7b6 (diff)
tty: disable unbind for old 74xx based serial/mpsc console port
We recently got rid of some modular code in this driver and also got rid of the unused ".remove" function at the same time. Thierry noted that it was however possible to force the remove through the bind/unbind interface. Since this is a console device used on 2005 vintage 74xx based powerpc embedded targets, and is essentially always used in conjunction with SERIAL_MPSC_CONSOLE=y -- there is no sane reason anyone would ever want to unbind the builtin driver and lose the console. So we just explicitly block bind/unbind operations and prevent root from shooting themselves in the foot. Cc: Greg Kroah-Hartman <[email protected]> Cc: Jiri Slaby <[email protected]> Cc: Thierry Reding <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Paul Gortmaker <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions