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 AF67EC4332F for ; Fri, 9 Dec 2022 23:21:04 +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-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=f65aAR7n9UZPS6anOKd1GVPgwNvfyAxdOAd2EJvIf7Q=; b=KwsWO3mqJRKmTpVYFA0kmFI4Cv ZIVG3bXaF4i/ouGYC0sDxxgBrsTm9XFvzgAOCmAVtZQDizcg5tGi/HaRVccnlePHKm8REhhs7wLHr 8IaS+DXDVEkIyyoeb2PvVgeMXRsDkXcnitnF1ud5HgKhACAJ2M+6JV/clf74M8MYR7EYqFEXfT00h ADc5zzYQvg38q0d4Mj3IwDTTYFPvP/x6DjSUs12d/P8SdNicUlAKbYW18s3RirM+PUUCAjqn4k7Ui hDxhdypj+pwYxCIyEM1vouHopBqNrzCUrfHrPYnkywMkQJt+Ji48p6gH8NRT5z2Vgkr2+BHk6liMj 87dOtYvA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p3mew-00CGzs-C4; Fri, 09 Dec 2022 23:20:02 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p3mes-00CGy6-Vc for linux-arm-kernel@lists.infradead.org; Fri, 09 Dec 2022 23:20:00 +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 ams.source.kernel.org (Postfix) with ESMTPS id BCD58B828D4; Fri, 9 Dec 2022 23:19:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4CE5DC433EF; Fri, 9 Dec 2022 23:19:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670627995; bh=EABoT7dZpo3rJmaMyhA0E1HAb5w79M7WwC7+Gsjt9xM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oRLw7IdkQXqinseyhGTzsbT5BDDCXmleUUBQOwr2NC67heZwen2xlhCeyYZf88CBU z72RXOb2q6uqdVOD2CqTRurGDNVpMBDNgeUa6BcHj0D6BIIOEh8/eG3aSHOSQbXdZX 448qa9TIexdpyX3cjPeuKBpfODKVUMj8bhnV0R31cWlAgMuYEvSb+CUpHFPYENsc9D OUbXSKsBqjHvRm0qcceAUCsnBIPLIvxxMlr2t0IywtYt3tJZQWp02zIS/BUXn0R8/3 P6MFCYzpK5JokC5CPVkHQ09jTRfqvc/kihlsxy3UPXWD/AJuuvlmYXMOEF/QuMDl6L IilSsu2cw26wA== Date: Fri, 9 Dec 2022 15:19:53 -0800 From: Saeed Mahameed To: Horatiu Vultur Cc: linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, Steen.Hegelund@microchip.com, daniel.machon@microchip.com, lars.povlsen@microchip.com, UNGLinuxDriver@microchip.com, kernel test robot , Dan Carpenter Subject: Re: [PATCH net-next] net: microchip: vcap: Fix initialization of value and mask Message-ID: References: <20221209120701.218937-1-horatiu.vultur@microchip.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221209120701.218937-1-horatiu.vultur@microchip.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221209_151959_198354_162BE745 X-CRM114-Status: UNSURE ( 8.15 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 09 Dec 13:07, Horatiu Vultur wrote: >Fix the following smatch warning: > >smatch warnings: >drivers/net/ethernet/microchip/vcap/vcap_api_debugfs.c:103 vcap_debugfs_show_rule_keyfield() error: uninitialized symbol 'value'. >drivers/net/ethernet/microchip/vcap/vcap_api_debugfs.c:106 vcap_debugfs_show_rule_keyfield() error: uninitialized symbol 'mask'. > >In case the vcap field was VCAP_FIELD_U128 and the key was different >than IP6_S/DIP then the value and mask were not initialized, therefore >initialize them. > >Fixes: 610c32b2ce66 ("net: microchip: vcap: Add vcap_get_rule") >Reported-by: kernel test robot >Reported-by: Dan Carpenter >Signed-off-by: Horatiu Vultur Reviewed-by: Saeed Mahameed _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel