Home
last modified time | relevance | path

Searched +full:check +full:- +full:patch (Results 1 – 25 of 509) sorted by relevance

12345678910>>...21

/linux-6.14.4/drivers/gpu/drm/ci/
Dcheck-patch.py2 # SPDX-License-Identifier: GPL-2.0-or-later
4 # check-patch.py: run checkpatch.pl across all commits in a branch
6 # Based on qemu/.gitlab-ci.d/check-patch.py
22 subprocess.call(["git", "remote", "remove", "check-patch"], stdout=subprocess.DEVNULL, stderr=subpr…
23 subprocess.check_call(["git", "remote", "add", "check-patch", repourl])
24 subprocess.check_call(["git", "fetch", "check-patch", os.environ["CI_MERGE_REQUEST_TARGET_BRANCH_NA…
28 ancestor = subprocess.check_output(["git", "merge-base",
29 … "check-patch/%s" % os.environ["CI_MERGE_REQUEST_TARGET_BRANCH_NAME"], "HEAD"],
34 log = subprocess.check_output(["git", "log", "--format=%H %s",
38 subprocess.check_call(["git", "remote", "rm", "check-patch"])
[all …]
Dstatic-checks.yml1 check-patch:
3 - .build
4 - .use-debian/x86_64_build
6 - drivers/gpu/drm/ci/check-patch.py
10 - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
/linux-6.14.4/scripts/
Dpatch-kernel2 # SPDX-License-Identifier: GPL-2.0
4 # usage: patch-kernel [ sourcedir [ patchdir [ stopversion ] [ -acxx ] ] ]
5 # The source directory defaults to /usr/src/linux, and the patch
8 # scripts/patch-kernel . ..
11 # scripts/patch-kernel . .. -ac
12 # Get the latest Linux kernel and patch it with the latest ac patch
13 # scripts/patch-kernel . .. 2.4.9
15 # scripts/patch-kernel . .. 2.4.9 -ac
17 # scripts/patch-kernel . .. 2.4.9 -ac11
18 # Gets 2.4.9 with ac patch ac11
[all …]
Dcoccicheck2 # SPDX-License-Identifier: GPL-2.0
5 # Read Documentation/dev-tools/coccinelle.rst
8 # version 1.0.0-rc11.
10 DIR="$(dirname $(readlink -f $0))/.."
13 if [ ! -x "$SPATCH" ]; then
18 SPATCH_VERSION=$($SPATCH --version | head -1 | awk '{print $3}')
21 $SPATCH --help | grep -e "--jobs" > /dev/null && USE_JOBS="yes"
26 if [ -n "$V" -a "$V" != "0" ]; then
32 FLAGS="--very-quiet"
42 …occicheck MODE=report DEBUG_FILE="all.err" SPFLAGS="--profile --show-trying" M=./drivers/mfd/arizo…
[all …]
/linux-6.14.4/kernel/livepatch/
Dstate.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * system_state.c - State of the system modified by livepatches
15 #define klp_for_each_state(patch, state) \ argument
16 for (state = patch->states; state && state->id; state++)
19 * klp_get_state() - get information about system state modified by
20 * the given patch
21 * @patch: livepatch that modifies the given system state
24 * Checks whether the given patch modifies the given system state.
26 * The function can be called either from pre/post (un)patch
31 struct klp_state *klp_get_state(struct klp_patch *patch, unsigned long id) in klp_get_state() argument
[all …]
Dtransition.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * transition.c - Kernel Live Patching transition functions
5 * Copyright (C) 2015-2016 Josh Poimboeuf <[email protected]>
14 #include "patch.h"
32 * cond_resched(). This helps CPU-bound kthreads get patched.
74 * We allow to patch also functions where RCU is not watching,
87 * The transition to the target patch state is complete. Clean up the data
98 klp_transition_patch->mod->name, in klp_complete_transition()
101 if (klp_transition_patch->replace && klp_target_state == KLP_TRANSITION_PATCHED) { in klp_complete_transition()
115 * from this patch on the ops->func_stack. Otherwise, after in klp_complete_transition()
[all …]
/linux-6.14.4/Documentation/dev-tools/
Dcoccinelle.rst14 tree-wide patches and detection of problematic programming patterns.
17 ------------------
20 which are provided by Coccinelle version 1.0.0-rc11 and above.
27 - Debian
28 - Fedora
29 - Ubuntu
30 - OpenSUSE
31 - Arch Linux
32 - NetBSD
33 - FreeBSD
[all …]
/linux-6.14.4/Documentation/process/
Dsubmit-checklist.rst4 Linux Kernel patch submission checklist
8 kernel patch submissions accepted more quickly.
11 :ref:`Documentation/process/submitting-patches.rst <submittingpatches>`
21 2) Check your patch for general style as detailed in
22 :ref:`Documentation/process/coding-style.rst <codingstyle>`.
33 ``Documentation/kbuild/kconfig-language.rst`` Menu attributes: default value.
38 combinations. This is very hard to get right with testing---brainpower
44 1) Include :ref:`kernel-doc <kernel_doc>` to document global kernel APIs.
50 ``Documentation/admin-guide/kernel-parameters.rst``.
57 linux-[email protected].
[all …]
Dsubmitting-patches.rst13 works, see Documentation/process/development-process.rst. Also, read
14 Documentation/process/submit-checklist.rst
15 for a list of items to check before submitting code.
17 Documentation/devicetree/bindings/submitting-patches.rst.
20 If you're unfamiliar with ``git``, you would be well-advised to learn how to
26 :ref:`Documentation/process/maintainer-handbooks.rst <maintainer_handbooks_main>`.
29 ----------------------------
46 ---------------------
48 Describe your problem. Whether your patch is a one-line bug fix or
54 Describe user-visible impact. Straight up crashes and lockups are
[all …]
D7.AdvancedTopics.rst12 -------------------------
32 https://git-scm.com/
34 https://www.kernel.org/pub/software/scm/git/docs/user-manual.html
40 available to others. A git-using developer should be able to obtain a copy
45 remote branches, the index, fast-forward merges, pushes and pulls, detached
54 server with git-daemon is relatively straightforward if you have a system
65 Publicly-available branches should be created with care; merge in patches
66 from development branches when they are in complete form and ready to go -
70 development history. An inconvenient patch (one which breaks bisection,
72 made to disappear from the history entirely. A patch series can be
[all …]
Dhowto.rst6 This is the be-all, end-all document on this topic. It contains
18 ------------
27 The kernel is written mostly in C, with some architecture-dependent
30 you plan to do low-level development for that architecture. Though they
34 - "The C Programming Language" by Kernighan and Ritchie [Prentice Hall]
35 - "Practical C Programming" by Steve Oualline [O'Reilly]
36 - "C: A Reference Manual" by Harbison and Steele [Prentice Hall]
46 definitive reference for them. Please check the gcc info pages (`info
60 ------------
65 described in :ref:`Documentation/process/license-rules.rst <kernel_licensing>`.
[all …]
/linux-6.14.4/arch/x86/kernel/cpu/microcode/
Damd.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Copyright (C) 2008-2011 Advanced Micro Devices Inc.
9 * 2013-2018 Borislav Petkov <[email protected]>
125 * microcode patch we found to match.
135 * Microcode patch container file is prepended to the initrd in cpio
146 * 2. To match which patches to load because the patch revision ID
166 if (patch_id == pd->patch_id) in cmp_id()
168 else if (patch_id < pd->patch_id) in cmp_id()
169 return -1; in cmp_id()
211 …pr_info("You should not be seeing this. Please send the following couple of lines to x86-<at>-kern… in need_sha_check()
[all …]
/linux-6.14.4/Documentation/hwmon/
Dsubmitting-patches.rst1 How to Get Your Patch Accepted Into the Hwmon Subsystem
10 ----------
14 - Documentation/process/submit-checklist.rst
15 - Documentation/process/submitting-patches.rst
16 - Documentation/process/coding-style.rst
18 * Please run your patch through 'checkpatch --strict'. There should be no
19 errors, no warnings, and few if any check messages. If there are any
22 * Please use the standard multi-line comment style. Do not mix C and C++
26 * If your patch generates checkpatch errors, warnings, or check messages,
32 * Please test your patch thoroughly. We are not your test group.
[all …]
/linux-6.14.4/Documentation/driver-api/media/
Dmaintainer-entry-profile.rst5 --------
13 - drivers/media
14 - drivers/staging/media
15 - Documentation/admin-guide/media
16 - Documentation/driver-api/media
17 - Documentation/userspace-api/media
18 - Documentation/devicetree/bindings/media/\ [1]_
19 - include/media
33 maintainership model is to have sub-maintainers that have a broad
34 knowledge of a specific aspect of the subsystem. It is the sub-maintainers'
[all …]
/linux-6.14.4/arch/powerpc/lib/
Dfeature-fixups.c1 // SPDX-License-Identifier: GPL-2.0-or-later
19 #include <asm/text-patching.h>
29 * Used to generate warnings if mmu or cpu feature check functions that
82 start = calc_addr(fcur, fcur->start_off); in patch_feature_section_mask()
83 end = calc_addr(fcur, fcur->end_off); in patch_feature_section_mask()
84 alt_start = calc_addr(fcur, fcur->alt_start_off); in patch_feature_section_mask()
85 alt_end = calc_addr(fcur, fcur->alt_end_off); in patch_feature_section_mask()
87 if ((alt_end - alt_start) > (end - start)) in patch_feature_section_mask()
90 if ((value & fcur->mask & mask) == (fcur->value & mask)) in patch_feature_section_mask()
119 printk("Unable to patch feature section at %p - %p" \ in do_feature_fixups_mask()
[all …]
/linux-6.14.4/tools/testing/selftests/livepatch/
Dtest-livepatch.sh2 # SPDX-License-Identifier: GPL-2.0
15 # - load a livepatch that modifies the output from /proc/cmdline and
17 # - unload the livepatch and make sure the patch was removed
24 echo -e "FAIL\n\n"
32 echo -e "FAIL\n\n"
37 livepatch: enabling patch '$MOD_LIVEPATCH1'
50 # - load a livepatch that modifies the output from /proc/cmdline and
52 # - load another livepatch and verify that both livepatches are active
53 # - unload the second livepatch and verify that the first is still active
54 # - unload the first livepatch and verify none are active
[all …]
/linux-6.14.4/sound/synth/emux/
Dsoundfont.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * Copyright (c) 1999-2000 Takashi Iwai <[email protected]>
70 mutex_lock(&sflist->presets_mutex); in lock_preset()
71 spin_lock_irqsave(&sflist->lock, flags); in lock_preset()
72 sflist->presets_locked = 1; in lock_preset()
73 spin_unlock_irqrestore(&sflist->lock, flags); in lock_preset()
84 spin_lock_irqsave(&sflist->lock, flags); in unlock_preset()
85 sflist->presets_locked = 0; in unlock_preset()
86 spin_unlock_irqrestore(&sflist->lock, flags); in unlock_preset()
87 mutex_unlock(&sflist->presets_mutex); in unlock_preset()
[all …]
/linux-6.14.4/scripts/coccinelle/misc/
Dswap.cocci1 // SPDX-License-Identifier: GPL-2.0-only
3 /// Check for opencoded swap() implementation.
7 // Options: --no-includes --include-headers
12 virtual patch
17 @rvar depends on !patch@
37 @r depends on !patch@
47 @rpvar depends on patch@
54 - T tmp;
56 - T tmp = 0;
58 - T *tmp = NULL;
[all …]
/linux-6.14.4/Documentation/scsi/
DChangeLog.lpfc2 * Please read the associated RELEASE-NOTES file !!!
8 * Fixed build warning for 2.6.12-rc2 kernels: mempool_alloc now
11 * Merged patch from Christoph Hellwig <[email protected]>: split helpers
19 * Removed FC_TRANSPORT_PATCHESxxx defines. They're in 2.6.12-rc1.
26 * Added PCI ID for LP10000-S.
31 * Zero-out response sense length in lpfc_scsi_prep_cmnd to prevent
33 - was causing spurious 0710 messages.
50 * Changed a few lines from patch submitted by Christoph Hellwig
53 * Merged patch from Christoph Hellwig (3/19): some misc patches
55 - stop using volatile. if you need special ordering use memory
[all …]
/linux-6.14.4/scripts/coccinelle/free/
Difnullfree.cocci1 // SPDX-License-Identifier: GPL-2.0-only
2 /// NULL check before some freeing functions is not needed.
5 /// "kfree(NULL) is safe this check is probably not required"
9 // Comments: -
10 // Options: --no-includes --include-headers
12 virtual patch
17 @r2 depends on patch@
20 - if (E != NULL)
60 cocci.print_main("NULL check before that freeing function is not needed", p)
66 msg = "WARNING: NULL check before some freeing functions is not needed."
Difnulldev_put.cocci1 // SPDX-License-Identifier: GPL-2.0-only
3 /// NULL check before dev_{put, hold} functions is not needed.
8 // Comments: -
9 // Options: --no-includes --include-headers
12 virtual patch
17 @r2 depends on patch@
20 - if (E != NULL)
48 cocci.print_main("NULL check before dev_{put, hold} functions is not needed", p)
54 msg = "WARNING: NULL check before dev_{put, hold} functions is not needed."
/linux-6.14.4/Documentation/gpu/amdgpu/display/
Dindex.rst1 .. _amdgpu-display-core:
4 drm/amd/display - Display Core (DC)
10 #. **Display Core (DC)** contains the OS-agnostic components. Things like
12 #. **Display Manager (DM)** contains the OS-dependent components. Hooks to the
13 amdgpu base driver and DRM are implemented here. For example, you can check
16 ------------------
18 ------------------
30 `amd-staging-drm-next <https://gitlab.freedesktop.org/agd5f/linux>`_. All of
33 * Ensure that every patch compiles and the entire series pass our set of IGT
38 emerge: fix the issue or drop the patch. If it is not an easy fix, the bad
[all …]
/linux-6.14.4/samples/livepatch/
Dlivepatch-shadow-fix2.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * livepatch-shadow-fix2.c - Shadow variables, livepatch demo
10 * -------
12 * Adds functionality to livepatch-shadow-mod's in-flight data
15 * per-data-structure counter, creating the counter if needed.
19 * -----
22 * section of livepatch-shadow-mod.c.
46 * Patch: handle in-flight dummy structures, if they do not in livepatch_fix2_dummy_check()
56 return time_after(jiffies, d->jiffies_expire); in livepatch_fix2_dummy_check()
74 /* Patch: copy the memory leak patch from the fix1 module. */ in livepatch_fix2_dummy_free()
[all …]
/linux-6.14.4/drivers/nfc/fdp/
Dfdp.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* -------------------------------------------------------------------------
3 * Copyright (C) 2014-2016, Intel Corporation
5 * -------------------------------------------------------------------------
92 r = nci_core_conn_create(info->ndev, FDP_PATCH_CONN_DEST, 1, in fdp_nci_create_conn()
127 delta = 24 * fc - nd * clock_freq; in fdp_nci_set_clock()
148 info->setup_patch_sent = 1; in fdp_nci_send_patch_cb()
149 wake_up(&info->setup_wq); in fdp_nci_send_patch_cb()
157 * send the patch end message.
163 struct device *dev = &info->phy->i2c_dev->dev; in fdp_nci_set_data_pkt_counter()
[all …]
/linux-6.14.4/Documentation/translations/zh_CN/process/
Dsubmitting-patches.rst1 .. SPDX-License-Identifier: GPL-2.0-or-later
3 .. include:: ../disclaimer-zh_CN.rst
7 :Original: Documentation/process/submitting-patches.rst
10 - 钟宇 TripleX Chung <[email protected]>
11 - 时奎亮 Alex Shi <[email protected]>
12 - 吴想成 Wu XiangCheng <[email protected]>
15 - 李阳 Li Yang <[email protected]>
16 - 王聪 Wang Cong <[email protected]>
27 参见: Documentation/translations/zh_CN/process/development-process.rst 。
28 Documentation/translations/zh_CN/process/submit-checklist.rst 给出了一系列
[all …]

12345678910>>...21