summaryrefslogtreecommitdiff
path: root/curve.c
diff options
context:
space:
mode:
authorMichael R Torres <mic.ric.tor@gmail.com>2020-02-20 20:29:00 -0800
committerTobias Klauser <tklauser@distanz.ch>2020-02-21 11:51:30 +0100
commit21b9cc33337e904dee4cac87794291ca95a148dd (patch)
tree444535dff98491b3a53b04093e3d7c57029a1090 /curve.c
parent1fe3d20291b339101d8931a15816add1ea85beef (diff)
mz: Zero memory allocated for new automops element
Prevent crashes when using mausezahn in interactive mode by using calloc to zero the memory upon allocation. Fixes #195 Signed-off-by: Michael R Torres <mic.ric.tor@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'curve.c')
0 files changed, 0 insertions, 0 deletions
Since F03 is a boolean, "depends" on symbols that can be modules do not work quite right. We can enable F03 if SERIO is built-in or if both RMI core and SERIO core are modules. If SERIO core is module, but RMI is built-in, we'll get: drivers/built-in.o: In function `rmi_f03_attention': rmi_f03.c:(.text+0xf8ef8): undefined reference to `serio_interrupt' rmi_f03.c:(.text+0xf8fbd): undefined reference to `serio_interrupt' drivers/built-in.o: In function `rmi_f03_remove': rmi_f03.c:(.text+0xf9082): undefined reference to `serio_unregister_port' drivers/built-in.o: In function `rmi_f03_probe': rmi_f03.c:(.text+0xf9260): undefined reference to `__serio_register_port' Reported-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'net/netlabel/netlabel_kapi.c')