Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp840470ybb; Fri, 3 Apr 2020 12:52:34 -0700 (PDT) X-Google-Smtp-Source: APiQypJtsImaMnZui6eEg+oeLVgJH7H80KPQsPKzTN1ZA9ld8F+2OuOHQrgiV5QYLqQkPIFygBoe X-Received: by 2002:a4a:3bd7:: with SMTP id s206mr8036553oos.89.1585943554511; Fri, 03 Apr 2020 12:52:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585943554; cv=none; d=google.com; s=arc-20160816; b=YqtYFArTd5PgvMrpfs+4aUM/u77XFqoFtmnSViyZJ5uDbovgSNDwaCTywKgCWXjlw4 JhrqeOut4tsuPaKWjZNA8G424IcpzAaBzvyfzOuy5Fysj/3wgZjg/kzihkGXnjY8iXRL b4WuwUaw5+PvC/5D+qZDuQp7HctbxjLo2+HMU36dt7f12rQsqY3yFs0ABMCnpMQSiOml gC7StJ9JbqIO/Zrtcu6ioieATf2u2prJ2PEJDmF66KeJuZFj8cjaqXEcgA84NxKHrm80 wL4pXE6Q26K9Nv14a44S49JpvYixylpawlD9TUsJ+WOz2RIf9ttEcPkRPOPDFE/p/YGy 1aBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=9gQpMpP65smhU9h4fCxGG/DL26lj4XPv0cgPw/bIETY=; b=YwxZG0xkT+TVQSToeQluxgXGX+hQqgixcWicyojKgHERdBYImL+Cgt76tY9O7o8o01 5BHRcFzbbY8N/Z+qlq+GxSqJbjY8ZT9uLQ3tKdUR094Z1+PT+ucA8QM/1K2Ts/m6y/kH AEh4MkHl8WZ1VtTloorn6ihz4SJtGpRIudIpBpbQ1sI5WJ4Rgh8wcqcf3dpe+q509Bm1 CbfaST8YSlXIh0GrO8j/WdxuGw3+N+klQN61dIRlLy6q3wyKv73yBNjheso15NZyoGrc nmOFM6rKFZo2eNhQlMuQP9crUgq3Cx2JhIDNLf+QMw3mUVPSzVQydymwdx5C5LHvcn04 /xaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=h+VsbrHo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j25si4036147oii.86.2020.04.03.12.52.22; Fri, 03 Apr 2020 12:52:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=h+VsbrHo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728102AbgDCTvy (ORCPT + 99 others); Fri, 3 Apr 2020 15:51:54 -0400 Received: from mail-pf1-f171.google.com ([209.85.210.171]:45931 "EHLO mail-pf1-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727873AbgDCTvy (ORCPT ); Fri, 3 Apr 2020 15:51:54 -0400 Received: by mail-pf1-f171.google.com with SMTP id r14so4027639pfl.12 for ; Fri, 03 Apr 2020 12:51:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=9gQpMpP65smhU9h4fCxGG/DL26lj4XPv0cgPw/bIETY=; b=h+VsbrHoeL2K991q/zwn2zBwZp9oObUS/klUUb0ba5Xz+CI8LR/NHkR/F9+NMtU/HZ U87+M6hEmP1SJq4C+W4r4vex5FZTrwQEPJv/tMZU2eg63xmq/UPkn/qAVTD5e/hme0QT sGri8EjFqoyim5+8h9BOT1deGwEssInCFiRU9mUr3AH9No0yrwR+xp647Z6HiKGOJG1l mP983EgHZ4cQqTi29cfCcUATvYOvb6gFNAQMr04TXiHczx1J7+WCDiLQYMAoXflVjCeq jsxso78SkSipZjyvutqkRlDmhM/D4FjLP/xzCsBYyIcKtJiycSwPno3XFgC6UR1yI0yJ 12Bw== 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=9gQpMpP65smhU9h4fCxGG/DL26lj4XPv0cgPw/bIETY=; b=jgL8ZQJXQcHdqx3ltRKLhKMd2O4BCqWo1VaFnHLvBvioVE+aRqLB7J2sbTkZcK3JKX tMJax88QpU13nT3OEA8zPg0nQRdoXJIL+FKJwodgWXP3/KjcJ4E+FuKqkjAPQ9v8VWYd 0N97bu2qbpsPViWXB7yefw5THcwuEwv60iut39F3Em8zm/yu+eyS9fbkNsPqIxebE1Ck QSKOFMV63ZGjdnapLdrO3Z1TTxW0RvFCNlzCCZ5ig9ukWZVOXNqFBmhibPyplcdzfGK/ Xh9xFh9/+WxOBuCBYm3YAIWiE00BnVKtI5rhMkJV3UNoEkHRLjb2O2hkIeEDQSZVmz1c fCJQ== X-Gm-Message-State: AGi0PuZwrLMXaup1iWfEsK0jD18C7UPV4DNvWO/eHrd6AbDWYyMlcLbb dLKhUJwBR43vrr0mKGalOrAhLQ== X-Received: by 2002:a62:19d8:: with SMTP id 207mr10308346pfz.278.1585943510950; Fri, 03 Apr 2020 12:51:50 -0700 (PDT) Received: from nuc7.sifive.com (c-24-5-48-146.hsd1.ca.comcast.net. [24.5.48.146]) by smtp.gmail.com with ESMTPSA id h15sm6375239pfq.10.2020.04.03.12.51.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 03 Apr 2020 12:51:50 -0700 (PDT) From: Alan Mikhak X-Google-Original-From: Alan Mikhak < alan.mikhak@sifive.com > To: kishon@ti.com Cc: lorenzo.pieralisi@arm.com, bhelgaas@google.com, linux-pci@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH][next] PCI: endpoint: functions/pci-epf-test: fix memory leak of buf Date: Fri, 3 Apr 2020 12:51:34 -0700 Message-Id: <1585943494-23977-1-git-send-email-alan.mikhak@sifive.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <20200401223541.403438-1-colin.king@canonical.com> References: <20200401223541.403438-1-colin.king@canonical.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Colin, Please note a similar leak in pci_epf_test_write(). Regards, Alan Mikhak