Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2106979rdb; Mon, 20 Nov 2023 02:02:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IGHw5Yj/kXPc8vSpG5ajjLsGfn2cD6giEPon0m/5ttU8SSii9mBJa+cofhOnecU4rdTenu4 X-Received: by 2002:a05:6a20:6a0d:b0:180:132:e078 with SMTP id p13-20020a056a206a0d00b001800132e078mr6049823pzk.31.1700474563921; Mon, 20 Nov 2023 02:02:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700474563; cv=none; d=google.com; s=arc-20160816; b=iqEgSU0IhxJQX7OxS97jVBt8ozi7bd3qbc+7fzgywzYEvIqH6LzrTD7a3+V04geGJJ djycKSz3HdChR+8MDvSshLCKf0VwIFux7iYpTFYn+CSixBXlLb71UXtfSd4iy4wLzUM4 btr3golnMnpVQHr/NIbgQ+v9IVFxi00j5ZJI8maetv3c+2FBKevST6bU+hyQPKpXdmDZ 4/h2jm7Quqc6hyTJJdMpyDEg7tbVG7Jr7UUhtMbUBMdGOltKX1e+JFIyFgk0T2QmAvY+ nFmJQpnkh2e6TJNN9EWK2tdFFwwK7zpGjpPxdqBqRipb2nIC3Up0tTu4qYq63cGriypW YdOQ== 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=W8isJCYTMthBuBbfG7yRP3D6k9YfAptoWDY4g/kRBQQ=; fh=stUikRpRBMKSTQOIezIoMdmeXaL/XDaw/tsY0bxhgv8=; b=QVNSh9ZRypnGMnyp7296RPGZcUNC9XwqDkiUmhlGgTyxaLaSiLqGuJnI/30Ixe0q7V SFL2x2XdhBZfFEeBGatiB4DLg0iWoHy3pQPDH08mhTO79s330TKrGwkOOtLzr5ASDCsv mjAMtTEQ43hIYmB9aK3Xn3PY7zKWssMJZDTlLvlEmBCLGBBzvYm+NkMbsBr6ruHlx1xt hXRaI44NTOwxa2B2i2s/MNOYy1pBccLtciW6cj67Xs4pO9OfRayYLjFVgVzMbDR0Bj92 1L2uaNCbxtX2bUzkbxvkkEWs4+HgrLfTJSKO/X/ZViUwEnIysVp5AqipF6urt4OnnYkO /ecQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=KxELYPko; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id h63-20020a625342000000b006cb2dd42908si6634723pfb.360.2023.11.20.02.02.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 02:02:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=KxELYPko; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 3CB6280A235C; Mon, 20 Nov 2023 02:02:40 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232435AbjKTKCZ (ORCPT + 99 others); Mon, 20 Nov 2023 05:02:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232495AbjKTKCV (ORCPT ); Mon, 20 Nov 2023 05:02:21 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7655B95 for ; Mon, 20 Nov 2023 02:02:17 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9FE3EC433CA; Mon, 20 Nov 2023 10:02:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1700474537; bh=lytuxTkPB0okNqk+8s8bs37ZXG5dyB+2G+cEs+pRKrQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KxELYPkozyB8TtUxqn6hWTyg2QO+i8CSsK/BaMsBOQDfYQrwrWJ6718zFPrgXDgIc ROV5K/YchAwP/1GJuBAG0NitqStT46SWnBfngO3S8XtW6CZIBASY29YBlq7PnmOyzu 57s28oILGyKGqrMRa01blz9s+oNFjzjofJU1oE4k= Date: Mon, 20 Nov 2023 11:02:13 +0100 From: Greg KH To: Su Hui Cc: tomas.winkler@intel.com, arnd@arndb.de, alexander.usyskin@intel.com, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH v2 1/2] misc: mei: client.c: return negative error code in mei_cl_write Message-ID: <2023112003-earflap-mule-5b03@gregkh> References: <20231120095523.178385-1-suhui@nfschina.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231120095523.178385-1-suhui@nfschina.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 20 Nov 2023 02:02:40 -0800 (PST) On Mon, Nov 20, 2023 at 05:55:23PM +0800, Su Hui wrote: > mei_msg_hdr_init() return negative error code, rets should be > 'PTR_ERR(mei_hdr)' rather than '-PTR_ERR(mei_hdr)'. > > Fixes: 0cd7c01a60f8 ("mei: add support for mei extended header.") > Signed-off-by: Su Hui > --- > v2: split v1 patch to different patches > v1: https://lore.kernel.org/all/5c98fc07-36a9-92cc-f8d6-c4efdc0c34aa@nfschina.com/ > > drivers/misc/mei/client.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/misc/mei/client.c b/drivers/misc/mei/client.c > index 9c8fc87938a7..7ea80779a0e2 100644 > --- a/drivers/misc/mei/client.c > +++ b/drivers/misc/mei/client.c > @@ -2011,7 +2011,7 @@ ssize_t mei_cl_write(struct mei_cl *cl, struct mei_cl_cb *cb, unsigned long time > > mei_hdr = mei_msg_hdr_init(cb); > if (IS_ERR(mei_hdr)) { > - rets = -PTR_ERR(mei_hdr); > + rets = PTR_ERR(mei_hdr); > mei_hdr = NULL; > goto err; > } > -- > 2.30.2 > 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 have marked a patch with a "Fixes:" tag for a commit that is in an older released kernel, yet you do not have a cc: stable line in the signed-off-by area at all, which means that the patch will not be applied to any older kernel releases. To properly fix this, please follow the documented rules in the Documentation/process/stable-kernel-rules.rst file for how to resolve this. 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