diff options
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1248-drm-amdkfd-Address-uninitialized-variable-warning.patch')
-rw-r--r-- | meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1248-drm-amdkfd-Address-uninitialized-variable-warning.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1248-drm-amdkfd-Address-uninitialized-variable-warning.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1248-drm-amdkfd-Address-uninitialized-variable-warning.patch deleted file mode 100644 index a244bd9f..00000000 --- a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1248-drm-amdkfd-Address-uninitialized-variable-warning.patch +++ /dev/null @@ -1,39 +0,0 @@ -From b4915f697aba1e1455fbe58c5d335862d95f4810 Mon Sep 17 00:00:00 2001 -From: Kent Russell <kent.russell@amd.com> -Date: Tue, 28 Mar 2017 10:11:01 -0400 -Subject: [PATCH 1248/4131] drm/amdkfd: Address uninitialized variable warning - -While we use the pointers to these variables in pm_allocate_runlist_ib, -gcc 5 is complaining that it may be used uninitialized, so set it -explicitly to fix the warning. - -Change-Id: I1b67fa1576a05b7aa5fba712f6a3959956f3bb6a -Signed-off-by: Kent Russell <kent.russell@amd.com> ---- - drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c b/drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c -index 5f2f0ff..c03b1e2 100644 ---- a/drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c -+++ b/drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c -@@ -126,14 +126,14 @@ static int pm_create_runlist_ib(struct packet_manager *pm, - uint64_t *rl_gpu_addr, - size_t *rl_size_bytes) - { -- unsigned int alloc_size_bytes; -+ unsigned int alloc_size_bytes = 0; - unsigned int *rl_buffer, rl_wptr, i; - int retval, proccesses_mapped; - struct device_process_node *cur; - struct qcm_process_device *qpd; - struct queue *q; - struct kernel_queue *kq; -- bool is_over_subscription; -+ bool is_over_subscription = false; - - BUG_ON(!pm || !queues || !rl_size_bytes || !rl_gpu_addr); - --- -2.7.4 - |