Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 39170C433FE for ; Tue, 8 Nov 2022 17:42:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=maTb6JOdHXkqXHC0Kn86lQwm5/D8I3wwwEDn7yMWslk=; b=kDkpUhqIzf5QFe 32zAqsamfYCddpxRPcm6QG07rbW2JFoa/9/YgDqAElqh6aAzM7C7rDrcBwM9DpAV5xQc49kWpm8fp yjyjOLGqFKm2fYP3uH7z8VLKGju7VxW/VqSZm0CkVjQ6aR6y5vNM1IEVZTFEL1UP1dectfDJROOLL kD8BzaTRt5fHa349HqpcPDyfRdCIgklSEB30AHaXA3VQfpqZm4g/xuRejDE5TUAFUxQW4uPBzJD6l ecC1TrK9k77JfXsYC6yBXEHy4QgWVXqPYkJMca1tJSiXsYwRpxVVMY1dLejzbWoOWoOilxHnTyxhV vtU57ur3H2mfIWG0mh1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1osSao-007AF1-Jc; Tue, 08 Nov 2022 17:40:58 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1osSZC-0077Qq-6u for linux-arm-kernel@lists.infradead.org; Tue, 08 Nov 2022 17:39:20 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 57DACCE1C51; Tue, 8 Nov 2022 17:39:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 650B5C433D7; Tue, 8 Nov 2022 17:39:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667929154; bh=8Re/e4TwMRZatIL69CUObYgAqfVVa00vtb0MeRexa68=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dQjkjCZf+/p5NKGdyJQxwblVa8iv2CmcV/zWolEg9ubNioP4qgkDWXUgbjishg46f HXxjHVbZ53xbD9vZ4ZhryDhh0RhDdBTMvhVuPWq+HEhn37GLSKbBEUp56H2SqaBFMw u1lRY1VWf2QFme0ZdM0GEd7FyRUxuqG4Hh31PL6V37BaDt+6xI1wfyH+8n0rA9vpAh Ph+uaRvn26Kd+MxO0RbjJ7UOl41vbmBaK0aACl5BuENhtDl7yYfuP2MwEPH/QMK2kb 2nTp9a/XMhxvWbX847TQQyhSWFC7XRvNU1mzEmLwPcQY5/FV0RnQogvPwkwQdfDIgC mdAL9mBVTGU+w== From: Will Deacon To: linux-arm-kernel@lists.infradead.org, Mark Rutland Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon Subject: Re: [PATCH] arm_pmu: acpi: handle allocation failure Date: Tue, 8 Nov 2022 17:38:47 +0000 Message-Id: <166791136791.3468.1898376427784577415.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20221108093725.1239563-1-mark.rutland@arm.com> References: <20221108093725.1239563-1-mark.rutland@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221108_093918_492011_6B4FFB06 X-CRM114-Status: UNSURE ( 9.77 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 8 Nov 2022 09:37:25 +0000, Mark Rutland wrote: > One of the failure paths in the arm_pmu ACPI code is missing an early > return, permitting a NULL pointer dereference upon a memory allocation > failure. > > Add the missing return. > > > [...] Applied to arm64 (for-next/acpi), thanks! [1/1] arm_pmu: acpi: handle allocation failure https://git.kernel.org/arm64/c/a8731264e5ce Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel