From patchwork Fri Sep 7 06:40:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rashmica Gupta X-Patchwork-Id: 967214 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4267B31CcFz9sBJ for ; Fri, 7 Sep 2018 16:40:59 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="KOo9NF2D"; dkim-atps=neutral Received: from lists.ozlabs.org (unknown [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4267B26CwqzF3Sd for ; Fri, 7 Sep 2018 16:40:58 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="KOo9NF2D"; dkim-atps=neutral X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=209.85.215.178; helo=mail-pg1-f178.google.com; envelope-from=rashmica.g@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="KOo9NF2D"; dkim-atps=neutral Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 42679y5yLxzF3SN for ; Fri, 7 Sep 2018 16:40:54 +1000 (AEST) Received: by mail-pg1-f178.google.com with SMTP id x26-v6so6478093pge.12 for ; Thu, 06 Sep 2018 23:40:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=c3LfDcAOKahkHzN5UfQ8CSD/XyNvt9gW+aoR5oppW+g=; b=KOo9NF2DmtgTSuB4fxPbQJOLQjHa2IH1C556vGTmm89DKpCQg9h/eR9RST/vEpACs1 GaWlRSlxESrBxo8FhwCQUtfiobnUsSX6hWFS772cEJWK6ocK5qLTLEqK8Aj0OR8aFcRn Ob+wLehQgUfABOHD9PHyyRGAQOBvywgONCvkXiX3HndAajlve18BMS3wGw6zzPMUCX2P JzRdAgVQoDDu514+MbrdmvpgdYUkE7WW9FmR0DwHhSkSIRg+qxxXNqSrD6ZgsmJmTsVc py+/3WHVgFeuL9GyqVrYp8KhiIyNhfPbRoNNS66UTLNoHYP1AIfcyoDNuQJBiIBVkbB8 6i6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=c3LfDcAOKahkHzN5UfQ8CSD/XyNvt9gW+aoR5oppW+g=; b=DNhNTwz7QadGOVsw6Op2HURs3szDYuH3V+wFYFxGjvDGGZpbrIrt21Lf24TON31qMb ViV10SoKBMZWKC92IXA9hUzr4lRi57JUdCvhPRA9adlu2pENTCvPIjMxIYzVygE+BQjX w55i2/nuzbvT8JxBpIs+98Se/o9t/0u1dOSLrAum/xnHJv4XbeozM5wpFcmY8Kfy9K2m /rOesPLiaF+wZQiZFG7cqqQlRup+gVtKYaNh97OrVDBTlDNHL9yWcoGxIdDexJEmdPnP +aG7y263q/aSGZ7YNQzbXomD+DxWqVb/0eBw1H/J5HapQDii9OTxB7SswmLDeiJ3lPsw Ekhg== X-Gm-Message-State: APzg51DKavzsx3yGfijl0gxd4R+Puuo+HOdSOOCjiAba5m6SgHc63GGM mslrOpltpbj2AO2PBy+guene3lmiSdY= X-Google-Smtp-Source: ANB0Vdaa4KRZJOKOJd5yYheBQM77qe/D1WLIOWRl1YKpscUAWw/HWaaEv3P+VQRCpUpMAxHJsXxiMw== X-Received: by 2002:a62:438f:: with SMTP id l15-v6mr7068066pfi.196.1536302452860; Thu, 06 Sep 2018 23:40:52 -0700 (PDT) Received: from rashmica.ozlabs.ibm.com ([122.99.82.10]) by smtp.gmail.com with ESMTPSA id y69-v6sm14958108pfd.36.2018.09.06.23.40.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 06 Sep 2018 23:40:52 -0700 (PDT) From: Rashmica Gupta To: pdbg@lists.ozlabs.org Date: Fri, 7 Sep 2018 16:40:01 +1000 Message-Id: <20180907064015.1058-3-rashmica.g@gmail.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180907064015.1058-1-rashmica.g@gmail.com> References: <20180907064015.1058-1-rashmica.g@gmail.com> Subject: [Pdbg] [PATCH v2 02/16] pdbg: Fix function call for putnia command X-BeenThere: pdbg@lists.ozlabs.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "mailing list for https://github.com/open-power/pdbg development" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: npiggin@gmail.com MIME-Version: 1.0 Errors-To: pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Pdbg" Signed-off-by: Rashmica Gupta --- src/reg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reg.c b/src/reg.c index aa77a8a..c63f6da 100644 --- a/src/reg.c +++ b/src/reg.c @@ -116,7 +116,7 @@ OPTCMD_DEFINE_CMD(getnia, getnia); static int putnia(uint64_t nia) { uint64_t reg = REG_NIA; - return for_each_target("thread", getprocreg, ®, &nia); + return for_each_target("thread", putprocreg, ®, &nia); } OPTCMD_DEFINE_CMD_WITH_ARGS(putnia, putnia, (DATA));