summaryrefslogtreecommitdiff
path: root/link.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-10-20 15:19:53 +0200
committerTobias Klauser <tklauser@distanz.ch>2017-10-20 15:19:53 +0200
commitfe87d2b6117de1e32769b388fe1704440e339d27 (patch)
tree3f4ad769a64ea1689c677d47ae3c7e29f077ffeb /link.h
parent9addb47bec772b53a66c39efdd404290300d0e86 (diff)
astraceroute: use switch instead of lookup table for short proto idcoverity_scan
Avoid having a 58 entry array on stack of which only 3 are ever used. Just look up the short protocol identifier via a good'ol switch. Fixes Coverity CID 1381806 Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'link.h')
0 files changed, 0 insertions, 0 deletions
mmit/net/netlabel/netlabel_calipso.h?h=nds-private-remove&id=586655d278ba08af7b198b93217746f9a506ee8a'>586655d278ba08af7b198b93217746f9a506ee8a (diff)
Merge tag 'rtc-4.10-2' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux
Pull RTC fix from Alexandre Belloni: "A single fix for this cycle. It is worth taking it for 4.10 so that distributions will not have CONFIG_RTC_DRV_JZ4740 switching from m to y in their config. Summary: - Allow jz4740 to build as a module again by using kernel_halt()" * tag 'rtc-4.10-2' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: rtc: jz4740: make the driver buildable as a module again
Diffstat (limited to 'net/netlabel/netlabel_calipso.h')