1. 25 2月, 2017 3 次提交
  2. 23 2月, 2017 6 次提交
  3. 16 2月, 2017 1 次提交
  4. 14 2月, 2017 1 次提交
  5. 10 2月, 2017 1 次提交
  6. 04 2月, 2017 1 次提交
    • A
      kbuild: modversions: add infrastructure for emitting relative CRCs · 56067812
      Ard Biesheuvel 提交于
      This add the kbuild infrastructure that will allow architectures to emit
      vmlinux symbol CRCs as 32-bit offsets to another location in the kernel
      where the actual value is stored. This works around problems with CRCs
      being mistaken for relocatable symbols on kernels that self relocate at
      runtime (i.e., powerpc with CONFIG_RELOCATABLE=y)
      
      For the kbuild side of things, this comes down to the following:
      
       - introducing a Kconfig symbol MODULE_REL_CRCS
      
       - adding a -R switch to genksyms to instruct it to emit the CRC symbols
         as references into the .rodata section
      
       - making modpost distinguish such references from absolute CRC symbols
         by the section index (SHN_ABS)
      
       - making kallsyms disregard non-absolute symbols with a __crc_ prefix
      Signed-off-by: NArd Biesheuvel <ard.biesheuvel@linaro.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      56067812
  7. 03 2月, 2017 3 次提交
  8. 27 1月, 2017 4 次提交
  9. 19 1月, 2017 2 次提交
  10. 14 1月, 2017 2 次提交
  11. 11 1月, 2017 1 次提交
  12. 05 1月, 2017 6 次提交
    • P
      kernel-doc: make highlights more homogenous for the various backends · df31175b
      Paolo Bonzini 提交于
      $type_struct_full and friends are only used by the restructuredText
      backend, because it needs to separate enum/struct/typedef/union from
      the name of the type.  However, $type_struct is *also* used by the rST
      backend.  This is confusing.
      
      This patch replaces $type_struct's use in the rST backend with a new
      $type_fallback; it modifies $type_struct so that it can be used in the
      rST backend; and creates regular expressions like $type_struct
      for enum/typedef/union, for use in all backends.
      
      Note that, compared to $type_*_full, in the new regexes $1 includes both
      the "kind" and the name (before, $1 was pretty much a constant).
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Acked-by: NJani Nikula <jani.nikula@intel.com>
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      df31175b
    • P
      kernel-doc: make member highlighting available in all backends · 5267dd35
      Paolo Bonzini 提交于
      Note that, in order to produce the correct Docbook markup, the "." or "->"
      must be separated from the member name in the regex's captured fields.  For
      consistency, this change is applied to $type_member and $type_member_func
      too, not just to $type_member_xml.
      
      List mode only prints the struct name, to avoid any undesired change in
      the operation of docproc.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Acked-by: NJani Nikula <jani.nikula@intel.com>
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      5267dd35
    • P
      kernel-doc: include parameter type in docbook output · fc6d7af8
      Paolo Bonzini 提交于
      The restructuredText output includes both the parameter type and
      the name for functions and function-typed members.  Do the same
      for docbook.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Acked-by: NJani Nikula <jani.nikula@intel.com>
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      fc6d7af8
    • P
      kernel-doc: strip attributes even if they have an argument · b1aaa546
      Paolo Bonzini 提交于
      An inline function can have an attribute, as in include/linux/log2.h,
      and kernel-doc handles this already for simple cases.  However,
      some attributes have arguments (e.g. the "target" attribute).
      Handle those too.
      
      Furthermore, attributes could be at the beginning of a function
      declaration, before the return type.  To correctly handle this case,
      you need to strip spaces after the attributes; otherwise, dump_function
      is left confused.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Acked-by: NJani Nikula <jani.nikula@intel.com>
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      b1aaa546
    • P
      kernel-doc: cleanup parameter type in function-typed arguments · 02a4f4fe
      Paolo Bonzini 提交于
      A prototype like
      
          /**
           * foo - sample definition
           * @bar: a parameter
           */
          int foo(int (*bar)(int x,
                             int y));
      
      is currently producing
      
          .. c:function:: int foo (int (*bar) (int x,                    int y)
      
             sample definition
      
          **Parameters**
      
          ``int (*)(int x,                    int y) bar``
            a parameter
      
      Collapse the spaces so that the output is nicer.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Acked-by: NJani Nikula <jani.nikula@intel.com>
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      02a4f4fe
    • R
      scripts/dtc: Update to upstream version 0931cea3ba20 · 6f05afcb
      Rob Herring 提交于
      Sync to upstream dtc commit 0931cea3ba20 ("dtc: fdtdump: check fdt if
      not in scanning mode"). In particular, this pulls in dtc overlay
      support.
      
      This adds the following commits from upstream:
      
      f88865469b65 dtc: Fix memory leak in character literal parsing
      00fbb8696b66 Rename boot_info
      1ef86ad2c24f dtc: Clean up /dts-v1/ and /plugin/ handling in grammar
      e3c769aa9c16 dtc: Don't always generate __symbols__ for plugins
      c96cb3c0169e tests: Don't use -@ on plugin de/recompile tests
      66381538ce24 tests: Remove "suppression of fixups" tests
      ba765b273f0f tests: Clarify dtc overlay tests
      6ea8cd944fcd tests: More thorough tests of libfdt overlay application without dtc
      7d8ef6e1db97 tests: Correct fdt handling of overlays without fixups and base trees without symbols
      b4dc0ed8b127 tests: Fix double expansion bugs in test code
      3ea879dc0c8f tests: Split overlay tests into those with do/don't exercise dtc plugin generation
      47b4d66a2f11 tests: Test auto-alias generation on base tree, not overlay
      72e1ad811523 tests: Make overlay/plugin tests unconditional
      e7b3c3b5951b tests: Add overlay tests
      9637e3f772a9 tests: Add check_path test
      20f29d8d41f6 dtc: Plugin and fixup support
      a2c92cac53f8 dtc: Document the dynamic plugin internals
      8f70ac39801d checks: Pass boot_info instead of root node
      ea10f953878f libfdt: add missing errors to fdt_strerror()
      daa75e8fa594 libfdt: fix fdt_stringlist_search()
      e28eff5b787a libfdt: fix fdt_stringlist_count()
      ae97c7722840 tests: overlay: Rename the device tree blobs to be more explicit
      96162d2bd9cb tests: overlay: Add test suffix to the compiled blobs
      5ce8634733b7 libfdt: Add fdt_overlay_apply to the exported symbols
      804a9db90ad2 fdt: strerr: Remove spurious BADOVERLAY
      e8c3a1a493fa tests: overlay: Move back the bad fixup tests
      7a72d89d3f81 libfdt: overlay: Fix symbols and fixups nodes condition
      cabbaa972cdd libfdt: overlay: Report a bad overlay for mismatching local fixups
      deb0a5c1aeaa libfdt: Add BADPHANDLE error string
      7b7a6be9ba15 libfdt: Don't use 'index' as a local variable name
      aea8860d831e tests: Add tests cases for the overlay code
      0cdd06c5135b libfdt: Add overlay application function
      39240cc865cf libfdt: Extend the reach of FDT_ERR_BADPHANDLE
      4aa3a6f5e6d9 libfdt: Add new errors for the overlay code
      6d1832c9e64b dtc: Remove "home page" link
      45fd440a9561 Fix some typing errors in libfdt.h and livetree.c
      a59be4939c13 Merge tag 'v1.4.2'
      a34bb721caca dtc: Fix assorted problems in the testcases for the -a option
      874f40588d3e Implement the -a option to pad dtb aligned
      ec02b34c05be dtc: Makefile improvements for release uploading
      1ed45d40a137 dtc: Bump version to 1.4.2
      36fd7331fb11 libfdt: simplify fdt_del_mem_rsv()
      d877364e4a0f libfdt: Add fdt_setprop_inplace_namelen_partial
      3e9037aaad44 libfdt: Add fdt_getprop_namelen_w
      84e0e1346c68 libfdt: Add max phandle retrieval function
      d29126c90acb libfdt: Add iterator over properties
      902d0f0953d0 libfdt: Add a subnodes iterator macro
      c539075ba8ba fdtput.c: Fix memory leak.
      f79ddb83e185 fdtget.c: Fix memory leak
      1074ee54b63f convert-dtsv0-lexer.l: fix memory leak
      e24d39a024e6 fdtdump.c: make sure size_t argument to memchr is always unsigned.
      44a59713cf05 Remove unused srcpos_dump() function
      cb9241ae3453 DTC: Fix memory leak on flatname.
      1ee0ae24ea09 Simplify check field and macro names
      9d97527a8621 Remove property check functions
      2e709d158e11 Remove tree check functions
      c4cb12e193e3 Alter grammar to allow multiple /dts-v1/ tags
      d71d25d76012 Use xasprintf() in srcpos
      9dc404958e9c util: Add xasprintf portable asprintf variant
      beef80b8b55f Correct a missing space in a fdt_header cast
      68d43cec1253 Correct line lengths in libfdt.h
      b0dbceafd49a Correct space-after-tab in libfdt.h
      Signed-off-by: NRob Herring <robh@kernel.org>
      6f05afcb
  13. 04 1月, 2017 2 次提交
  14. 21 12月, 2016 1 次提交
    • P
      selinux: use the kernel headers when building scripts/selinux · bfc5e3a6
      Paul Moore 提交于
      Commit 3322d0d6 ("selinux: keep SELinux in sync with new capability
      definitions") added a check on the defined capabilities without
      explicitly including the capability header file which caused problems
      when building genheaders for users of clang/llvm.  Resolve this by
      using the kernel headers when building genheaders, which is arguably
      the right thing to do regardless, and explicitly including the
      kernel's capability.h header file in classmap.h.  We also update the
      mdp build, even though it wasn't causing an error we really should
      be using the headers from the kernel we are building.
      Reported-by: NNicolas Iooss <nicolas.iooss@m4x.org>
      Signed-off-by: NPaul Moore <paul@paul-moore.com>
      bfc5e3a6
  15. 16 12月, 2016 1 次提交
  16. 14 12月, 2016 2 次提交
  17. 13 12月, 2016 3 次提交