1. 07 Feb, 2019 3 commits
  2. 06 Feb, 2019 2 commits
  3. 01 Feb, 2019 13 commits
  4. 21 Jan, 2019 6 commits
  5. 16 Jan, 2019 4 commits
    • Jonathan Corbet's avatar
      kernel-doc: suppress 'not described' warnings for embedded struct fields · be5cd20c
      Jonathan Corbet authored
      The ability to add kerneldoc comments for fields in embedded structures is
      useful, but it brought along a whole bunch of warnings for fields that
      could not be described before.  In many cases, there's little value in
      adding docs for these nested fields, and in cases like:
      
             	struct a {
                  struct b {
      	        int c;
      	    } d, e;
      	};
      
      "c" would have to be described twice (as d.c and e.c) to make the warnings
      go away.
      
      We can no doubt do something smarter, but simply suppressing the warnings
      for this case removes about 70 warnings from the docs build, freeing us to
      focus on the ones that matter more.  So make kerneldoc be silent about
      missing descriptions for any field containing a ".".
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      be5cd20c
    • Thomas Gleixner's avatar
      scripts/spdxcheck.py: Handle special quotation mark comments · 959b4968
      Thomas Gleixner authored
      The SuperH boot code files use a magic format for the SPDX identifier
      comment:
      
        LIST "SPDX-License-Identifier: .... "
      
      The trailing quotation mark is not stripped before the token parser is
      invoked and causes the scan to fail. Handle it gracefully.
      
      Fixes: 6a0abce4 ("sh: include: convert to SPDX identifiers")
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Cc: Simon Horman <horms+renesas@verge.net.au>
      Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
      Cc: Rich Felker <dalias@libc.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Kate Stewart <kstewart@linuxfoundation.org>
      Reviewed-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      959b4968
    • Thomas Gleixner's avatar
      LICENSES: Add GCC runtime library exception text · 6e6c61d3
      Thomas Gleixner authored
      A recent commit added SPDX identifiers to the SuperH low level library code
      which originates from GCC. This code is licensed under the GPL 2.0 or later
      with the GCC runtime library exception.
      
      Unfortunately the authors did not bother to add the exception text to the
      LICENSES directory so spdxcheck fails with:
      
       arch/sh/lib/ashiftrt.S: 1:42 Invalid Exception ID: GCC-exception-2.0
       arch/sh/lib/ashlsi3.S: 1:42 Invalid Exception ID: GCC-exception-2.0
       arch/sh/lib/ashrsi3.S: 1:42 Invalid Exception ID: GCC-exception-2.0
       arch/sh/lib/lshrsi3.S: 1:42 Invalid Exception ID: GCC-exception-2.0
       arch/sh/lib/movmem.S: 1:42 Invalid Exception ID: GCC-exception-2.0
       arch/sh/lib/udiv_qrnnd.S: 1:42 Invalid Exception ID: GCC-exception-2.0
       arch/sh/lib/udivsi3.S: 1:42 Invalid Exception ID: GCC-exception-2.0
       arch/sh/lib/udivsi3_i4i-Os.S: 1:42 Invalid Exception ID: GCC-exception-2.0
       arch/sh/lib/udivsi3_i4i.S: 1:42 Invalid Exception ID: GCC-exception-2.0
      
      Add the exception text along with the required tags which allow automated
      checking.
      
      Fixes: 4494ce4f ("sh: lib: convert to SPDX identifiers")
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Cc: Simon Horman <horms+renesas@verge.net.au>
      Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
      Cc: Rich Felker <dalias@libc.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Kate Stewart <kstewart@linuxfoundation.org>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      6e6c61d3
    • Yang Shi's avatar
      doc: memcontrol: fix the obsolete content about force empty · 053bc569
      Yang Shi authored
      We don't do page cache reparent anymore when offlining memcg, so update
      force empty related content accordingly.
      Reviewed-by: default avatarShakeel Butt <shakeelb@google.com>
      Acked-by: default avatarMichal Hocko <mhocko@suse.com>
      Cc: Johannes Weiner <hannes@cmpxchg.org>
      Signed-off-by: default avatarYang Shi <yang.shi@linux.alibaba.com>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      053bc569
  6. 15 Jan, 2019 8 commits
  7. 14 Jan, 2019 2 commits
  8. 08 Jan, 2019 2 commits
    • Jonathan Corbet's avatar
      Merge branch 'thorsten' into docs-next · 7c11fcc5
      Jonathan Corbet authored
      7c11fcc5
    • Thorsten Leemhuis's avatar
      docs: Revamp tainted-kernels.rst to make it more comprehensible · 896dd323
      Thorsten Leemhuis authored
      Add a section about decoding /proc/sys/kernel/tainted, create a more
      understandable intro and a hopefully explain better the tainted flags in
      bugs, oops or panics messages. Only thing missing then is a table that
      quickly describes the various bits and taint flags before going into more
      detail, so add that as well.
      
      That table is partly based on a section from Documentation/sysctl/kernel.txt,
      but a bit more compact. To avoid confusion I added the shortened version to
      kernel.txt; the same table is used in three different places now:
      ./tools/debugging/kernel-chktaint,
      Documentation/admin-guide/tainted-kernels.rst and
      Documentation/sysctl/kernel.txt
      
      During review of v1 (see above) a number of existing issues with the text
      were raised, like outdated usages as well as incomplete or missing
      descriptions.  Address most of those as well.
      Signed-off-by: default avatarThorsten Leemhuis <linux@leemhuis.info>
      [jc: tightened up changelog]
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      896dd323