Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp116653iog; Thu, 16 Jun 2022 23:36:30 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sH9ZAHGcUaOyX2dA+gF8jZmtxtX0lhaVOs5NGWU8lVjuOf7+ASpPI5hIxtS2235bPa+9xV X-Received: by 2002:a17:90a:4a97:b0:1ea:fa24:467c with SMTP id f23-20020a17090a4a9700b001eafa24467cmr274043pjh.1.1655447789584; Thu, 16 Jun 2022 23:36:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655447789; cv=none; d=google.com; s=arc-20160816; b=aqOdlxR8+PZVF1Y0VAzf2Re0hmqiOg0PvbI42SslGCPgJ/bz7eu8gzvlDvRgmO0FVw vSGmBBWpeSgG/QzJ/yav0Qrw0i4j3ernUn+B9mqv0/TeaXOa9lG6qj5fxWszoe8FUAGX rQoVQYnlSMV7Q2BnS13K6IkrWeISc3HbyXZ06nNp3pBk9/csJL6PhZpQmZmwGqgKU7L4 nzH1Ux+Q9gdNYBEx6ULVFh8YRVXmA7gTYGGT2imXV2kUUBlOkTXtgD8+iHGarbKeTiR9 p6JK7smoaNOICEGWVIfCpT98++5lrsyRpfCqnA/RME8b7tu2dotKFAuKkxLc8cSmEkFw y3wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=tRZ8YIXq2yVVttyO1i7f7BjSO9Zo6R2IapqOOvHGHeE=; b=rF29oxhmxyyYIdiYOEzXLjgCBRaCwX+XeF32BXZeOPykjZ4ib3CMxx3WWu6VL3/8j2 z7U6o1r2qAaf43hTpbV0KIH4zq7ahiL2QdGTjlH4V2TAxkaYVtJAsvFHMP5XRa5oEKf5 JB5h4toB2+pSYJSPFPdgLJ9BtrWwQhvxO58HA0NAh3EI/5YoH5Xth7pzEnNNwmuEAW0K 7FUuvuR1vviCEWjJoCVEGJ0TulZZjaQGaa+p+K0qPdw4EfJMrshkIwP8rH4Ak3v6Ny9d CX3X4RYkrCS2HBP7sIaRQINfLjSg+/DTwG/jYTkYRoUxCKXPOTQBhhAOitUsWz4O7cZ9 s+nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=UEP3v9qM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f21-20020a056a0022d500b0051cb8b91215si5823424pfj.293.2022.06.16.23.35.58; Thu, 16 Jun 2022 23:36:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=UEP3v9qM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380097AbiFQGdU (ORCPT + 99 others); Fri, 17 Jun 2022 02:33:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237443AbiFQGdT (ORCPT ); Fri, 17 Jun 2022 02:33:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 012D053E18 for ; Thu, 16 Jun 2022 23:33:18 -0700 (PDT) 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 77E3961E84 for ; Fri, 17 Jun 2022 06:33:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8152BC3411B; Fri, 17 Jun 2022 06:33:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655447597; bh=/syOBghp3XtUP61v44swnoBkqYYl6tKIHy8X+FrSWy4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UEP3v9qMG7QtsKC8BgMLQkHW87ogmA5wiSmhCaHWDto2RER4eoBR1idhKhwJObk/U 8KYMzlq+HgGytUrYp1/+PIhPktG+29WXD1eZc7clXgriSOPbtpZ/P8lPp+Dk8utl33 TEN7StrLvtoHfH7kYDhOyNf4i1hUpC2hIeCE2rvQ= Date: Fri, 17 Jun 2022 08:33:14 +0200 From: Greg Kroah-Hartman To: HighW4y2H3ll Cc: Arnd Bergmann , linux-kernel@vger.kernel.org Subject: Re: [PATCH] Fix use of uninitialized variable in rts5261_init_from_hw, when efuse_valid == 1. Message-ID: References: <20220617044755.37535-1-huzh@nyu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220617044755.37535-1-huzh@nyu.edu> X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 17, 2022 at 12:47:55AM -0400, HighW4y2H3ll wrote: > Signed-off-by: zhenghao hu > --- > drivers/misc/cardreader/rts5261.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/misc/cardreader/rts5261.c b/drivers/misc/cardreader/rts5261.c > index 749cc5a46d13..f22634b14dc8 100644 > --- a/drivers/misc/cardreader/rts5261.c > +++ b/drivers/misc/cardreader/rts5261.c > @@ -403,7 +403,7 @@ static void rts5261_init_from_hw(struct rtsx_pcr *pcr) > setting_reg1 = PCR_SETTING_REG4; > setting_reg2 = PCR_SETTING_REG5; > } > - } else if (efuse_valid == 0) { > + } else { > // default > setting_reg1 = PCR_SETTING_REG1; > setting_reg2 = PCR_SETTING_REG2; > -- > 2.35.1 > Hi, This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that has triggered this response. He used to manually respond to these common problems, but in order to save his sanity (he kept writing the same thing over and over, yet to different people), I was created. Hopefully you will not take offence and will fix the problem in your patch and resubmit it so that it can be accepted into the Linux kernel tree. You are receiving this message because of the following common error(s) as indicated below: - You did not specify a description of why the patch is needed, or possibly, any description at all, in the email body. Please read the section entitled "The canonical patch format" in the kernel file, Documentation/SubmittingPatches for what is needed in order to properly describe the change. - You did not write a descriptive Subject: for the patch, allowing Greg, and everyone else, to know what this patch is all about. Please read the section entitled "The canonical patch format" in the kernel file, Documentation/SubmittingPatches for what a proper Subject: line should look like. - It looks like you did not use your "real" name for the patch on either the Signed-off-by: line, or the From: line (both of which have to match). Please read the kernel file, Documentation/SubmittingPatches for how to do this correctly. If you wish to discuss this problem further, or you have questions about how to resolve this issue, please feel free to respond to this email and Greg will reply once he has dug out from the pending patches received from other developers. thanks, greg k-h's patch email bot