From patchwork Tue Jun 5 07:13:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 925324 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 ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 410NMR5Zjvz9s0W for ; Tue, 5 Jun 2018 17:13:55 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ADvNHuPt"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 410NMR2w6JzF1g4 for ; Tue, 5 Jun 2018 17:13:55 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au 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="ADvNHuPt"; dkim-atps=neutral X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:400e:c00::22a; helo=mail-pf0-x22a.google.com; envelope-from=joel.stan@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ADvNHuPt"; dkim-atps=neutral Received: from mail-pf0-x22a.google.com (mail-pf0-x22a.google.com [IPv6:2607:f8b0:400e:c00::22a]) (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 410NMM0Px9zF1g0 for ; Tue, 5 Jun 2018 17:13:50 +1000 (AEST) Received: by mail-pf0-x22a.google.com with SMTP id b74-v6so783758pfl.5 for ; Tue, 05 Jun 2018 00:13:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id; bh=f3J2dcfdi41Z34CqIlRcrDEa8m5DrAMMWMwjXtRyHoM=; b=ADvNHuPt0dlLiDACDRgZzG8iDvSiMJqIW83imbKzORDQaAU2uK6Bf+3wL22e/R6ZTk kkVUrqCDRWI7oINUHcAmPWe2q7dGd4HCQ/Ys0n4/eIGColQRm45nz7kLujHgpZrd9Id4 iHmt278x0qzclwI2BgDZA7GFWUkB2Xx9hBO2lr20y1oIlJMczoQS8id2QNPSt7X/bLyl dMwpMyTOkxivvsx9+gmtCQg9Kt3K+AqHev+0I1uhsLQWjr/bbNL0We8nlH+qhwmRTsUO J17izIf9u+CfX5BIqCPzeEXy5jshh+bzqKN/lVC3PUE50ecP+Zzdsc/e54SswUMnpiPI Gn5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id; bh=f3J2dcfdi41Z34CqIlRcrDEa8m5DrAMMWMwjXtRyHoM=; b=UMysC03rEc+qmLmsXxKknAfDdtpPut0c2oktYEd8xmaG+mQo4yYzwObkJNwOhVSvio 6voVw6lZC+ihXSMd+KsYMj+jnenLAg2DGhi4LdtsHsrIS2u75V5cK1nkTijlG9UyjfgK 3SdYEa28WegKghy/WYuoU5XgTzUCeO37+K2xh40dVF23iV1ShgCNDMIbsXr1Ys6b4NB+ EePQDCJT1kJEIbmJoP6VPfXELuBuz4LEWKFBRoeYYkRftmlpFJeKSAjHAazZal0a7yFG Sqc4tQmgpXF4oFkXxq/qpdtNtLL4vTJu4rIeNPTyziPhiMOLZS1VYxw0stUJBKgHJEJZ yF7w== X-Gm-Message-State: ALKqPwczDCDflo4Ym21LME+Slee7R9UU2Ddl1h97ZAz6tg31Ysx7LqXF yiqkPeb5DXxrU0GyjYga0iy/Yoj7 X-Google-Smtp-Source: ADUXVKL0ddDeO/qHTZlVYX8893PrmlC6NdoBCwG9CfY64MpE+p0JtsSmW0fRoSmCPYyOafBg9M3bkw== X-Received: by 2002:a63:444:: with SMTP id 65-v6mr20339066pge.101.1528182827764; Tue, 05 Jun 2018 00:13:47 -0700 (PDT) Received: from aurora.jms.id.au ([203.0.153.9]) by smtp.gmail.com with ESMTPSA id a10-v6sm74124623pfo.55.2018.06.05.00.13.45 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 05 Jun 2018 00:13:47 -0700 (PDT) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Tue, 05 Jun 2018 16:43:41 +0930 From: Joel Stanley To: skiboot@lists.ozlabs.org Date: Tue, 5 Jun 2018 16:43:33 +0930 Message-Id: <20180605071337.22915-1-joel@jms.id.au> X-Mailer: git-send-email 2.17.0 Subject: [Skiboot] [PATCH 0/4] Misc fixes X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Various unrelated fixes I could identify from a scan-build run. Please review closely. Joel Stanley (4): occ-sensor: Avoid using uninitialised struct cpu_thread timebase: Remove unused remaining time calculation hdata: Remove hn variable where it is unused psi: Properly mask errors in SEMR core/timebase.c | 1 - hdata/iohub.c | 11 +++++------ hw/occ-sensor.c | 6 ++++-- hw/psi.c | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-)