Fix cast error
This commit is contained in:
parent
7b02308ac2
commit
c86853df34
3 changed files with 15 additions and 1 deletions
|
@ -5,7 +5,7 @@ on:
|
||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- 'v*'
|
||||||
env:
|
env:
|
||||||
PVE_KERNEL_CFLAGS: -Wno-compare-distinct-pointer-types -Wno-error=format-truncation -Wno-error=array-bounds -Wno-error=stringop-overflow
|
PVE_KERNEL_CFLAGS: -Wno-error=format-truncation -Wno-error=array-bounds -Wno-error=stringop-overflow
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release-build:
|
release-build:
|
||||||
|
|
13
debian/patches/pve/0013-cast-pthreatd-stack-min-to-int.patch
vendored
Normal file
13
debian/patches/pve/0013-cast-pthreatd-stack-min-to-int.patch
vendored
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c
|
||||||
|
index 954ce2f..aaf1cde 100644
|
||||||
|
--- a/tools/perf/builtin-sched.c
|
||||||
|
+++ b/tools/perf/builtin-sched.c
|
||||||
|
@@ -670,7 +670,7 @@ static void create_tasks(struct perf_sched *sched)
|
||||||
|
err = pthread_attr_init(&attr);
|
||||||
|
BUG_ON(err);
|
||||||
|
err = pthread_attr_setstacksize(&attr,
|
||||||
|
- (size_t) max(16 * 1024, PTHREAD_STACK_MIN));
|
||||||
|
+ (size_t) max(16 * 1024, (int)PTHREAD_STACK_MIN));
|
||||||
|
BUG_ON(err);
|
||||||
|
err = pthread_mutex_lock(&sched->start_work_mutex);
|
||||||
|
BUG_ON(err);
|
1
debian/patches/series.linux
vendored
1
debian/patches/series.linux
vendored
|
@ -10,3 +10,4 @@ pve/0009-NFSv4-pnfs-Fix-a-use-after-free-bug-in-open.patch
|
||||||
pve/0010-scsi-Revert-scsi-qla2xxx-Fix-disk-failure-to-redisco.patch
|
pve/0010-scsi-Revert-scsi-qla2xxx-Fix-disk-failure-to-redisco.patch
|
||||||
pve/0011-ext4-recover-csum-seed-of-tmp_inode-after-migrating-.patch
|
pve/0011-ext4-recover-csum-seed-of-tmp_inode-after-migrating-.patch
|
||||||
pve/0012-drm-i915-gt-Serialize-TLB-invalidates-with-GT-resets.patch
|
pve/0012-drm-i915-gt-Serialize-TLB-invalidates-with-GT-resets.patch
|
||||||
|
pve/0013-cast-pthreatd-stack-min-to-int.patch
|
||||||
|
|
Loading…
Reference in a new issue