06 Jun, 2022

1 commit

  • commit 6d5aa418b3bd42cdccc36e94ee199af423ef7c84 upstream.

    The reference to `explicit_in_reply_to` is pointless as when the
    reference was added in the form of "#15" [1], Section 15) was "The
    canonical patch format".
    The reference of "#15" had not been properly updated in a couple of
    reorganizations during the plain-text SubmittingPatches era.

    Fix it by using `the_canonical_patch_format`.

    [1]: 2ae19acaa50a ("Documentation: Add "how to write a good patch summary" to SubmittingPatches")

    Signed-off-by: Akira Yokosawa
    Fixes: 5903019b2a5e ("Documentation/SubmittingPatches: convert it to ReST markup")
    Fixes: 9b2c76777acc ("Documentation/SubmittingPatches: enrich the Sphinx output")
    Cc: Jonathan Corbet
    Cc: Mauro Carvalho Chehab
    Cc: stable@vger.kernel.org # v4.9+
    Link: https://lore.kernel.org/r/64e105a5-50be-23f2-6cae-903a2ea98e18@gmail.com
    Signed-off-by: Jonathan Corbet
    Signed-off-by: Greg Kroah-Hartman

    Akira Yokosawa
     

08 Apr, 2022

2 commits

  • commit 555d44932c67e617d89bc13c81c7efac5b51fcfa upstream.

    The link to stable tree is redirected to
    https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git. Update
    accordingly.

    Cc: Greg Kroah-Hartman
    Cc: Sasha Levin
    Cc: Jonathan Corbet
    Cc: stable@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: Bagas Sanjaya
    Link: https://lore.kernel.org/r/20220314113329.485372-6-bagasdotme@gmail.com
    Signed-off-by: Greg Kroah-Hartman

    Bagas Sanjaya
     
  • commit 587d39b260c4d090166314d64be70b1f6a26b0b5 upstream.

    There is also stable release candidate tree. Mention it, however with a
    warning that the tree is for testing purposes.

    Cc: Greg Kroah-Hartman
    Cc: Sasha Levin
    Cc: Jonathan Corbet
    Cc: stable@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: Bagas Sanjaya
    Link: https://lore.kernel.org/r/20220314113329.485372-5-bagasdotme@gmail.com
    Signed-off-by: Greg Kroah-Hartman

    Bagas Sanjaya
     

14 Sep, 2021

2 commits

  • Merge patch series from Nick Desaulniers to update the minimum gcc
    version to 5.1.

    This is some of the left-overs from the merge window that I didn't want
    to deal with yesterday, so it comes in after -rc1 but was sent before.

    Gcc-4.9 support has been an annoyance for some time, and with -Werror I
    had the choice of applying a fairly big patch from Kees Cook to remove a
    fair number of initializer warnings (still leaving some), or this patch
    series from Nick that just removes the source of the problem.

    The initializer cleanups might still be worth it regardless, but
    honestly, I preferred just tackling the problem with gcc-4.9 head-on.
    We've been more aggressiuve about no longer having to care about
    compilers that were released a long time ago, and I think it's been a
    good thing.

    I added a couple of patches on top to sort out a few left-overs now that
    we no longer support gcc-4.x.

    As noted by Arnd, as a result of this minimum compiler version upgrade
    we can probably change our use of '--std=gnu89' to '--std=gnu11', and
    finally start using local loop declarations etc. But this series does
    _not_ yet do that.

    Link: https://lore.kernel.org/all/20210909182525.372ee687@canb.auug.org.au/
    Link: https://lore.kernel.org/lkml/CAK7LNASs6dvU6D3jL2GG3jW58fXfaj6VNOe55NJnTB8UPuk2pA@mail.gmail.com/
    Link: https://github.com/ClangBuiltLinux/linux/issues/1438

    * emailed patches from Nick Desaulniers :
    Drop some straggling mentions of gcc-4.9 as being stale
    compiler_attributes.h: drop __has_attribute() support for gcc4
    vmlinux.lds.h: remove old check for GCC 4.9
    compiler-gcc.h: drop checks for older GCC versions
    Makefile: drop GCC < 5 -fno-var-tracking-assignments workaround
    arm64: remove GCC version check for ARCH_SUPPORTS_INT128
    powerpc: remove GCC version check for UPD_CONSTR
    riscv: remove Kconfig check for GCC version for ARCH_RV64I
    Kconfig.debug: drop GCC 5+ version check for DWARF5
    mm/ksm: remove old GCC 4.9+ check
    compiler.h: drop fallback overflow checkers
    Documentation: raise minimum supported version of GCC to 5.1

    Linus Torvalds
     
  • commit fad7cd3310db ("nbd: add the check to prevent overflow in
    __nbd_ioctl()") raised an issue from the fallback helpers added in
    commit f0907827a8a9 ("compiler.h: enable builtin overflow checkers and
    add fallback code")

    Specifically, the helpers for checking whether the results of a
    multiplication overflowed (__unsigned_mul_overflow,
    __signed_add_overflow) use the division operator when
    !COMPILER_HAS_GENERIC_BUILTIN_OVERFLOW. This is problematic for 64b
    operands on 32b hosts.

    Also, because the macro is type agnostic, it is very difficult to write
    a similarly type generic macro that dispatches to one of:
    * div64_s64
    * div64_u64
    * div_s64
    * div_u64

    Raising the minimum supported versions allows us to remove all of the
    fallback helpers for !COMPILER_HAS_GENERIC_BUILTIN_OVERFLOW, instead
    dispatching the compiler builtins.

    arm64 has already raised the minimum supported GCC version to 5.1, do
    this for all targets now. See the link below for the previous
    discussion.

    Link: https://lore.kernel.org/all/20210909182525.372ee687@canb.auug.org.au/
    Link: https://lore.kernel.org/lkml/CAK7LNASs6dvU6D3jL2GG3jW58fXfaj6VNOe55NJnTB8UPuk2pA@mail.gmail.com/
    Link: https://github.com/ClangBuiltLinux/linux/issues/1438
    Reported-by: Stephen Rothwell
    Reported-by: Nathan Chancellor
    Suggested-by: Rasmus Villemoes
    Signed-off-by: Nick Desaulniers
    Reviewed-by: Kees Cook
    Reviewed-by: Nathan Chancellor
    Signed-off-by: Linus Torvalds

    Nick Desaulniers
     

25 Aug, 2021

1 commit


21 Aug, 2021

2 commits

  • Recently, the content and examples of the book "The Linux Kernel Module
    Programming Guide" are being actively maintained and added on Github[1].
    Currently, the book is being regularly built into webpage and pdf
    file using Github static page[2].

    [1]: https://github.com/sysprog21/lkmpg
    [2]: https://sysprog21.github.io/lkmpg/

    Signed-off-by: Chun-Hung Tseng
    Link: https://lore.kernel.org/r/20210820222152.971174-1-henrybear327@gmail.com
    [jc: fixed docs-build warnings]
    Signed-off-by: Jonathan Corbet

    Chun-Hung Tseng
     
  • There is a url for linux-next in the 'applying-patches.rst', but it's
    surrounded by backquotes. So the url doesn't have a hyperlink in the
    built document. To let readers easily move to the page, this commit
    puts the url outside of the backquotes so that a hyperlink to the url
    can be automatically made.

    Signed-off-by: SeongJae Park
    Link: https://lore.kernel.org/r/20210812095030.4704-1-sj38.park@gmail.com
    Signed-off-by: Jonathan Corbet

    SeongJae Park
     

26 Jul, 2021

2 commits

  • The documentation previously stated that LKML should be used as *last
    resort*. However, scripts/get_maintainer.pl always suggests it and in a
    discussion about changing that[0] it turned out that LKML should in fact
    receive all patches.

    Update documentation to make it clear that all patches should be sent to
    LKML by default, in addition to any subsystem-specific lists.

    [0]: https://lore.kernel.org/lkml/19a701a8d5837088aa7d8ba594c228c0e040e747.camel@perches.com/

    Signed-off-by: Hannu Hartikainen
    Link: https://lore.kernel.org/r/20210707133634.286840-1-hannu@hrtk.in
    Signed-off-by: Jonathan Corbet

    Hannu Hartikainen
     
  • Linus decided a debug toggle for %p was tolerable, so update the
    %p deprecation documentation.

    Signed-off-by: Kees Cook
    Link: https://lore.kernel.org/r/20210723200526.3424128-1-keescook@chromium.org
    Signed-off-by: Jonathan Corbet

    Kees Cook
     

18 Jun, 2021

1 commit


11 May, 2021

1 commit

  • A few of the Documentation .rst files begin with a Unicode
    byte order mark (BOM). The BOM may signify endianess for
    16-bit or 32-bit encodings or indicate that the text stream
    is indeed Unicode. We don't need it for either of those uses.
    It may also interfere with (confuse) some software.

    Since we don't need it and its use is optional, just delete
    the uses of it in Documentation/.

    https://en.wikipedia.org/wiki/Byte_order_mark

    Signed-off-by: Randy Dunlap
    Reviewed-by: Matthew Wilcox (Oracle)
    Reviewed-by: Greg Kroah-Hartman
    Cc: Mauro Carvalho Chehab
    Link: https://lore.kernel.org/r/20210506231907.14359-1-rdunlap@infradead.org
    Signed-off-by: Jonathan Corbet

    Randy Dunlap
     

06 May, 2021

1 commit

  • Pull documentation fixes from Jonathan Corbet:
    "A few late-arriving documentation fixes, including some oprofile
    cleanup, a kernel-doc fix, some regression-reporting updates, and the
    usual minor fixes"

    * tag 'docs-5.13-2' of git://git.lwn.net/linux:
    Enlisted oprofile version line removed
    oprofiled version output line removed from the list
    Removed the oprofiled version option
    docs: reporting-issues.rst: CC subsystem and maintainers on regressions
    docs: correct URL to bios and kernel developer's guide
    docs/core-api: Consistent code style
    docs/zh_CN: Adjust order and content of zh_CN/index.rst
    Documentation: input: joydev file corrections
    docs: Fix typo in Documentation/x86/x86_64/5level-paging.rst
    kernel-doc: Add support for __deprecated

    Linus Torvalds
     

04 May, 2021

1 commit


27 Apr, 2021

1 commit

  • Pull documentation updates from Jonathan Corbet:
    "It's been a relatively busy cycle in docsland, though more than
    usually well contained to Documentation/ itself. Highlights include:

    - The Chinese translators have been busy and show no signs of
    stopping anytime soon. Italian has also caught up.

    - Aditya Srivastava has been working on improvements to the
    kernel-doc script.

    - Thorsten continues his work on reporting-issues.rst and related
    documentation around regression reporting.

    - Lots of documentation updates, typo fixes, etc. as usual"

    * tag 'docs-5.13' of git://git.lwn.net/linux: (139 commits)
    docs/zh_CN: add openrisc translation to zh_CN index
    docs/zh_CN: add openrisc index.rst translation
    docs/zh_CN: add openrisc todo.rst translation
    docs/zh_CN: add openrisc openrisc_port.rst translation
    docs/zh_CN: add core api translation to zh_CN index
    docs/zh_CN: add core-api index.rst translation
    docs/zh_CN: add core-api irq index.rst translation
    docs/zh_CN: add core-api irq irqflags-tracing.rst translation
    docs/zh_CN: add core-api irq irq-domain.rst translation
    docs/zh_CN: add core-api irq irq-affinity.rst translation
    docs/zh_CN: add core-api irq concepts.rst translation
    docs: sphinx-pre-install: don't barf on beta Sphinx releases
    scripts: kernel-doc: improve parsing for kernel-doc comments syntax
    docs/zh_CN: two minor fixes in zh_CN/doc-guide/
    Documentation: dev-tools: Add Testing Overview
    docs/zh_CN: add translations in zh_CN/dev-tools/gcov
    docs: reporting-issues: make people CC the regressions list
    MAINTAINERS: add regressions mailing list
    doc:it_IT: align Italian documentation
    docs/zh_CN: sync reporting-issues.rst
    ...

    Linus Torvalds
     

14 Apr, 2021

1 commit


15 Mar, 2021

1 commit


10 Mar, 2021

5 commits

  • First, it is never checked. Second, use of it as a debugging aid is
    at least questionable. With the current tools, I don't think anyone used
    this kind of thing for debugging purposes for years.

    On the top of that, e.g. serdev does not set this field of tty_ldisc_ops
    at all.

    So get rid of this legacy.

    Signed-off-by: Jiri Slaby
    Link: https://lore.kernel.org/r/20210302062214.29627-8-jslaby@suse.cz
    Signed-off-by: Greg Kroah-Hartman

    Jiri Slaby
     
  • While the driver is still marked as maintained in MAINTAINERS, Comtrol
    does not really care about this ancient driver. They are still
    manufacturing serial devices, but those are controlled only by
    out-of-tree drivers.

    Comtrol didn't answer my pings, so this driver is apparently
    unmaintained. Aside from that, the driver was untouched for years, only
    whole-tree changes happened during the past years. The driver needs much
    more care, so drop it for now. If someone steps up to reintroduce it,
    they need to clean it up first.

    Signed-off-by: Jiri Slaby
    Link: https://lore.kernel.org/r/20210302062214.29627-7-jslaby@suse.cz
    Signed-off-by: Greg Kroah-Hartman

    Jiri Slaby
     
  • The Isicom driver was orphaned by commit d86b3001a1a6 (MAINTAINERS:
    orphan isicom) 10 years ago. Noone stepped up to take care of them and
    to fix all the issues the driver has.

    So it's time to drop the driver with all its traces.

    Signed-off-by: Jiri Slaby
    Link: https://lore.kernel.org/r/20210302062214.29627-6-jslaby@suse.cz
    Signed-off-by: Greg Kroah-Hartman

    Jiri Slaby
     
  • The Cyclades driver was orphaned by commit d459883e6c54 (MAINTAINERS:
    remove two dead e-mail) 13 years ago. Noone stepped up to take care of
    them and to fix all the issues the driver has.

    On the top of that, there is no way to obtain the firmware for Z cards
    from the vendor as cyclades.com ceased to exist.

    So it's time to drop the driver with all its traces.

    Signed-off-by: Jiri Slaby
    Link: https://lore.kernel.org/r/20210302062214.29627-5-jslaby@suse.cz
    Signed-off-by: Greg Kroah-Hartman

    Jiri Slaby
     
  • Pull networking fixes from David Miller:

    1) Fix transmissions in dynamic SMPS mode in ath9k, from Felix Fietkau.

    2) TX skb error handling fix in mt76 driver, also from Felix.

    3) Fix BPF_FETCH atomic in x86 JIT, from Brendan Jackman.

    4) Avoid double free of percpu pointers when freeing a cloned bpf prog.
    From Cong Wang.

    5) Use correct printf format for dma_addr_t in ath11k, from Geert
    Uytterhoeven.

    6) Fix resolve_btfids build with older toolchains, from Kun-Chuan
    Hsieh.

    7) Don't report truncated frames to mac80211 in mt76 driver, from
    Lorenzop Bianconi.

    8) Fix watcdog timeout on suspend/resume of stmmac, from Joakim Zhang.

    9) mscc ocelot needs NET_DEVLINK selct in Kconfig, from Arnd Bergmann.

    10) Fix sign comparison bug in TCP_ZEROCOPY_RECEIVE getsockopt(), from
    Arjun Roy.

    11) Ignore routes with deleted nexthop object in mlxsw, from Ido
    Schimmel.

    12) Need to undo tcp early demux lookup sometimes in nf_nat, from
    Florian Westphal.

    13) Fix gro aggregation for udp encaps with zero csum, from Daniel
    Borkmann.

    14) Make sure to always use imp*_ndo_send when necessaey, from Jason A.
    Donenfeld.

    15) Fix TRSCER masks in sh_eth driver from Sergey Shtylyov.

    16) prevent overly huge skb allocationsd in qrtr, from Pavel Skripkin.

    17) Prevent rx ring copnsumer index loss of sync in enetc, from Vladimir
    Oltean.

    18) Make sure textsearch copntrol block is large enough, from Wilem de
    Bruijn.

    19) Revert MAC changes to r8152 leading to instability, from Hates Wang.

    20) Advance iov in 9p even for empty reads, from Jissheng Zhang.

    21) Double hook unregister in nftables, from PabloNeira Ayuso.

    22) Fix memleak in ixgbe, fropm Dinghao Liu.

    23) Avoid dups in pkt scheduler class dumps, from Maximilian Heyne.

    24) Various mptcp fixes from Florian Westphal, Paolo Abeni, and Geliang
    Tang.

    25) Fix DOI refcount bugs in cipso, from Paul Moore.

    26) One too many irqsave in ibmvnic, from Junlin Yang.

    27) Fix infinite loop with MPLS gso segmenting via virtio_net, from
    Balazs Nemeth.

    * git://git.kernel.org:/pub/scm/linux/kernel/git/netdev/net: (164 commits)
    s390/qeth: fix notification for pending buffers during teardown
    s390/qeth: schedule TX NAPI on QAOB completion
    s390/qeth: improve completion of pending TX buffers
    s390/qeth: fix memory leak after failed TX Buffer allocation
    net: avoid infinite loop in mpls_gso_segment when mpls_hlen == 0
    net: check if protocol extracted by virtio_net_hdr_set_proto is correct
    net: dsa: xrs700x: check if partner is same as port in hsr join
    net: lapbether: Remove netif_start_queue / netif_stop_queue
    atm: idt77252: fix null-ptr-dereference
    atm: uPD98402: fix incorrect allocation
    atm: fix a typo in the struct description
    net: qrtr: fix error return code of qrtr_sendmsg()
    mptcp: fix length of ADD_ADDR with port sub-option
    net: bonding: fix error return code of bond_neigh_init()
    net: enetc: allow hardware timestamping on TX queues with tc-etf enabled
    net: enetc: set MAC RX FIFO to recommended value
    net: davicom: Use platform_get_irq_optional()
    net: davicom: Fix regulator not turned off on driver removal
    net: davicom: Fix regulator not turned off on failed probe
    net: dsa: fix switchdev objects on bridge master mistakenly being applied on ports
    ...

    Linus Torvalds
     

07 Mar, 2021

1 commit

  • Add more blurb about the level of detail that should be contained in a
    patch's commit message. Extend and make more explicit what text should
    be added under the --- line. Extend examples and split into more easily
    palatable paragraphs.

    This has been partially carved out from a tip subsystem handbook
    patchset by Thomas Gleixner:

    https://lkml.kernel.org/r/20181107171010.421878737@linutronix.de

    and incorporates follow-on comments.

    Signed-off-by: Borislav Petkov
    Reviewed-by: Robert Richter
    Link: https://lore.kernel.org/r/20210215141949.GB21734@zn.tnic
    [jc: Tweaked "example subjects" wording]
    Signed-off-by: Jonathan Corbet

    Borislav Petkov
     

04 Mar, 2021

1 commit


27 Feb, 2021

1 commit

  • Pull documentation fixes from Jonathan Corbet:
    "A handful of late-arriving documentation fixes, nothing all that
    notable"

    * tag 'docs-5.12-2' of git://git.lwn.net/linux:
    docs: proc.rst: fix indentation warning
    Documentation: cgroup-v2: fix path to example BPF program
    docs: powerpc: Fix tables in syscall64-abi.rst
    Documentation: features: refresh feature list
    Documentation: features: remove c6x references
    docs: ABI: testing: ima_policy: Fixed missing bracket
    Fix unaesthetic indentation
    scripts: kernel-doc: fix array element capture in pointer-to-func parsing
    doc: use KCFLAGS instead of EXTRA_CFLAGS to pass flags from command line
    Documentation: proc.rst: add more about the 6 fields in loadavg

    Linus Torvalds
     

23 Feb, 2021

3 commits

  • You should use KCFLAGS to pass additional compiler flags from the
    command line. Using EXTRA_CFLAGS is wrong.

    EXTRA_CFLAGS is supposed to specify flags applied only to the current
    Makefile (and now deprecated in favor of ccflags-y).

    It is still used in arch/mips/kvm/Makefile (and possibly in external
    modules too). Passing EXTRA_CFLAGS from the command line overwrites
    it and breaks the build.

    I also fixed drivers/gpu/drm/tilcdc/Makefile because commit 816175dd1fd7
    ("drivers/gpu/drm/tilcdc: Makefile, only -Werror when no -W* in
    EXTRA_CFLAGS") was based on the same misunderstanding.

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Alex Shi
    Acked-by: Federico Vaga
    Link: https://lore.kernel.org/r/20210221152524.197693-1-masahiroy@kernel.org
    Signed-off-by: Jonathan Corbet

    Masahiro Yamada
     
  • Pull documentation updates from Jonathan Corbet:
    "It has been a relatively quiet cycle in docsland.

    - As promised, the minimum Sphinx version to build the docs is now
    1.7, and we have dropped support for Python 2 entirely. That
    allowed the removal of a bunch of compatibility code.

    - A set of treewide warning fixups from Mauro that I applied after it
    became clear nobody else was going to deal with them.

    - The automarkup mechanism can now create cross-references from
    relative paths to RST files.

    - More translations, typo fixes, and warning fixes"

    * tag 'docs-5.12' of git://git.lwn.net/linux: (75 commits)
    docs: kernel-hacking: be more civil
    docs: Remove the Microsoft rhetoric
    Documentation/admin-guide: kernel-parameters: Update nohlt section
    doc/admin-guide: fix spelling mistake: "perfomance" -> "performance"
    docs: Document cross-referencing using relative path
    docs: Enable usage of relative paths to docs on automarkup
    docs: thermal: fix spelling mistakes
    Documentation: admin-guide: Update kvm/xen config option
    docs: Make syscalls' helpers naming consistent
    coding-style.rst: Avoid comma statements
    Documentation: /proc/loadavg: add 3 more field descriptions
    Documentation/submitting-patches: Add blurb about backtraces in commit messages
    Docs: drop Python 2 support
    Move our minimum Sphinx version to 1.7
    Documentation: input: define ABS_PRESSURE/ABS_MT_PRESSURE resolution as grams
    scripts/kernel-doc: add internal hyperlink to DOC: sections
    Update Documentation/admin-guide/sysctl/fs.rst
    docs: Update DTB format references
    docs: zh_CN: add iio index.rst translation
    docs/zh_CN: add iio ep93xx_adc.rst translation
    ...

    Linus Torvalds
     
  • Pull SCSI updates from James Bottomley:
    "This series consists of the usual driver updates (ufs, ibmvfc,
    qla2xxx, hisi_sas, pm80xx) plus the removal of the gdth driver (which
    is bound to cause conflicts with a trivial change somewhere).

    The only big major rework of note is the one from Hannes trying to
    clean up our result handling code in the drivers to make it
    consistent"

    * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (194 commits)
    scsi: MAINTAINERS: Adjust to reflect gdth scsi driver removal
    scsi: ufs: Give clk scaling min gear a value
    scsi: lpfc: Fix 'physical' typos
    scsi: megaraid_mbox: Fix spelling of 'allocated'
    scsi: qla2xxx: Simplify the calculation of variables
    scsi: message: fusion: Fix 'physical' typos
    scsi: target: core: Change ASCQ for residual write
    scsi: target: core: Signal WRITE residuals
    scsi: target: core: Set residuals for 4Kn devices
    scsi: hisi_sas: Add trace FIFO debugfs support
    scsi: hisi_sas: Flush workqueue in hisi_sas_v3_remove()
    scsi: hisi_sas: Enable debugfs support by default
    scsi: hisi_sas: Don't check .nr_hw_queues in hisi_sas_task_prep()
    scsi: hisi_sas: Remove deferred probe check in hisi_sas_v2_probe()
    scsi: lpfc: Add auto select on IRQ_POLL
    scsi: ncr53c8xx: Fix typos
    scsi: lpfc: Fix ancient double free
    scsi: qla2xxx: Fix some memory corruption
    scsi: qla2xxx: Remove redundant NULL check
    scsi: megaraid: Fix ifnullfree.cocci warnings
    ...

    Linus Torvalds
     

12 Feb, 2021

1 commit


05 Feb, 2021

3 commits

  • The documentation explains the need to create internal syscalls' helpers,
    and that they should be called `kern_xyzzy()`. However, the comment at
    include/linux/syscalls.h says that they should be named as
    `ksys_xyzzy()`, and so are all the helpers declared bellow it. Change the
    documentation to reflect this.

    Fixes: 819671ff849b ("syscalls: define and explain goal to not call syscalls in the kernel")
    Signed-off-by: André Almeida
    Reviewed-by: Dominik Brodowski
    Link: https://lore.kernel.org/r/20210130014547.123006-1-andrealmeid@collabora.com
    Signed-off-by: Jonathan Corbet

    André Almeida
     
  • Commas are not how statements are terminated.
    Always use semicolons and braces if necessary.

    Signed-off-by: Joe Perches
    Link: https://lore.kernel.org/r/2a97b738bba335434461a5a918053a49c1fb6af4.1598331148.git.joe@perches.com
    Signed-off-by: Jonathan Corbet

    Joe Perches
     
  • Document that backtraces in commit messages should be trimmed down to
    the useful information only.

    This has been carved out from a tip subsystem handbook patchset by
    Thomas Gleixner:

    https://lkml.kernel.org/r/20181107171010.421878737@linutronix.de

    and incorporates follow-on comments.

    Signed-off-by: Borislav Petkov
    Signed-off-by: Jonathan Corbet

    Borislav Petkov
     

29 Jan, 2021

1 commit

  • The "oprofile" user-space tools don't use the kernel OPROFILE support
    any more, and haven't in a long time. User-space has been converted to
    the perf interfaces.

    Remove kernel's old oprofile support.

    Suggested-by: Christoph Hellwig
    Suggested-by: Linus Torvalds
    Signed-off-by: Viresh Kumar
    Acked-by: Robert Richter
    Acked-by: Paul E. McKenney #RCU
    Acked-by: William Cohen
    Acked-by: Al Viro
    Acked-by: Thomas Gleixner

    Viresh Kumar
     

23 Jan, 2021

1 commit

  • The gdth driver refers to a SCSI parallel, PCI-only HBA RAID adapter which
    was manufactured by the now-defunct ICP Vortex company, later acquired by
    Adaptec and superseded by the aacraid series of controllers. The driver
    itself would require a major overhaul before any modifications can be
    attempted, but seeing that it's unlikely to have any users left it should
    rather be removed completely.

    Link: https://lore.kernel.org/r/20210113090500.129644-2-hare@suse.de
    Cautiously-Acked-by: Christoph Hellwig
    Signed-off-by: Hannes Reinecke
    Signed-off-by: Martin K. Petersen

    Hannes Reinecke
     

19 Jan, 2021

3 commits

  • Remove the make headers_check step from submit-checklist.rst as this is
    no longer functional.

    Signed-off-by: Milan Lakhani
    Link: https://lore.kernel.org/r/1610458861-2832-1-git-send-email-milan.lakhani@codethink.co.uk
    Signed-off-by: Jonathan Corbet

    Milan Lakhani
     
  • Clear-up any confusion surrounding the Fixes: tag with regards to the
    need to Cc: the stable mailing list when submitting stable patch
    candidates.

    Signed-off-by: Lee Jones
    Reviewed-by: Greg Kroah-Hartman
    Cc: Greg Kroah-Hartman
    Cc: Jonathan Corbet
    Cc: linux-doc@vger.kernel.org
    Link: https://lore.kernel.org/r/20210113163315.1331064-1-lee.jones@linaro.org
    Signed-off-by: Jonathan Corbet

    Lee Jones
     
  • The file Documentation/process/howto.rst points to bugzilla.kernel.org
    as the primary place to report kernel bugs to. For most of the kernel
    that's the wrong place, as the MAINTAINERS file shows. Adjust those
    sections to make them match current practice.

    This change also removes a contradiction with the recently added text
    Documentation/admin-guide/reporting-issues.rst, which is a reason for a
    'this needs further discussion' warning note in there. The change is
    thus a prerequisite to remove that warning, nevertheless it is left for
    now to make sure people review the text's approach more carefully.

    Signed-off-by: Thorsten Leemhuis
    Acked-by: Randy Dunlap
    Link: https://lore.kernel.org/r/20210116143542.69199-1-linux@leemhuis.info
    Signed-off-by: Jonathan Corbet

    Thorsten Leemhuis
     

12 Jan, 2021

1 commit

  • Replace the lkml.org links with lore to better use a single source
    that's more likely to stay available long-term.

    Done by bash script:

    cvt_lkml_to_lore ()
    {
    tmpfile=$(mktemp ./.cvt_links.XXXXXXX)

    header=$(echo $1 | sed 's@/lkml/@/lkml/headers/@')

    wget -qO - $header > $tmpfile
    if [[ $? == 0 ]] ; then
    link=$(grep -i '^Message-Id:' $tmpfile | head -1 | \
    sed -r -e 's/^\s*Message-Id:\s*\s*$//' -e 's@^@https://lore.kernel.org/r/@')
    # echo "testlink: $link"
    if [ -n "$link" ] ; then
    wget -qO - $link > /dev/null
    if [[ $? == 0 ]] ; then
    echo $link
    fi
    fi
    fi

    rm -f $tmpfile
    }

    git grep -P -o "\bhttps?://(?:www.)?lkml.org/lkml[\/\w]+" $@ |
    while read line ; do
    echo $line
    file=$(echo $line | cut -f1 -d':')
    link=$(echo $line | cut -f2- -d':')
    newlink=$(cvt_lkml_to_lore $link)
    if [[ -n "$newlink" ]] ; then
    sed -i -e "s#\b$link\b#$newlink#" $file
    fi
    done

    Link: https://lore.kernel.org/patchwork/patch/1265849/#1462688
    Signed-off-by: Joe Perches
    Link: https://lore.kernel.org/r/77cdb7f32cfb087955bfc3600b86c40bed5d4104.camel@perches.com
    Signed-off-by: Jonathan Corbet

    Joe Perches
     

08 Jan, 2021

1 commit

  • We removed ENABLE_MUST_CHECK in 196793946264 ("Compiler Attributes:
    remove CONFIG_ENABLE_MUST_CHECK"), so let's remove docs' mentions.

    At the same time, fix the outdated text related to
    ENABLE_WARN_DEPRECATED that wasn't removed in 3337d5cfe5e08
    ("configs: get rid of obsolete CONFIG_ENABLE_WARN_DEPRECATED").

    Finally, reflow the paragraph.

    Signed-off-by: Miguel Ojeda
    Reviewed-by: Nathan Chancellor
    Reviewed-by: Nick Desaulniers
    Link: https://lore.kernel.org/r/20210105055815.GA5173@kernel.org
    Signed-off-by: Jonathan Corbet

    Miguel Ojeda
     

25 Dec, 2020

1 commit

  • Pull documentation fixes from Jonathan Corbet:
    "A small set of late-arriving, small documentation fixes"

    * tag 'docs-5.11-2' of git://git.lwn.net/linux:
    docs: admin-guide: Fix default value of max_map_count in sysctl/vm.rst
    Documentation/submitting-patches: Document the SoB chain
    Documentation: process: Correct numbering
    docs: submitting-patches: Trivial - fix grammatical error

    Linus Torvalds