summaryrefslogtreecommitdiff
path: root/pkt_buff.h
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 /pkt_buff.h
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 'pkt_buff.h')
0 files changed, 0 insertions, 0 deletions
isabled: drivers/spi/spi-cadence.c:681:12: warning: 'cnds_runtime_suspend' defined but not used drivers/spi/spi-cadence.c:652:12: warning: 'cnds_runtime_resume' defined but not used This adds __maybe_unused annotations to the respective functions to shut up the warnings, while leaving the code in place for compile testing and avoiding ugly #ifdefs. Fixes: d36ccd9f7ea4 ("spi: cadence: Runtime pm adaptation") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Shubhrajyoti Datta <shubhraj@xilinx.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/hwmon/tmp401')