Skip to content
Snippets Groups Projects
  1. Aug 05, 2021
  2. Apr 02, 2020
  3. Oct 29, 2019
  4. Jul 09, 2019
  5. Jun 05, 2019
  6. May 29, 2019
  7. May 15, 2019
    • Arnaldo Carvalho de Melo's avatar
      tools pci: Do not delete pcitest.sh in 'make clean' · c9a70787
      Arnaldo Carvalho de Melo authored
      When running 'make -C tools clean' I noticed that a revision controlled
      file was being deleted:
      
        $ git diff
        diff --git a/tools/pci/pcitest.sh b/tools/pci/pcitest.sh
        deleted file mode 100644
        index 75ed48ff2990..000000000000
        --- a/tools/pci/pcitest.sh
        +++ /dev/null
        @@ -1,72 +0,0 @@
        -#!/bin/sh
        -# SPDX-License-Identifier: GPL-2.0
        -
        -echo "BAR tests"
        -echo
        <SNIP>
      
      So I changed the make variables to fix that, testing it should produce
      the same intended result while not deleting revision controlled files.
      
        $ make O=/tmp/build/pci -C tools/pci install
        make: Entering directory '/home/acme/git/perf/tools/pci'
        make -f /home/acme/git/perf/tools/build/Makefile.build dir=. obj=pcitest
        install -d -m 755 /usr/bin;		\
        for program in /tmp/build/pci/pcitest pcitest.sh; do	\
        	install $program /usr/bin;	\
        done
        install: cannot change permissions of ‘/usr/bin’: Operation not permitted
        install: cannot create regular file '/usr/bin/pcitest': Permission denied
        install: cannot create regular file '/usr/bin/pcitest.sh': Permission denied
        make: *** [Makefile:46: install] Error 1
        make: Leaving directory '/home/acme/git/perf/tools/pci'
        $ ls -la /tmp/build/pci/pcitest
        -rwxrwxr-x. 1 acme acme 27152 May 13 13:52 /tmp/build/pci/pcitest
        $ /tmp/build/pci/pcitest
        can't open PCI Endpoint Test device: No such file or directory
        $
      
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: Kishon Vijay Abraham I <kishon@ti.com>
      Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Fixes: 1ce78ce0 ("tools: PCI: Change pcitest compiling process")
      Link: https://lkml.kernel.org/n/tip-9re6bd7eh9epi3koslkv3ocn@git.kernel.org
      
      
      Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
      c9a70787
  8. Apr 11, 2019
  9. Mar 22, 2019
  10. Oct 03, 2018
  11. Jul 19, 2018
  12. Nov 02, 2017
    • Greg Kroah-Hartman's avatar
      License cleanup: add SPDX GPL-2.0 license identifier to files with no license · b2441318
      Greg Kroah-Hartman authored
      Many source files in the tree are missing licensing information, which
      makes it harder for compliance tools to determine the correct license.
      
      By default all files without license information are under the default
      license of the kernel, which is GPL version 2.
      
      Update the files which contain no license information with the 'GPL-2.0'
      SPDX license identifier.  The SPDX identifier is a legally binding
      shorthand, which can be used instead of the full boiler plate text.
      
      This patch is based on work done by Thomas Gleixner and Kate Stewart and
      Philippe Ombredanne.
      
      How this work was done:
      
      Patches were generated and checked against linux-4.14-rc6 for a subset of
      the use cases:
       - file had no licensing information it it.
       - file was a */uapi/* one with no licensing information in it,
       - file was a */uapi/* one with existing licensing information,
      
      Further patches will be generated in subsequent months to fix up cases
      where non-standard...
      b2441318
  13. Aug 29, 2017
  14. Apr 28, 2017
Loading