Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3283188pxu; Sat, 19 Dec 2020 20:09:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJxPNrKB6UHoE7kqKNhtIa93g7iSlCBksH5t0+a/YWCN8AOHFW19WWlnrkfifgTDWVa30Y5Y X-Received: by 2002:a05:6402:491:: with SMTP id k17mr5464752edv.342.1608437346562; Sat, 19 Dec 2020 20:09:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608437346; cv=none; d=google.com; s=arc-20160816; b=xnNsk8EKT2JXc4UuVhOeAziMzP7TTVatCPwCwbt45DRHQ52hCdamtpBnWmeaisFAN3 o14UocSGLelrOtOAEXyngQXT1WAOV8Iv/pUegdW1AYMEts222tcuvURbsOomuD3Mqnb1 DfajlaouJPDNRqxP21at44/oRWx1hQXRr3LkxE3jDGPkpYj3B5bhuL4pTAxZHubTd5zT /Fmk3mvW6KxAy+ytv+a8X6I2fPqg2S3PL9eldqfvOg8flJQdY4Clsn7xAsNEQK24TAMw 0kpF/m6QdYYvauJhIQbCAPWKsEPPPvLqteood3jnQ17RZAaJk4wZPL7rRinrmzMe/4yt ZruQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=wOf8+A262GmOiEINk0rmRSARiAG9AAz8GlRftMSrMUg=; b=V67E59xolQIjBaAcb2U9p6+amWXnmHL+F6426PpWVgudqUTtgPs200FlUvOJjeJNBj Fwxu+ZNm31LWKXXWmWuvfCtYo631mgP18WkTnvVcoYRkxpb000qpQK5u/ctOXggw8G7c Be768tx9otHhtdsq+5w2F9L3vhHP2i0lvpsyxeBhT7+58PdXtjwqXJod5fqlbNkfLHTw bfdQ3UV/mLnEd3qpxEf3yS3ytQ4be8WA7fobxk6cNSbH6Gd2xJqriNCWW/NkjKxwuRau OG7aTNFe4C8T7dAtZEsrXaZUYm185miUSN+i3Bcvs33sK20j3m6XJGB8gzX4LV1VF4zi 1HPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tVIzn00A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hp25si7357822ejc.361.2020.12.19.20.08.42; Sat, 19 Dec 2020 20:09:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tVIzn00A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727023AbgLTEIF (ORCPT + 99 others); Sat, 19 Dec 2020 23:08:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726217AbgLTEIE (ORCPT ); Sat, 19 Dec 2020 23:08:04 -0500 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52363C0613CF for ; Sat, 19 Dec 2020 20:07:24 -0800 (PST) Received: by mail-ed1-x52b.google.com with SMTP id i24so6405889edj.8 for ; Sat, 19 Dec 2020 20:07:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wOf8+A262GmOiEINk0rmRSARiAG9AAz8GlRftMSrMUg=; b=tVIzn00AiVt6Z+BacumkSdrwTo41xF8yNb7ZGnIZO3w9rJE83Qqz2LnkKGAa528x/Z dgszo95Fb6joP2TWI8VUxnWtJqJSv92TGc4vmg0ebzD2gs+OuxAjPCyp7drmqcNM7d1m ElfTE3vxYNDNeTWZDC3na+/iJHRLkP56afQ6SDZaoVXGDLUcok8pLZkhp7MP4ofmNyQH cp9jiILsSeuiDaFHIOiKNOVW8ut61NFRh7gLq+wqab88zn3ECbBM9zswKBzm1VVR+kQe 9zGUn4b5wdLdsLOkpVgZNQ7T9mXSWdWoUKQsjZlxUQrZJ3p30ZcCv4Jk2pOSStzqGlyG cKdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wOf8+A262GmOiEINk0rmRSARiAG9AAz8GlRftMSrMUg=; b=ta3UlViEBLuVTzr3ZBOUiXPKr33re6BuALpf96JNKLBVnOTZAn1MrUlfMp6qQKg43S 4A66UTIIjgHgL0s/2xk3hS4PpGqVzQY1Ayahj7tu7UVGAN8wZXD7RMghac65ReEqEXtX gnYlsH3EVgwxykblW9gLwysHVq+CDfPunhswN7DNgsbu4GkEi5sdvhBd0+R/D4tAZJ/7 6LRSrCz1xD6vNtSp31KrR2EK8QoXA5oO8jSFCevLSYQBHRqUWxX20H9DelzM2cbU1V1Q 6hn6/O4uJYDWa/7nIHPeidoItVfNwEesRADS7+D6ChjFYDuEmULYDXdWiAA6yxrxhSRE r2Xg== X-Gm-Message-State: AOAM532b0vVJu72ARVYfwd86HZJDzfjCUFZKvqFU2qiMlIOE3uXMA6UX 78jAfXNyTPN5O0qCDJKr8eJsHgHwj4zfV1qHfoNtRg== X-Received: by 2002:aa7:cdc3:: with SMTP id h3mr10998852edw.52.1608437242889; Sat, 19 Dec 2020 20:07:22 -0800 (PST) MIME-Version: 1.0 References: <20201211102437.3929348-1-anders.roxell@linaro.org> <20201214152447.GC9149@alpha.franken.de> In-Reply-To: <20201214152447.GC9149@alpha.franken.de> From: Naresh Kamboju Date: Sun, 20 Dec 2020 09:37:11 +0530 Message-ID: Subject: Re: [PATCH v2] mips: lib: uncached: fix non-standard usage of variable 'sp' To: Thomas Bogendoerfer , Anders Roxell Cc: Nathan Chancellor , Nick Desaulniers , linux-mips@vger.kernel.org, open list , clang-built-linux , lkft-triage@lists.linaro.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 14 Dec 2020 at 21:05, Thomas Bogendoerfer wrote: > > On Fri, Dec 11, 2020 at 11:24:37AM +0100, Anders Roxell wrote: > > When building mips tinyconfig with clang the following warning show up: > > > > arch/mips/lib/uncached.c:45:6: warning: variable 'sp' is uninitialized when used here [-Wuninitialized] > > if (sp >= (long)CKSEG0 && sp < (long)CKSEG2) > > ^~ > > arch/mips/lib/uncached.c:40:18: note: initialize the variable 'sp' to silence this warning > > register long sp __asm__("$sp"); > > ^ > > = 0 > > 1 warning generated. > > [1] https://docs.w3cub.com/gcc~10/local-register-variables > > Signed-off-by: Anders Roxell > > --- > > arch/mips/lib/uncached.c | 4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > > applied to mips-next. We have noticed these build failures on stable tree also. May I request you to initiate the process to get into the stable tree and for the following branches. - linux-5.10.y - linux-5.9.y - linux-5.4.y - linux-4.19.y - Naresh