1. 15 Nov, 2018 1 commit
    • Gwenhael Goavec-Merou's avatar
      spec-sw: kernel: spec-pci: use pci_alloc_irq_vectors with kernel > 4.11 · ed527040
      Gwenhael Goavec-Merou authored
      since 4.11 pci_enable_msi_exact is no more available and fail with :
      
      spec-sw/kernel/spec-pci.c: In function 'spec_probe':
      spec-sw/kernel/spec-pci.c:225:9: error: implicit declaration of function 'pci_enable_msi_exact'; did you mean 'pci_enable_msix_exact'? [-Werror=implicit-function-declaration]
         ret = pci_enable_msi_exact(pdev, 1);
               ^~~~~~~~~~~~~~~~~~~~
               pci_enable_msix_exact
      cc1: some warnings being treated as errors
      make[5]: *** [/usr/src/linux-headers-4.18.0-2-common/scripts/Makefile.build:323: spec-sw/kernel/spec-pci.o] Error 1
      make[4]: *** [/usr/src/linux-headers-4.18.0-2-common/Makefile:1531: _module_spec-sw/kernel] Error 2
      make[3]: *** [Makefile:146: sub-make] Error 2
      make[2]: *** [Makefile:8: all] Error 2
      make[2]: Leaving directory '/usr/src/linux-headers-4.18.0-2-amd64'
      make[1]: *** [Makefile:20: all] Error 2
      make[1]: Leaving directory 'spec-sw/kernel'
      make: *** [Makefile:28: kernel] Error 2
      
      This patch add preprocessor case to detect kernel version.
      For kernel > 4.11 pci_alloc_irq_vectors is use instead of pci_enable_msi_exact
      and pci_free_irq_vectors instead of pci_disable_msi.
      Signed-off-by: 's avatarGwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
      ed527040
  2. 28 Feb, 2017 3 commits
  3. 10 Feb, 2016 2 commits
  4. 13 Nov, 2015 2 commits
  5. 07 May, 2015 1 commit
  6. 20 Jan, 2015 1 commit
  7. 18 Sep, 2014 1 commit
  8. 13 Aug, 2014 2 commits
  9. 01 Aug, 2014 1 commit
  10. 14 Jul, 2014 1 commit
  11. 11 Feb, 2014 1 commit
  12. 02 Jul, 2013 1 commit
  13. 07 Jun, 2013 1 commit
    • Juan David González Cobas's avatar
      build: add git describe info as modinfo · 7c9c02e8
      Juan David González Cobas authored
      For traceability purposes, we include commit descriptions
      as MODULE_VERSION information in drivers that are deployed
      in CERN control system.
      
      Ideally, the commit description should be added to all the
      binary blobs installed, but the kernel module is critical
      in this connection, as it is crucial to trace back quickly
      the whereabouts of installed .ko sources.
      7c9c02e8
  14. 16 May, 2013 1 commit
  15. 20 Mar, 2013 1 commit
    • Alessandro Rubini's avatar
      kernel: fix some warnings · dff56a31
      Alessandro Rubini authored
      While building for a 64-bit host I found a few warnings in format strings.
      One is corrected by using "%zi", and other ones are about resources.
      Unfortunately %pR was added in 2.6.32, so to avoid introducing backporting
      issues to our 2.6.24 cast the argument instead.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      dff56a31
  16. 10 Oct, 2012 1 commit
  17. 09 Oct, 2012 1 commit
  18. 02 Oct, 2012 1 commit
  19. 08 Aug, 2012 5 commits