Home
last modified time | relevance | path

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

12345678910>>...20

/Linux-v6.6/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-v6.6/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-v6.6/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 <jpoimboe@redhat.com>
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_PATCHED) { in klp_complete_transition()
115 * from this patch on the ops->func_stack. Otherwise, after in klp_complete_transition()
[all …]
/Linux-v6.6/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-v6.6/Documentation/process/
Dsubmit-checklist.rst3 Linux Kernel patch submission checklist
7 kernel patch submissions accepted more quickly.
10 :ref:`Documentation/process/submitting-patches.rst <submittingpatches>`
28 Use ``make htmldocs`` or ``make pdfdocs`` to check the build and
31 3) Builds on multiple CPU architectures by using local cross-compile tools
34 4) ppc64 is a good architecture for cross-compilation checking because it
35 tends to use ``unsigned long`` for 64-bit quantities.
37 5) Check your patch for general style as detailed in
38 :ref:`Documentation/process/coding-style.rst <codingstyle>`.
39 Check for trivial violations with the patch style checker prior to
[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 …]
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 …]
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 …]
/Linux-v6.6/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 <bp@alien8.de>
87 * microcode patch we found to match.
100 * Microcode patch container file is prepended to the initrd in cpio
110 if (!et || !et->num_entries) in find_equiv_id()
113 for (i = 0; i < et->num_entries; i++) { in find_equiv_id()
114 struct equiv_cpu_entry *e = &et->entry[i]; in find_equiv_id()
116 if (sig == e->installed_cpu) in find_equiv_id()
117 return e->equiv_cpu; in find_equiv_id()
[all …]
/Linux-v6.6/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-v6.6/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-v6.6/arch/powerpc/lib/
Dfeature-fixups.c1 // SPDX-License-Identifier: GPL-2.0-or-later
19 #include <asm/code-patching.h>
75 start = calc_addr(fcur, fcur->start_off); in patch_feature_section_mask()
76 end = calc_addr(fcur, fcur->end_off); in patch_feature_section_mask()
77 alt_start = calc_addr(fcur, fcur->alt_start_off); in patch_feature_section_mask()
78 alt_end = calc_addr(fcur, fcur->alt_end_off); in patch_feature_section_mask()
80 if ((alt_end - alt_start) > (end - start)) in patch_feature_section_mask()
83 if ((value & fcur->mask & mask) == (fcur->value & mask)) in patch_feature_section_mask()
112 printk("Unable to patch feature section at %p - %p" \ in do_feature_fixups_mask()
113 " with %p - %p\n", in do_feature_fixups_mask()
[all …]
/Linux-v6.6/sound/synth/emux/
Dsoundfont.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * Copyright (c) 1999-2000 Takashi Iwai <tiwai@suse.de>
69 mutex_lock(&sflist->presets_mutex); in lock_preset()
70 spin_lock_irqsave(&sflist->lock, flags); in lock_preset()
71 sflist->presets_locked = 1; in lock_preset()
72 spin_unlock_irqrestore(&sflist->lock, flags); in lock_preset()
83 spin_lock_irqsave(&sflist->lock, flags); in unlock_preset()
84 sflist->presets_locked = 0; in unlock_preset()
85 spin_unlock_irqrestore(&sflist->lock, flags); in unlock_preset()
86 mutex_unlock(&sflist->presets_mutex); in unlock_preset()
[all …]
/Linux-v6.6/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-v6.6/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 <hch@lst.de>: 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-v6.6/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-v6.6/tools/lib/bpf/
Dlibbpf_probes.c1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
26 * Ubuntu 5.4.0-12.15-generic 5.4.8
34 __u32 major, minor, patch; in get_ubuntu_kernel_version() local
45 ret = fscanf(f, "%*s %*s %u.%u.%u\n", &major, &minor, &patch); in get_ubuntu_kernel_version()
50 return KERNEL_VERSION(major, minor, patch); in get_ubuntu_kernel_version()
57 * utsname::release 4.19.0-22-amd64
58 * utsname::version #1 SMP Debian 4.19.260-1 (2022-09-29)
65 __u32 major, minor, patch; in get_debian_kernel_version() local
68 p = strstr(info->version, "Debian "); in get_debian_kernel_version()
74 if (sscanf(p, "Debian %u.%u.%u", &major, &minor, &patch) != 3) in get_debian_kernel_version()
[all …]
/Linux-v6.6/tools/testing/selftests/livepatch/
Dtest-sysfs.sh2 # SPDX-License-Identifier: GPL-2.0
11 # - load a livepatch and verifies the sysfs entries work as expected
17 check_sysfs_rights "$MOD_LIVEPATCH" "" "drwxr-xr-x"
18 check_sysfs_rights "$MOD_LIVEPATCH" "enabled" "-rw-r--r--"
20 check_sysfs_rights "$MOD_LIVEPATCH" "force" "--w-------"
21 check_sysfs_rights "$MOD_LIVEPATCH" "transition" "-r--r--r--"
23 check_sysfs_rights "$MOD_LIVEPATCH" "vmlinux/patched" "-r--r--r--"
31 livepatch: enabling patch '$MOD_LIVEPATCH'
49 # check the "patch" file changes as target module loads/unloads
60 livepatch: enabling patch 'test_klp_callbacks_demo'
[all …]
/Linux-v6.6/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-v6.6/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-v6.6/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 <xxx.phy@gmail.com>
11 - 时奎亮 Alex Shi <alexs@kernel.org>
12 - 吴想成 Wu XiangCheng <bobwxc@email.cn>
15 - 李阳 Li Yang <leoyang.li@nxp.com>
16 - 王聪 Wang Cong <xiyou.wangcong@gmail.com>
27 参见: Documentation/translations/zh_CN/process/development-process.rst 。
28 Documentation/translations/zh_CN/process/submit-checklist.rst 给出了一系列
[all …]

12345678910>>...20