Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp352185rwa; Sat, 20 Aug 2022 05:11:07 -0700 (PDT) X-Google-Smtp-Source: AA6agR4sQZhUMZV1l5D+0nX8UZdxIDswLM8ESJd7rMOn7cQqxldXZHn7i+xMT97bL7EQZuJvVhcp X-Received: by 2002:a17:907:d2a:b0:730:d34d:8a1c with SMTP id gn42-20020a1709070d2a00b00730d34d8a1cmr7517866ejc.574.1660997466926; Sat, 20 Aug 2022 05:11:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660997466; cv=none; d=google.com; s=arc-20160816; b=E1Nr72PA0orWeGq4XcRECHNX5LH+j9wvcC4RL6FjOdjL6X+w/4roBnLY1CQU6sScY1 XV4CcRdInXx4eR6ypeDqKZHD2ZhTpHIi3kFE7A/V/dvCpHK5OsJyogMPvdTN2whje3qQ JHo7wgtqkmlXS3wMvQ5wHzhExhPwWfSXxPK/eflGBd9KWEYWzLrha3gwXENy7HqnMSyN R7TAG63nEoHSObbN60Uax/tGWrgzrb2+POC+S7E6ungfnBo46q5T5xdSi6EP7u2KkNCC 80Y92G5ID5N9tstrr/mrdw54r7GfYXRoDbHTm01ENRgMMjlyhuyEKafc1YiR/wgX9GsC VzQw== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=L6UXJxoCT0v19DhLEd9TsvRlOgr8FYzGj2KGDNpjfZ8=; b=zNQ39coLvyo4cbL+pl+sTcuA/GLMTW5T0+Asx2xlDzCnE0+fxDZ/mBq9KDSf32rRvC 1axsmgeSeKyOzpdl8SfdRXhKlPUz/fSMP4xjoj7m5xCZivUCl5vXW/jPU7RsAFUdc5J3 bRJsJWDysiStFXCqciCd0JHK66WkNiq2d3hoTrJHws3eB1gpkte/RbZndfXdW+SIlXOd rOXNM9GGi0JLdmU3eJ3qPREXOn7Xj4wth7Osle2VaUn0uqGkvWY77C7bkArCNJ8vEFhf fa04odzyEndJIEnSyQrMnQjQxWu9D9gfKZirq1IiEQ54j/JB2D2y4N3PMjfTLURDCeLk 6xuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jjg4ixOl; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hv8-20020a17090760c800b007310a8a411csi5494765ejc.843.2022.08.20.05.10.40; Sat, 20 Aug 2022 05:11:06 -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=@linaro.org header.s=google header.b=jjg4ixOl; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345674AbiHTLrk (ORCPT + 99 others); Sat, 20 Aug 2022 07:47:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241192AbiHTLrj (ORCPT ); Sat, 20 Aug 2022 07:47:39 -0400 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AA1C9C2FA for ; Sat, 20 Aug 2022 04:47:38 -0700 (PDT) Received: by mail-pf1-x42c.google.com with SMTP id g129so3111407pfb.8 for ; Sat, 20 Aug 2022 04:47:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc; bh=L6UXJxoCT0v19DhLEd9TsvRlOgr8FYzGj2KGDNpjfZ8=; b=jjg4ixOlks/J+aPf3Z60I2jwuhhSVa+poGaIuc91x8AvkLAgE+yjQkpLZsLPFnsaWQ pMKCbI4FXETa+wQFCZJ3MIkRmqLPwvy1uVjpmS0FyzOGdA7rU/yZVIZ/F96KmFlYGVTQ vdsGTxtpHmOh7EG/0y+bNickD6bED+lmqifaMoLLlKvxnzTNl1KIp56hMNxOvX6C6Pee Y6Ivaf8qQo182m3jDZO0XtO3tdYXgK1MrjSKKpfKUJjb2EfK+gFBwClNBgd3O7BPOIdB HHJC5xby3impoRK/Z7zcQrxWzID4fLY8cqW0+IvgYsp39PGB7MS2D8av/1EltbgaBCB0 I79w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc; bh=L6UXJxoCT0v19DhLEd9TsvRlOgr8FYzGj2KGDNpjfZ8=; b=oszUJIVuDqD+8QAkjXB/6oMbQpD34N1Qwb4+VIrXv6RhOmo+E17xkZn504hJpdFz8Q n28nSlJQSnyXxIQ5mV433eNIC4LazrhQNy3YCFz2wgHiL2FB3RRo1t1fUHcRB+A+b578 pruhdCc99W1VQsLzOCW2zkRreCpv+wYm4J41msgN6sFP86idj4ikbDr8CkrVQSyrtcmk wzrrB5KvMkVKFNYgeJrkCdypDP79zR5b46U+lZFUWuKdMn6N5WAEYPvpKA7JTwdlkh2W LMC4I/RwPlJbzJ1mYst3i6oY0VShHMoG841eMu2Q6UDZ1YE1TeTJ7VV4B+A45b+iEx7H Wtyw== X-Gm-Message-State: ACgBeo2P/0LmlBXJZ6dBMYmxbrG2DRc2FsZBNNo5412aEQtEsHkv3Vzx 2gMRCs8DT4UoqlKH/ekYPvhn X-Received: by 2002:a62:e804:0:b0:536:3d1a:1b33 with SMTP id c4-20020a62e804000000b005363d1a1b33mr4591912pfi.4.1660996057573; Sat, 20 Aug 2022 04:47:37 -0700 (PDT) Received: from thinkpad ([220.158.158.232]) by smtp.gmail.com with ESMTPSA id l15-20020a170903120f00b0016bb24f5d19sm4796984plh.209.2022.08.20.04.47.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Aug 2022 04:47:37 -0700 (PDT) Date: Sat, 20 Aug 2022 17:17:32 +0530 From: Manivannan Sadhasivam To: Greg KH Cc: kishon@ti.com, lpieralisi@kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, mie@igel.co.jp, kw@linux.com Subject: Re: [PATCH 3/5] tools: PCI: Fix parsing the return value of IOCTLs Message-ID: <20220820114732.GB3151@thinkpad> References: <20220819145018.35732-1-manivannan.sadhasivam@linaro.org> <20220819145018.35732-4-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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, Aug 19, 2022 at 05:27:24PM +0200, Greg KH wrote: > On Fri, Aug 19, 2022 at 08:20:16PM +0530, Manivannan Sadhasivam wrote: > > "pci_endpoint_test" driver now returns 0 for success and negative error > > code for failure. So adapt to the change by reporting FAILURE if the > > return value is < 0, and SUCCESS otherwise. > > > > Signed-off-by: Manivannan Sadhasivam > > Fixes: tag and cc: stable? > Okay, then the same needs to be done for pci_endpoint_test and Documentation. Thanks, Mani > thanks, > > greg k-h -- மணிவண்ணன் சதாசிவம்