Message ID | 20200430023440.225504-3-amitay@ozlabs.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49CKK655QXz9sRY for <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2020 12:36:58 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=ozlabs.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.a=rsa-sha256 header.s=201707 header.b=PS26p62g; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49CKK542nszDr6Y for <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2020 12:36:57 +1000 (AEST) X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 49CKGl11G0zDr6Y for <pdbg@lists.ozlabs.org>; Thu, 30 Apr 2020 12:34:55 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.a=rsa-sha256 header.s=201707 header.b=PS26p62g; dkim-atps=neutral Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 49CKGh4Kphz9sSk; Thu, 30 Apr 2020 12:34:52 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1588214092; bh=eLxTMl0mAWo3F3nAAOtkaePZgK90adlXOej+iT7BK18=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PS26p62gb0VfAabGFw3G1c0cNiBZpeinc5HhAfaLlsoeMVeCIM9VrORTTAE0rU+aN gr+0IeShswh3MO39Q34D2aqO0GilNSvyWmIqvikLNC0x44viXykP47IjdWGCrAT+xC DjNjGeLcna76bMHnYoXX0MLj5kahADiuZvbEWwoyDfRwfGAxFs4Uc5Saj6DJgcPF9k zckizltSez0JDVmqbFPdwJbWWvDspjq9JxD0xi8mUE1cHU5r/LcOSeXTBQDUfUERNc bkzUb7SA8wgsxuDyG24WC9ACbc02EgTt+WIThy66h18Op5/Irbcv0BcSNS0LRvLnzi CgBM9jyMI/h+g== From: Amitay Isaacs <amitay@ozlabs.org> To: pdbg@lists.ozlabs.org Date: Thu, 30 Apr 2020 12:34:23 +1000 Message-Id: <20200430023440.225504-3-amitay@ozlabs.org> X-Mailer: git-send-email 2.25.4 In-Reply-To: <20200430023440.225504-1-amitay@ozlabs.org> References: <20200430023440.225504-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH v5 02/19] libsbefifo: Use the correct sized pointer X-BeenThere: pdbg@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "mailing list for https://github.com/open-power/pdbg development" <pdbg.lists.ozlabs.org> List-Unsubscribe: <https://lists.ozlabs.org/options/pdbg>, <mailto:pdbg-request@lists.ozlabs.org?subject=unsubscribe> List-Archive: <http://lists.ozlabs.org/pipermail/pdbg/> List-Post: <mailto:pdbg@lists.ozlabs.org> List-Help: <mailto:pdbg-request@lists.ozlabs.org?subject=help> List-Subscribe: <https://lists.ozlabs.org/listinfo/pdbg>, <mailto:pdbg-request@lists.ozlabs.org?subject=subscribe> Cc: Amitay Isaacs <amitay@ozlabs.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Pdbg" <pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> |
Series |
Add sbefifo backend
|
expand
|
diff --git a/libsbefifo/cmd_scom.c b/libsbefifo/cmd_scom.c index bc9b5f9..bb44e5e 100644 --- a/libsbefifo/cmd_scom.c +++ b/libsbefifo/cmd_scom.c @@ -24,7 +24,7 @@ static int sbefifo_scom_get_push(uint64_t addr, uint8_t **buf, uint32_t *buflen) { - uint8_t *msg; + uint32_t *msg; uint32_t nwords, cmd; nwords = 4; @@ -83,7 +83,7 @@ int sbefifo_scom_get(struct sbefifo_context *sctx, uint64_t addr, uint64_t *valu static int sbefifo_scom_put_push(uint64_t addr, uint64_t value, uint8_t **buf, uint32_t *buflen) { - uint8_t *msg; + uint32_t *msg; uint32_t nwords, cmd; nwords = 6;