Message ID | 20210806081113.880138462@linuxfoundation.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6638:396:0:0:0:0 with SMTP id y22csp89703jap; Fri, 6 Aug 2021 01:20:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6Fm97haN5H1xeWKG8dj2KakHUddae07Op+dQo/YMVp4bcexbvFePIvNz4FQRwBEVHT8vJ X-Received: by 2002:a17:907:7da5:: with SMTP id oz37mr8534101ejc.396.1628238022603; Fri, 06 Aug 2021 01:20:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628238022; cv=none; d=google.com; s=arc-20160816; b=gm7BTaRCBBFUMevh96cVVLPwYsGkMEttcmOyQEtt+/Ov6BoD2N+m4fQAuOUCXwtEOi /o30VRXM/IMZ0pf9FT84gs+ZJ5YNmNWzxm56DfNtAnYZrYQ0nLJUEZKdIBiQZkG2ZIeg 2xPguh0wtcuIpbcU8ONKgynsF26ly4k1ciwtFar3yJXehMWqZoZ2OHxBAWauacxCkgVQ sX6WWyIL6CGn5s9hEGRoVGz7e9zytkpR0c1hQj3zeAGHxauXz5grEZQNFpJAe0hleiIP 3eUzEsyNdT1NvMVp9SvfZsvqheKCB4EalYAUuIcNZWnmWb3JedQhjiiWh+QTDXzHMHRO 8ARw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ccHozR1xmV0cd1VEH0bCLETUheTW3qUIJJyFJeN4SBg=; b=Nfm+ZtI8OLVXwGthjOvP/pmU7q64uStXHPeuydMWaqE3WZbsQg0myBnVTAVCjETXCk 0BO579Q20BfIyzkBfdOY4hR3bGdtfGE2OogTyJT8co0GyGs5PDFI36RWUgrEV+uK+nQX fjOrsnZQXnLTsjMi6qeid4gHglC0eGsP3wpuMJRoQ4doYm2as3hdktLwWqeUekbQ5QKH Xc0/iS7YVa8C4P2se/NsYCHKSsIkfl2LSFpOCXHEeNshbWugA4FZZvQL1mJHXre+b837 oLHr4MOGtgPmd+owO1jwZo5sfYZaxs+WSEmOki5UpACoyRCfe0V0PExreVIp0EbCG04l 7s9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hjPm5iDy; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p27si8933756edi.485.2021.08.06.01.20.22; Fri, 06 Aug 2021 01:20:22 -0700 (PDT) Received-SPF: pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hjPm5iDy; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243536AbhHFIUf (ORCPT <rfc822;semen.protsenko@linaro.org> + 12 others); Fri, 6 Aug 2021 04:20:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:50684 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243725AbhHFITn (ORCPT <rfc822;stable@vger.kernel.org>); Fri, 6 Aug 2021 04:19:43 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5FB61611C9; Fri, 6 Aug 2021 08:19:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1628237967; bh=M7pAnftMKUCRIxOpK5wdnlnvAQSiHACpEAV+cSxhRhU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hjPm5iDylX3bWJf5+V0jjDODvQ18h5J5vo9ZiespHlflBhQEhio0wBQtZegdS/A45 DmngZoK3syE/gF4dYPu6uSd2TqNKd/3tK6QkgclLLkC9ww0P07kaBtb0sowPAj/anD FyrXFRbdQ4ASR4MY2Vjx1QtyY4t+he7otbVUUaPU= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= <u.kleine-koenig@pengutronix.de>, Cristian Marussi <cristian.marussi@arm.com>, Sudeep Holla <sudeep.holla@arm.com> Subject: [PATCH 5.10 22/30] firmware: arm_scmi: Ensure drivers provide a probe function Date: Fri, 6 Aug 2021 10:17:00 +0200 Message-Id: <20210806081113.880138462@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210806081113.126861800@linuxfoundation.org> References: <20210806081113.126861800@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
--- a/drivers/firmware/arm_scmi/bus.c +++ b/drivers/firmware/arm_scmi/bus.c @@ -113,6 +113,9 @@ int scmi_driver_register(struct scmi_dri { int retval; + if (!driver->probe) + return -EINVAL; + driver->driver.bus = &scmi_bus_type; driver->driver.name = driver->name; driver->driver.owner = owner;