29 Apr, 2020

1 commit


19 Jun, 2019

1 commit

  • Based on 1 normalized pattern(s):

    licensed under the gnu general public license version 2 0 gplv2

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

    has been chosen to replace the boilerplate/reference in 3 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Armijn Hemel
    Reviewed-by: Alexios Zavras
    Reviewed-by: Allison Randal
    Reviewed-by: Enrico Weigelt
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190602204653.630925848@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

27 Apr, 2018

1 commit

  • Here the variable cont is used as the saved_pointer for a call to
    strtok_r(). It is safe to use the value uninitialized in this
    context however and the later reference is only ever used if
    the strtok_r is successful. But, 'gcc-5' at least doesn't have all
    this knowledge so initialize cont to NULL. Additionally, do the
    natural NULL check before accessing just for completness.

    The warning is the following:

    ./bpf/tools/bpf/bpf_dbg.c: In function ‘cmd_load’:
    ./bpf/tools/bpf/bpf_dbg.c:1077:13: warning: ‘cont’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    } else if (matches(subcmd, "pcap") == 0) {

    Fixes: fd981e3c321a "filter: bpf_dbg: add minimal bpf debugger"
    Signed-off-by: John Fastabend
    Signed-off-by: Daniel Borkmann

    John Fastabend
     

05 Oct, 2017

1 commit

  • We currently only have BPF tools in the tools/net directory.
    We are about to add more BPF tools there, not necessarily
    networking related, rename the directory and related Makefile
    targets to bpf.

    Suggested-by: Daniel Borkmann
    Signed-off-by: Jakub Kicinski
    Reviewed-by: Simon Horman
    Acked-by: Daniel Borkmann
    Acked-by: Alexei Starovoitov
    Signed-off-by: David S. Miller

    Jakub Kicinski