Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1570025rdd; Thu, 11 Jan 2024 03:16:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IFMGa0fM/CVhoNldY4gptVvvYGg1juUA0RIBUHyRgTYge40UBcQ69ANr3SWBRht5pVNzko7 X-Received: by 2002:a05:6a20:2445:b0:19a:5b2f:b516 with SMTP id t5-20020a056a20244500b0019a5b2fb516mr352092pzc.2.1704971807520; Thu, 11 Jan 2024 03:16:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704971807; cv=none; d=google.com; s=arc-20160816; b=wqWL5zdAR/zFTFQAdx9wE6ngOOTDctpfQH6rc/jwxJRHYrwr5DxKsbW9iA3iC+SdZL D+NN/t9ucuxfBmH0JV4QkwZYfTMIcDbrBvwm7PFXRHA4V4JzsEHyi4IO93LSMA/e+VWj /3GgZdQo17Lz2NmSOoyxP4CB8N27atVihu19EnFjCXJSZ7hvBWUBqI9plEE4T016WWpL pTwmuXuVklLNEYhNyFypc2uH539mB7QceIt7+85P2Z0eTL//xeftsmPwuCcbZ/pLBGf7 BgEOvzoVBTehoTggJ3GNKf4GeHN0sGzk7UxhFlejZMhsBn9Ej0sPRqOXVzxA0icrqSQ1 lsRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=lMrj071u8QxSrpPG+XgJOGjzHRcUM7yJCNZgbHu8j4E=; fh=Z/ofr/ApGHtTspo21no9kZGU9Jr48hmpcv2pUqgxpAQ=; b=hG1UIXUxY/RCfKD65m51Isdj+m2Y5myBgdEEkhW5En4O5AD+Hf6H81GlSNqCIdzA6C YD/UmRiuJh92XtKEkqukCszaRkicoC7zmJb2PBS0RvG0NlQ+TkzREjNQnM0e9qTV/sst SSz8RPbWdkmFtoyoW+AoCaaSIh9yBjjGRdDUwaiT/TAyMXQw/Dukc5Klb/lMQng/UFRh /LtHWZz3nPuDoCeWwh7C8nIV/UAMpMuGCXrXvRAdZKTFZzduA2CbTNYthSVib1A9uEqs ClQqrv/EQz/oCe94Mpd6VkBScv5NdwdCQvoJ1P46oSmWQDIx94otm9yiTd93gsnlZ8sa IaqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="e0/p4iXL"; spf=pass (google.com: domain of linux-kernel+bounces-23465-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23465-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id c3-20020a170903234300b001d056bdad56si925441plh.166.2024.01.11.03.16.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 03:16:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23465-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="e0/p4iXL"; spf=pass (google.com: domain of linux-kernel+bounces-23465-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23465-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 30444281255 for ; Thu, 11 Jan 2024 11:16:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0C46E1549B; Thu, 11 Jan 2024 11:16:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="e0/p4iXL" Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BC2D515484 for ; Thu, 11 Jan 2024 11:16:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-3368abe1093so4138919f8f.2 for ; Thu, 11 Jan 2024 03:16:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704971795; x=1705576595; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=lMrj071u8QxSrpPG+XgJOGjzHRcUM7yJCNZgbHu8j4E=; b=e0/p4iXLx+14e1WLRMDgpewM0MbzoGoWCZnqSToEVr1P334ddvfzOdIOr/BC7/uNjF vQrULfTB+AvX85ZqQQj9RQF4RFbI3JTN8UvS4ovVTbINxP8ZcS0MeUP74FFLN/ucXyEl N4zQWjDLktR9cy4pfnN/gP0esLBsE6mPaMJV6NGLRbCuFMqfb4Ej9+rzeI6YEifR2eXS /eIWFuoUHDS+fFmCgB8v1mSsJgAi92jZGck5enGOiJMs/RzpIm54RwmsHY7PiBuSd5Y1 9CZzgemcj7E4/i5A2lcX3wqlr6cZLuFzbIIKxDq+LKpnoICrtyUfZVRVr+9p1SSUx0Eu X17g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704971795; x=1705576595; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=lMrj071u8QxSrpPG+XgJOGjzHRcUM7yJCNZgbHu8j4E=; b=t790TTvA9xTfLjQePaaGQFZeKev0kcKNzXn7MW8aow+g1zVQX61fIMrGrVhBTTYqOZ NZievD+YkbC1PVOsvalZAZoG5rWfCQSmbFIYkQ52Z1Sg7UWc7iNlO50Bcm7LaKr9i7XW qGebsMH7LVSs90LnCFAUZ8222xr6XGi/DRpjVv7LZuejvNpdUWlXEAqcVFqS7WqXoPGi 1v18/5ZEABYqzBL6JdnrKAPV59BzTCoI0DP5GGlxSkM0Wk4lJlW9R8wLDwFQKRQp7zKu K0jo2p/Ro/pa1gsMR0kC1sgikK0B2Bz10Ijp8C0qN9trtmBNh6FnOOpP6aSkWvF3CX3n ++IA== X-Gm-Message-State: AOJu0YyfZTf92gOpFMP9CknH9e7j0ZPcuthThnj3NQSeA/EM2TkuQz0H fCxgYwOFt6pX4/CuPdIdZmMcud7x3/5xmw== X-Received: by 2002:a05:6000:11c9:b0:336:76dc:9b48 with SMTP id i9-20020a05600011c900b0033676dc9b48mr488079wrx.91.1704971794944; Thu, 11 Jan 2024 03:16:34 -0800 (PST) Received: from localhost ([102.140.209.237]) by smtp.gmail.com with ESMTPSA id p19-20020adf9d93000000b003378ea9a7desm157130wre.33.2024.01.11.03.16.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 03:16:34 -0800 (PST) Date: Thu, 11 Jan 2024 14:16:31 +0300 From: Dan Carpenter To: Naresh Kamboju , Uladzislau Rezki Cc: Linux-Next Mailing List , open list , Linux Regressions , clang-built-linux , lkft-triage@lists.linaro.org, Andrew Morton , Arnd Bergmann Subject: Re: mm/vmalloc.c:4691:25: error: variable 'addr' is uninitialized when used here [-Werror,-Wuninitialized] Message-ID: <628bf675-77fc-4ccc-be2f-9c3ec8a7b0b8@moroto.mountain> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Jan 11, 2024 at 04:23:09PM +0530, Naresh Kamboju wrote: > Following build failures noticed on i386 and x86 with clang builds on the > Linux next-20240111 tag. > > Reported-by: Linux Kernel Functional Testing > > Build error: > ---------- > mm/vmalloc.c:4691:25: error: variable 'addr' is uninitialized when > used here [-Werror,-Wuninitialized] > 4691 | va = __find_vmap_area(addr, &vn->busy.root); > | ^~~~ > mm/vmalloc.c:4684:20: note: initialize the variable 'addr' to silence > this warning > 4684 | unsigned long addr; > | ^ > | = 0 > 1 error generated. We turned off uninitialized variable warnings for GCC a long time ago... :/ I don't know if we'll be able to re-enable it in a -Werror world although Clang seems to be managing alright so perhaps there is hope. regards, dan carpenter