Home
last modified time | relevance | path

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

12345678910>>...16

/linux/drivers/gpu/drm/ci/
H A 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 …]
H A 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/scripts/
H A 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 …]
H A 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/kernel/livepatch/
H A 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 …]
H A 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 * schedule(). This helps CPU-bound kthreads get patched.
65 * We allow to patch als
455 struct klp_patch *patch; klp_try_complete_transition() local
573 klp_init_transition(struct klp_patch * patch,int state) klp_init_transition() argument
729 struct klp_patch *patch; klp_force_transition() local
[all...]
/linux/Documentation/dev-tools/
H A 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 …]
H A Dcheckpatch.rst1 .. SPDX-License-Identifier: GPL-2.0-only
27 - -q, --quiet
31 - -v, --verbose
35 - --no-tree
39 - --no-signoff
41 Disable the 'Signed-off-by' line check. The sign-off is a simple line at
42 the end of the explanation for the patch, which certifies that you wrote it
43 or otherwise have the right to pass it on as an open-source patch.
47 Signed-off-by: Random J Developer <random@developer.example.org>
49 Setting this flag effectively stops a message for a missing signed-off-by
[all …]
/linux/tools/testing/selftests/livepatch/
H A Dtest-ftrace.sh2 # SPDX-License-Identifier: GPL-2.0
12 # - turn ftrace_enabled OFF and verify livepatches can't load
13 # - turn ftrace_enabled ON and verify livepatch can load
14 # - verify that ftrace_enabled can't be turned OFF while a livepatch is loaded
24 echo -e "FAIL\n\n"
28 # Check that ftrace could not get disabled when a livepatch is enabled
29 set_ftrace_enabled --fail 0
31 echo -e "FAIL\n\n"
39 livepatch: enabling patch '$MOD_LIVEPATCH'
41 livepatch: failed to register ftrace handler for function 'cmdline_proc_show' (-16)
[all …]
H A 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 …]
H A Dtest-sysfs.sh2 # SPDX-License-Identifier: GPL-2.0
13 # - load a livepatch and verifies the sysfs entries work as expected
19 check_sysfs_rights "$MOD_LIVEPATCH" "" "drwxr-xr-x"
20 check_sysfs_rights "$MOD_LIVEPATCH" "enabled" "-rw-r--r--"
22 check_sysfs_rights "$MOD_LIVEPATCH" "force" "--w-------"
23 check_sysfs_rights "$MOD_LIVEPATCH" "replace" "-r--r--r--"
24 check_sysfs_rights "$MOD_LIVEPATCH" "stack_order" "-r--r--r--"
26 check_sysfs_rights "$MOD_LIVEPATCH" "transition" "-r--r--r--"
28 check_sysfs_rights "$MOD_LIVEPATCH" "vmlinux/patched" "-r--r--r--"
36 livepatch: enabling patch '$MOD_LIVEPATCH'
[all …]
/linux/Documentation/hwmon/
H A 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/arch/x86/kernel/cpu/microcode/
H A 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>
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()
234 …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/Documentation/process/
H A 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 …]
H A 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/sound/synth/emux/
H A Dsoundfont.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * Copyright (c) 1999-2000 Takashi Iwai <tiwai@suse.de>
64 * close the patch if the patch was opened by this client.
69 scoped_guard(spinlock_irqsave, &sflist->lock) { in lock_preset()
70 if (sflist->open_clien in lock_preset()
121 struct soundfont_patch_info patch; snd_soundfont_load() local
983 struct patch_info patch; load_guspatch() local
[all...]
/linux/Documentation/scsi/
H A 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/scripts/coccinelle/misc/
H A 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 …]
H A Dminmax.cocci1 // SPDX-License-Identifier: GPL-2.0-only
3 /// Check for opencoded min(), max() implementations.
9 // Options: --no-includes --includ
[all...]
/linux/drivers/nfc/fdp/
H A 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/Documentation/translations/zh_CN/process/
H A 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 …]
/linux/Documentation/translations/zh_TW/process/
H A Dsubmitting-patches.rst1 .. SPDX-License-Identifier: GPL-2.0-or-later
3 .. include:: ../disclaimer-zh_TW.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>
17 - 胡皓文 Hu Haowen <2023002089@link.tyut.edu.cn>
28 參見: Documentation/translations/zh_CN/process/development-process.rst 。
[all …]
/linux/scripts/coccinelle/free/
H A 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."
/linux/tools/lib/bpf/
H A 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/samples/livepatch/
H A 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 …]

12345678910>>...16