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 X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 54F55C4338F for ; Wed, 28 Jul 2021 12:27:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 35B5C60F9D for ; Wed, 28 Jul 2021 12:27:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234847AbhG1M16 (ORCPT ); Wed, 28 Jul 2021 08:27:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:36348 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234701AbhG1M15 (ORCPT ); Wed, 28 Jul 2021 08:27:57 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5E01960F9D; Wed, 28 Jul 2021 12:27:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627475276; bh=oY3YmiR7sro2PswKmXbpBhYm1OLXYjNMMfgABUICKjg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cNfQ+GO3uiV3HaGj8bzYGl1JIB/pBLMO9mPg75NJQeYZtMsuGLN2HgZHMpj7/01m+ AtNOHBRPdU7FWkpMjzwmEZHFFrxFTFte/o731uzfSk2uNw8NDMUGhEvBz9RWMzqlX0 SmWkj5INJO5d3SYsBaRjqRMWDyBm8oyEHhjVDK3hEXYh21E8TIcfRxKNWw9Be1Cmmd 8jkmiQDAJ4+05NDwx+HGnHsRGJYRiTDKvgzcz5kdaV1SLEBCBTmptSuy2pdKegLre+ auuA1bWxwEyBI3+TLvq6NYNzA5QSHeVNOS5gkP+5My4dYI/P7Nq02OMD6Wk+sEtlx3 8Z1NTb6cg/uKw== Date: Wed, 28 Jul 2021 17:57:52 +0530 From: Vinod Koul To: Dave Jiang Cc: dmaengine@vger.kernel.org Subject: Re: [PATCH] dmaengine: idxd: fix uninit var for alt_drv Message-ID: References: <162689250332.2114335.636367120454420852.stgit@djiang5-desk3.ch.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <162689250332.2114335.636367120454420852.stgit@djiang5-desk3.ch.intel.com> Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org On 21-07-21, 11:35, Dave Jiang wrote: > 0-day detected uninitialized alt_drv variable in the bind_store() function. > The branch can be taken when device is not idxd device or wq 'struct > device'. Init alt_drv to NULL. Applied, thanks -- ~Vinod