From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2A4B8C7EE22 for ; Mon, 8 May 2023 15:19:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:MIME-Version: Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=MRqe/1U9kt5dq8gV/7SuBIh3W/KN/WZbVl4kmjLXEl0=; b=zygmmwk0wQ4SmcrphLEQ1xfdP8 N5WQQ8faNFO5alB0oB0rOm0wAJ5+PZrFRYZqlUbJ4w+S9ll4tHyEAC/fZFTuE3MeI/Gv8q1kDUIM4 xHq7b1NIdKXcQBvmFHcgnyxSuLr0pW9/LszoZm0XJhZSmSkWA7J4r2RJNVQWzRaDX32AmV8Sjq6PD fuuNciBem9IZBjboV6GoYpMv1Nu7V9BBpx2G2eVywtstwtQY4o2eb3tfq9tv/DA8yZvb/TG+gMSkP hghckTwEM5qk8T2kLzZdeYaA7j/475SVT/owL+cWodaZ1aD8mIx+fdpHBGXHs0j4bkCmuLbn7rd/z pavsm5eA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pw2eH-000qmD-1S; Mon, 08 May 2023 15:19:37 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pw2eE-000qlK-0X; Mon, 08 May 2023 15:19:35 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B23F462203; Mon, 8 May 2023 15:19:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54179C433EF; Mon, 8 May 2023 15:19:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683559172; bh=TFzPKqH85O0PJiVNWjP4+BZQJgCJpfZyNmq88Kq2LS4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=SsqGI4Udvoy7Xur23L/a4pdzWsb+wimg+nsLzCqFRO+S+esnFYAo2T+jCUXodRptl 3Uqu/fiUNrxCV6eHnOjh1gLGuUkNSPJcIxtSCx80rdh3EPEx+hFRg9xo74b7WkzSR2 OreQ0SS5g2jz0zcorBIITdYtb7UNfAYExtzAjqjlQbx4xOth+F1vF2CRWfxklwKb6N JHj8rkBEqvrUwG3al29CWo1V7Tv/9RoEL17XiuQtvdWSgEU3kFpkpICKLlNPDCmj26 X16rlSR2RuSyE5WEiSwYVNBdg3wFbr2/e1wbPbTL1HgCJpAPoNhnSleBG7yh37b7rX efwqtRaOS+XNA== From: Pratyush Yadav To: Geert Uytterhoeven Cc: linux-kernel@vger.kernel.org, Mauro Carvalho Chehab , Laurent Pinchart , Tudor Ambarus , Pratyush Yadav , Richard Weinberger , Anton Ivanov , Johannes Berg , "Darrick J. Wong" , Chun-Kuang Hu , Philipp Zabel , "David S. Miller" , linux-um@lists.infradead.org, linux-media@vger.kernel.org, linux-mtd@lists.infradead.org, linux-xfs@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-phy@lists.infradead.org, sparclinux@vger.kernel.org Subject: Re: Build regressions/improvements in v6.4-rc1 References: <20230508115727.2597864-1-geert@linux-m68k.org> <749c2fc2-93dc-585-3826-dea581602d6e@linux-m68k.org> Date: Mon, 08 May 2023 17:19:27 +0200 In-Reply-To: <749c2fc2-93dc-585-3826-dea581602d6e@linux-m68k.org> (Geert Uytterhoeven's message of "Mon, 8 May 2023 14:14:32 +0200 (CEST)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230508_081934_308546_B532195F X-CRM114-Status: GOOD ( 15.58 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org On Mon, May 08 2023, Geert Uytterhoeven wrote: > On Mon, 8 May 2023, Geert Uytterhoeven wrote: >> Below is the list of build error/warning regressions/improvements in >> v6.4-rc1[1] compared to v6.3[2]. >> >> Summarized: >> - build errors: +9/-16 >> - build warnings: +1/-1439 >> >> Happy fixing! ;-) >> >> Thanks to the linux-next team for providing the build service. >> >> [1] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/ac9a78681b921877518763ba0e89202254349d1b/ (all 152 configs) >> [2] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/457391b0380335d5e9a5babdec90ac53928b23b4/ (all 152 configs) >> >> [...] > >> + /kisskb/src/drivers/mtd/spi-nor/spansion.c: error: 'op' is used uninitialized [-Werror=uninitialized]: => 495:27, 364:27 Hmm, I don't get why we get this warning. Line 495 is in s25fs256t_post_bfpt_fixup(). It declares 'op' and then it does op = (struct spi_mem_op) CYPRESS_NOR_RD_ANY_REG_OP(nor->params->addr_mode_nbytes, SPINOR_REG_CYPRESS_ARCFN, 1, nor->bouncebuf); ret = spi_nor_read_any_reg(nor, &op, nor->reg_proto); which initializes 'op' before using it. Same with line 364 which is in the function cypress_nor_set_addr_mode_nbytes(). Even the compiler warnings [0] don't seem to make much sense to me: /kisskb/src/drivers/mtd/spi-nor/spansion.c: In function 's25fs256t_post_bfpt_fixup': /kisskb/src/drivers/mtd/spi-nor/spansion.c:495:27: error: 'op' is used uninitialized [-Werror=uninitialized] 495 | struct spi_mem_op op; | ^~ /kisskb/src/drivers/mtd/spi-nor/spansion.c:495:27: note: 'op' declared here 495 | struct spi_mem_op op; | ^~ [0] http://kisskb.ellerman.id.au/kisskb/buildresult/14922057/ > > um-x86_64-gcc12/um-allyesconfig > [...] -- Regards, Pratyush Yadav From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1661EC7EE22 for ; Mon, 8 May 2023 15:20:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:In-Reply-To: Date:References:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=NJD/sXeTMJRcL/DGBVt7e3OyrV6M+I4axcY3mArIeAM=; b=RVeFLOIATW59/Z I7ihsB27QMH1J7cC+LHV+U1aE2W/rQpfS3pw27Ths+ts7ewPef4VAx0W8RiUBqF2jaCb0pBaPkeH3 fq/Uhk69Pxqi4DMXn18JLDG8RIK9uq06cFLT4fkkqTizRjp3Uuh3jlgH9djgXxqMBorx7EMqtbc/9 pG5Ylh8H5Mt619LnM21igW41KpzYj2q5XVLyDI3yo5gCmF+KutUclR/3OiWrYP9d45dlulTnNEAXE T/cdlZfuPWqluLoPt0eB28SoSWNTHxBm2iTWWeQl+tibIz47HGUpmTJrH0XVWDt8I3bJR7i34QrzX x/R3hkJWQuxK3cytqPfw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pw2eH-000qmd-2v; Mon, 08 May 2023 15:19:37 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pw2eE-000qlK-0X; Mon, 08 May 2023 15:19:35 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B23F462203; Mon, 8 May 2023 15:19:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54179C433EF; Mon, 8 May 2023 15:19:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683559172; bh=TFzPKqH85O0PJiVNWjP4+BZQJgCJpfZyNmq88Kq2LS4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=SsqGI4Udvoy7Xur23L/a4pdzWsb+wimg+nsLzCqFRO+S+esnFYAo2T+jCUXodRptl 3Uqu/fiUNrxCV6eHnOjh1gLGuUkNSPJcIxtSCx80rdh3EPEx+hFRg9xo74b7WkzSR2 OreQ0SS5g2jz0zcorBIITdYtb7UNfAYExtzAjqjlQbx4xOth+F1vF2CRWfxklwKb6N JHj8rkBEqvrUwG3al29CWo1V7Tv/9RoEL17XiuQtvdWSgEU3kFpkpICKLlNPDCmj26 X16rlSR2RuSyE5WEiSwYVNBdg3wFbr2/e1wbPbTL1HgCJpAPoNhnSleBG7yh37b7rX efwqtRaOS+XNA== From: Pratyush Yadav To: Geert Uytterhoeven Cc: linux-kernel@vger.kernel.org, Mauro Carvalho Chehab , Laurent Pinchart , Tudor Ambarus , Pratyush Yadav , Richard Weinberger , Anton Ivanov , Johannes Berg , "Darrick J. Wong" , Chun-Kuang Hu , Philipp Zabel , "David S. Miller" , linux-um@lists.infradead.org, linux-media@vger.kernel.org, linux-mtd@lists.infradead.org, linux-xfs@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-phy@lists.infradead.org, sparclinux@vger.kernel.org Subject: Re: Build regressions/improvements in v6.4-rc1 References: <20230508115727.2597864-1-geert@linux-m68k.org> <749c2fc2-93dc-585-3826-dea581602d6e@linux-m68k.org> Date: Mon, 08 May 2023 17:19:27 +0200 In-Reply-To: <749c2fc2-93dc-585-3826-dea581602d6e@linux-m68k.org> (Geert Uytterhoeven's message of "Mon, 8 May 2023 14:14:32 +0200 (CEST)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230508_081934_308546_B532195F X-CRM114-Status: GOOD ( 15.58 ) X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org On Mon, May 08 2023, Geert Uytterhoeven wrote: > On Mon, 8 May 2023, Geert Uytterhoeven wrote: >> Below is the list of build error/warning regressions/improvements in >> v6.4-rc1[1] compared to v6.3[2]. >> >> Summarized: >> - build errors: +9/-16 >> - build warnings: +1/-1439 >> >> Happy fixing! ;-) >> >> Thanks to the linux-next team for providing the build service. >> >> [1] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/ac9a78681b921877518763ba0e89202254349d1b/ (all 152 configs) >> [2] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/457391b0380335d5e9a5babdec90ac53928b23b4/ (all 152 configs) >> >> [...] > >> + /kisskb/src/drivers/mtd/spi-nor/spansion.c: error: 'op' is used uninitialized [-Werror=uninitialized]: => 495:27, 364:27 Hmm, I don't get why we get this warning. Line 495 is in s25fs256t_post_bfpt_fixup(). It declares 'op' and then it does op = (struct spi_mem_op) CYPRESS_NOR_RD_ANY_REG_OP(nor->params->addr_mode_nbytes, SPINOR_REG_CYPRESS_ARCFN, 1, nor->bouncebuf); ret = spi_nor_read_any_reg(nor, &op, nor->reg_proto); which initializes 'op' before using it. Same with line 364 which is in the function cypress_nor_set_addr_mode_nbytes(). Even the compiler warnings [0] don't seem to make much sense to me: /kisskb/src/drivers/mtd/spi-nor/spansion.c: In function 's25fs256t_post_bfpt_fixup': /kisskb/src/drivers/mtd/spi-nor/spansion.c:495:27: error: 'op' is used uninitialized [-Werror=uninitialized] 495 | struct spi_mem_op op; | ^~ /kisskb/src/drivers/mtd/spi-nor/spansion.c:495:27: note: 'op' declared here 495 | struct spi_mem_op op; | ^~ [0] http://kisskb.ellerman.id.au/kisskb/buildresult/14922057/ > > um-x86_64-gcc12/um-allyesconfig > [...] -- Regards, Pratyush Yadav ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 69C92C7EE24 for ; Mon, 8 May 2023 15:19:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:In-Reply-To: Date:References:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dgFX/VX+1YXkuwfDk80iaLDTx9xe/Ny2516U1I8n1Lg=; b=UssoAjiITI09e5 TJzuPmc9zpLX1rPGgma9BditKp5T5ZAYV8q1XdLEQOYa0L7wh+87B93aEDqKH9VDZvMGKwnR7Tkdn 9yt87czJ0hs6hNDNRYYH1H8mwr9KqL+WpTkfg60L7llL2eTQ2+pKnlJZwXDOkR+PninQH1Fo98PoP pa9ID7+DFjN4p1JNTjAMS8ArOvuErgcuasjdS2x28H+FfefvP9OGg04iYlp78oGD8a4fViSLrdYaq 03sINaMQV7W9F18XI7NhCnVrwVyNI3AHzhh6RG2f3L4yUtRXyz6XYosXNiiXsGel6CsRBVp9xV3/+ dkuoN5vfJOwMSQm/naNQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pw2eJ-000qmr-0A; Mon, 08 May 2023 15:19:39 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pw2eE-000qlK-0X; Mon, 08 May 2023 15:19:35 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B23F462203; Mon, 8 May 2023 15:19:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54179C433EF; Mon, 8 May 2023 15:19:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683559172; bh=TFzPKqH85O0PJiVNWjP4+BZQJgCJpfZyNmq88Kq2LS4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=SsqGI4Udvoy7Xur23L/a4pdzWsb+wimg+nsLzCqFRO+S+esnFYAo2T+jCUXodRptl 3Uqu/fiUNrxCV6eHnOjh1gLGuUkNSPJcIxtSCx80rdh3EPEx+hFRg9xo74b7WkzSR2 OreQ0SS5g2jz0zcorBIITdYtb7UNfAYExtzAjqjlQbx4xOth+F1vF2CRWfxklwKb6N JHj8rkBEqvrUwG3al29CWo1V7Tv/9RoEL17XiuQtvdWSgEU3kFpkpICKLlNPDCmj26 X16rlSR2RuSyE5WEiSwYVNBdg3wFbr2/e1wbPbTL1HgCJpAPoNhnSleBG7yh37b7rX efwqtRaOS+XNA== From: Pratyush Yadav To: Geert Uytterhoeven Cc: linux-kernel@vger.kernel.org, Mauro Carvalho Chehab , Laurent Pinchart , Tudor Ambarus , Pratyush Yadav , Richard Weinberger , Anton Ivanov , Johannes Berg , "Darrick J. Wong" , Chun-Kuang Hu , Philipp Zabel , "David S. Miller" , linux-um@lists.infradead.org, linux-media@vger.kernel.org, linux-mtd@lists.infradead.org, linux-xfs@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-phy@lists.infradead.org, sparclinux@vger.kernel.org Subject: Re: Build regressions/improvements in v6.4-rc1 References: <20230508115727.2597864-1-geert@linux-m68k.org> <749c2fc2-93dc-585-3826-dea581602d6e@linux-m68k.org> Date: Mon, 08 May 2023 17:19:27 +0200 In-Reply-To: <749c2fc2-93dc-585-3826-dea581602d6e@linux-m68k.org> (Geert Uytterhoeven's message of "Mon, 8 May 2023 14:14:32 +0200 (CEST)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230508_081934_308546_B532195F X-CRM114-Status: GOOD ( 15.58 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org On Mon, May 08 2023, Geert Uytterhoeven wrote: > On Mon, 8 May 2023, Geert Uytterhoeven wrote: >> Below is the list of build error/warning regressions/improvements in >> v6.4-rc1[1] compared to v6.3[2]. >> >> Summarized: >> - build errors: +9/-16 >> - build warnings: +1/-1439 >> >> Happy fixing! ;-) >> >> Thanks to the linux-next team for providing the build service. >> >> [1] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/ac9a78681b921877518763ba0e89202254349d1b/ (all 152 configs) >> [2] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/457391b0380335d5e9a5babdec90ac53928b23b4/ (all 152 configs) >> >> [...] > >> + /kisskb/src/drivers/mtd/spi-nor/spansion.c: error: 'op' is used uninitialized [-Werror=uninitialized]: => 495:27, 364:27 Hmm, I don't get why we get this warning. Line 495 is in s25fs256t_post_bfpt_fixup(). It declares 'op' and then it does op = (struct spi_mem_op) CYPRESS_NOR_RD_ANY_REG_OP(nor->params->addr_mode_nbytes, SPINOR_REG_CYPRESS_ARCFN, 1, nor->bouncebuf); ret = spi_nor_read_any_reg(nor, &op, nor->reg_proto); which initializes 'op' before using it. Same with line 364 which is in the function cypress_nor_set_addr_mode_nbytes(). Even the compiler warnings [0] don't seem to make much sense to me: /kisskb/src/drivers/mtd/spi-nor/spansion.c: In function 's25fs256t_post_bfpt_fixup': /kisskb/src/drivers/mtd/spi-nor/spansion.c:495:27: error: 'op' is used uninitialized [-Werror=uninitialized] 495 | struct spi_mem_op op; | ^~ /kisskb/src/drivers/mtd/spi-nor/spansion.c:495:27: note: 'op' declared here 495 | struct spi_mem_op op; | ^~ [0] http://kisskb.ellerman.id.au/kisskb/buildresult/14922057/ > > um-x86_64-gcc12/um-allyesconfig > [...] -- Regards, Pratyush Yadav -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A6B6BC7EE22 for ; Mon, 8 May 2023 15:19:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:In-Reply-To: Date:References:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=es5WfurFDEx7pBDjpc0r6SuI9IFokoRdm5CpJiaL1qI=; b=jWyRfDMc19tyzP H7CIakgZqtALzIgdYzuDMnQFKfSdJDGA9v0T9JadIHUZpAsWRa57twxGoFTCXgxvjDFOKGLVyYvl5 dFhvgPi2ArEgGewdYSPWlpmYK+ilXP5MCA4VG6QiB6gPSnvOxex/8MWaWehtwRsXBDME4Myl03Q7E 7nu3dW8k+plMN2XyuPSmGRLrEpllCfWG8Ypp73T2bMUZI8xcL2qC/zJUh2+nePaNmRvw+/S8IvU61 Mkz/B1hehpIxuXPRzb5v7uWl7l3QKuFm5cvMYs1fSEP8tjEp0xKjvafbSU19LLz9kLNKOO/nVx+7t FPN7QliUdJjzcd1PgTZw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pw2eJ-000qnA-1D; Mon, 08 May 2023 15:19:39 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pw2eE-000qlK-0X; Mon, 08 May 2023 15:19:35 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B23F462203; Mon, 8 May 2023 15:19:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54179C433EF; Mon, 8 May 2023 15:19:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683559172; bh=TFzPKqH85O0PJiVNWjP4+BZQJgCJpfZyNmq88Kq2LS4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=SsqGI4Udvoy7Xur23L/a4pdzWsb+wimg+nsLzCqFRO+S+esnFYAo2T+jCUXodRptl 3Uqu/fiUNrxCV6eHnOjh1gLGuUkNSPJcIxtSCx80rdh3EPEx+hFRg9xo74b7WkzSR2 OreQ0SS5g2jz0zcorBIITdYtb7UNfAYExtzAjqjlQbx4xOth+F1vF2CRWfxklwKb6N JHj8rkBEqvrUwG3al29CWo1V7Tv/9RoEL17XiuQtvdWSgEU3kFpkpICKLlNPDCmj26 X16rlSR2RuSyE5WEiSwYVNBdg3wFbr2/e1wbPbTL1HgCJpAPoNhnSleBG7yh37b7rX efwqtRaOS+XNA== From: Pratyush Yadav To: Geert Uytterhoeven Cc: linux-kernel@vger.kernel.org, Mauro Carvalho Chehab , Laurent Pinchart , Tudor Ambarus , Pratyush Yadav , Richard Weinberger , Anton Ivanov , Johannes Berg , "Darrick J. Wong" , Chun-Kuang Hu , Philipp Zabel , "David S. Miller" , linux-um@lists.infradead.org, linux-media@vger.kernel.org, linux-mtd@lists.infradead.org, linux-xfs@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-phy@lists.infradead.org, sparclinux@vger.kernel.org Subject: Re: Build regressions/improvements in v6.4-rc1 References: <20230508115727.2597864-1-geert@linux-m68k.org> <749c2fc2-93dc-585-3826-dea581602d6e@linux-m68k.org> Date: Mon, 08 May 2023 17:19:27 +0200 In-Reply-To: <749c2fc2-93dc-585-3826-dea581602d6e@linux-m68k.org> (Geert Uytterhoeven's message of "Mon, 8 May 2023 14:14:32 +0200 (CEST)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230508_081934_308546_B532195F X-CRM114-Status: GOOD ( 15.58 ) X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-um" Errors-To: linux-um-bounces+linux-um=archiver.kernel.org@lists.infradead.org On Mon, May 08 2023, Geert Uytterhoeven wrote: > On Mon, 8 May 2023, Geert Uytterhoeven wrote: >> Below is the list of build error/warning regressions/improvements in >> v6.4-rc1[1] compared to v6.3[2]. >> >> Summarized: >> - build errors: +9/-16 >> - build warnings: +1/-1439 >> >> Happy fixing! ;-) >> >> Thanks to the linux-next team for providing the build service. >> >> [1] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/ac9a78681b921877518763ba0e89202254349d1b/ (all 152 configs) >> [2] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/457391b0380335d5e9a5babdec90ac53928b23b4/ (all 152 configs) >> >> [...] > >> + /kisskb/src/drivers/mtd/spi-nor/spansion.c: error: 'op' is used uninitialized [-Werror=uninitialized]: => 495:27, 364:27 Hmm, I don't get why we get this warning. Line 495 is in s25fs256t_post_bfpt_fixup(). It declares 'op' and then it does op = (struct spi_mem_op) CYPRESS_NOR_RD_ANY_REG_OP(nor->params->addr_mode_nbytes, SPINOR_REG_CYPRESS_ARCFN, 1, nor->bouncebuf); ret = spi_nor_read_any_reg(nor, &op, nor->reg_proto); which initializes 'op' before using it. Same with line 364 which is in the function cypress_nor_set_addr_mode_nbytes(). Even the compiler warnings [0] don't seem to make much sense to me: /kisskb/src/drivers/mtd/spi-nor/spansion.c: In function 's25fs256t_post_bfpt_fixup': /kisskb/src/drivers/mtd/spi-nor/spansion.c:495:27: error: 'op' is used uninitialized [-Werror=uninitialized] 495 | struct spi_mem_op op; | ^~ /kisskb/src/drivers/mtd/spi-nor/spansion.c:495:27: note: 'op' declared here 495 | struct spi_mem_op op; | ^~ [0] http://kisskb.ellerman.id.au/kisskb/buildresult/14922057/ > > um-x86_64-gcc12/um-allyesconfig > [...] -- Regards, Pratyush Yadav _______________________________________________ linux-um mailing list linux-um@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-um