From patchwork Wed Aug 7 20:28:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 817432 Delivered-To: patch@linaro.org Received: by 2002:a5d:4e11:0:b0:367:895a:4699 with SMTP id p17csp568355wrt; Wed, 7 Aug 2024 13:28:53 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXmsb7SKLUNnKWAXlk70ufjfu9ip7opGYrPr8l5+pc7h8HwXe6IsKmAjCCw8dgnEh9dxZyykNHyH/OWEgIkezzX X-Google-Smtp-Source: AGHT+IHRaDrkw3ZvJ328SdTZz08WJEobg6jV2R8pq2fRbvcneSC9Y1n1Q3IPtjptRg8miJdR0T8L X-Received: by 2002:a05:622a:1315:b0:447:bfb2:f9fc with SMTP id d75a77b69052e-45189276790mr305210091cf.12.1723062533570; Wed, 07 Aug 2024 13:28:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1723062533; cv=none; d=google.com; s=arc-20160816; b=d0eSDhEYUi7hdEC6W1GogW7pPd/zwv1Yh6wM5ATs8526tUmVmOHhjaKmKzL7W8Ri1L MiQmuQRI5mHk8LbTPeBChBzYYDZoPN/6SBSXn4NvNPyOsoEpzntOKxBVEUW15evE2fym FC7Ml78Hvkkoie2+2ybQPhyYie32OzrWG02DmLJPPIobPSSrOa02rz+5NcEuYuFjHmWs atoCbSHKUI1tPqsuanCS4BdqxPl5Ngajekx3eu/LKCmP76VdKmyhEA1NCfYdafKEG3Wj xQfMAwGoJjMiGOsZ9sS+2d3Yqhq/KS44Cikri6L8xZSxlJVBHpA19Ykix8kUmE3gjyda qDgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=2G3r201lny1N/UVVBwud27b5XF/bTfvVVUdxCT605jY=; fh=6G+iYi/ST5uLBPXNX5mPf6b96Juu7dKn/IuqzV14oqE=; b=uuAfO+9CMzTaZHznx6NwBtCLrodRRaHjfxUt+osoNio7SwvQ5aBo/BUxSJxCJcykEp NbeJxDty3EKlWRjM01F1vbeSEm/2QAVxQnYKt3MZUIaIisZTqj1JxJwGK2gIhL1f/Hoa J5XFIuP+sth5Vxen3b4DKsoHrRZRCpNVJwrFWo21SvYAY44LaQiDikOLF2qe/OlpCMaX RqJVo5a/uiMAw5yoapVuYKFY1VSi8fKkg9fvcUPb6oiymKtxQlpHrkpHqQbbRmcpQZtb fz4YM93Obw48qrvSjtuOGBBvcABJNFcaxe/W0jP0n9lm8lNKPNm7rFFizpTOitf8cqK6 yK2A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LMXNPOE5; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-451c87d9654si23822931cf.342.2024.08.07.13.28.53 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Aug 2024 13:28:53 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LMXNPOE5; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sbnGb-00016I-IH; Wed, 07 Aug 2024 16:28:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sbnGW-00013b-GI for qemu-devel@nongnu.org; Wed, 07 Aug 2024 16:28:13 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sbnGU-0006r9-Dc for qemu-devel@nongnu.org; Wed, 07 Aug 2024 16:28:12 -0400 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-36868fcb919so136185f8f.2 for ; Wed, 07 Aug 2024 13:28:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723062488; x=1723667288; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=2G3r201lny1N/UVVBwud27b5XF/bTfvVVUdxCT605jY=; b=LMXNPOE5J7Us2DWfjPOIELvT3ltKOZIlBxM++fqKzB+30hhlgeiZa5cWpMwZ087P/u LqkJIRbKmhu4dzKSVo6SkKoB90EDmJ+y+4qS/i9CaSSWc/4cVNOrMb6XrpUhZ3WYPsAm wa7jQPRcDw45r91tG21L2W17QkNAEFNpOLFvXzmObFrj0N/I2qMpdzUeVCqsEh0PqF/D qEOjp/BMSHhL3MdmIkXFqaB+5MgRrwn7HFsh6xjpoyoRqeYZMwGoMcuIh8wY17mXw3mT sh/gt1rHcxT60fuQEMOmJD9BvbslVkZW6ei83r2/W0id7ipkWX2aQF9kc5ASDXzkhvFF UL8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723062488; x=1723667288; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2G3r201lny1N/UVVBwud27b5XF/bTfvVVUdxCT605jY=; b=bM44/qxQOzkZptt0zE+o6vBVEynQvZrZurvKViQ0fCyr57RoUXb2mbKyCDXc77Qs2o lOcrRuJOGNpuvYnnNxoMWcegeKH3GGfwoyr6Mx3ZXQ8IDKgCYklBj9oHQQFmydP4HRFu 8gTsTuAGiUyPOI7lT3CDX7ve9hngR9rNHDqIEVCZtelfgR62/0Hn7JYcQ0iZ/kmn1lD3 FgQ8DVA2aPJo5KEfPbwj+duShBDoy0NQiLKa+Gpb1kAHGCY4+mmpAln6P8zNcizUREE7 g1s2BXOJgt21CaQyQ0ht/JEJuZPICrFuo4lyyFnaP5pqkLvJfaA1iQfUntE7yGNsR3+p M7IA== X-Gm-Message-State: AOJu0YwnlD9sNtsnotiCy0Aw5NjHhEh92yPaF/Wacp13HDkGObXBS7Ws Z4DpovoCpy+Zvt397E+jAhXb9Dbb+EGCIi9IFWNjqXjQcjcWsOMF8OzE2K5wIB1nQaGQ/i6xlqB s X-Received: by 2002:a05:6000:d8c:b0:367:9988:84a0 with SMTP id ffacd0b85a97d-36bbc1c2b01mr14212066f8f.58.1723062487985; Wed, 07 Aug 2024 13:28:07 -0700 (PDT) Received: from m1x-phil.lan ([176.187.212.120]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36bbcf0cc58sm17031041f8f.2.2024.08.07.13.28.06 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 07 Aug 2024 13:28:07 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Nicholas Piggin , Glenn Miles , Caleb Schlossin , qemu-ppc@nongnu.org, =?utf-8?b?RnLDqWTDqXJpYyBCYXJyYXQ=?= , Alistair Francis , =?utf-8?q?C=C3=A9dric_Le_Goater?= , =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= Subject: [PATCH-for-9.1 v2 0/4] hw/ssi/pnv_spi: Fixes Coverity CID 1558831 Date: Wed, 7 Aug 2024 22:28:00 +0200 Message-ID: <20240807202804.56038-1-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=philmd@linaro.org; helo=mail-wr1-x435.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org v2: - Cover PowerNV SSI in MAINTAINERS - Use GLib API in pnv_spi_xfer_buffer_free() - Simplify returning early Supersedes: <20240806134829.351703-3-chalapathi.v@linux.ibm.com> Chalapathi V (1): hw/ssi/pnv_spi: Fixes Coverity CID 1558831 Philippe Mathieu-Daudé (3): MAINTAINERS: Cover PowerPC SPI model in PowerNV section hw/ssi/pnv_spi: Match _xfer_buffer_free() with _xfer_buffer_new() hw/ssi/pnv_spi: Return early in transfer() MAINTAINERS | 2 ++ hw/ssi/pnv_spi.c | 12 +++++++----- 2 files changed, 9 insertions(+), 5 deletions(-)