Message ID | 20210806081112.658666445@linuxfoundation.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6638:396:0:0:0:0 with SMTP id y22csp88740jap; Fri, 6 Aug 2021 01:18:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyeNwLuAgjUOikhMjHyL9wIZDJBHQJcU3o/jCfMa3ES1nu4IWP/hqPy1OW987QI+zBW91Or X-Received: by 2002:a92:8747:: with SMTP id d7mr433966ilm.173.1628237927981; Fri, 06 Aug 2021 01:18:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628237927; cv=none; d=google.com; s=arc-20160816; b=CRFDeuKPETC6fsgQy8EjaVB/kH+w1mC1+jioctRf/Yb8DHWFm4nE635RaMBIKnzDr7 uh8hljJzgPs1TVhvjNFe4RnGgU7qy6FG6pyV+eOMty5QIunu/rmbg+8XnT83ORYOssu3 zJg+vwpOxCkYfMW2mkLYKB/UL7EKe+VbXmHnZWh6y03fOzOEwOiFs75r768pWau5Xtdt EJ7b5Yw60x7QQIY+1A1L36PAQ9Lm64riJRzRtccAVYC7/N3nj183tSihsTOb3Kmsi5EP egrskFaZtuvsDFpO76JZ5SYIbFmxyUa9u1glxLN05RBLj9nZ7pmp/XNz/gidAn7tZyaE 1CzQ== 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=7YOvKhCSEbZNmS1eBXiBMmWnmq73o6qaPnkMV9e6veQ=; b=wBNmrkB8EIQ7fGr8emtF6nUz7rFarIcyU/BkhG767sJ6fBmbe6lJ1Y/eitQmiktUfh Yed4dJ1Ed8uLhLOVndKXNkDtS998x06D1vyj5tpYEk2m8uvDHK5ZNownPWYYSKFA/xUN R/B/OaUyXbbv8r1FlH9hXbjZSI8jL9CXrSggXJU0trQP/Gy6vjQMhmgYEezI0M45RA3k wFvMtK9AS7XOyEmAFNEXRTkdQK/48fS/EjzXO8SLDyeHHfvS8PRHIGvM8v5PXvRiDw/D SsaULlycXTYFHujpD/P5UT7ZMZaHTKzxVpEUikVac+S/s1PNOmfZSbuY3Qx/YqxGDyEG BBHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="pPWxxTB/"; 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 b138si6839268iof.84.2021.08.06.01.18.47; Fri, 06 Aug 2021 01:18:47 -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="pPWxxTB/"; 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 S241348AbhHFITB (ORCPT <rfc822;semen.protsenko@linaro.org> + 12 others); Fri, 6 Aug 2021 04:19:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:45966 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243918AbhHFISD (ORCPT <rfc822;stable@vger.kernel.org>); Fri, 6 Aug 2021 04:18:03 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8306B611B0; Fri, 6 Aug 2021 08:17:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1628237868; bh=LGdwMPGAArhAr7M+aDTGi+jhjUT4W9+pivQr2HyCql0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pPWxxTB/7z7Dpe7xWl8PW+fgTUJ+1TdTTO3nyTBoc7pO1kj74y9MwI2+vZ7NJtz2O MzDPdzYvbQK1ehouHb92zCniuj5QSzBTXNwm0G4nfH2HtBEM+KO+rNg6kMVWH3cbW8 ca9lgacC1Jk+kg2ByGaJjYlrmdcQvrRgkV48Q/t0= 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.4 15/23] firmware: arm_scmi: Ensure drivers provide a probe function Date: Fri, 6 Aug 2021 10:16:47 +0200 Message-Id: <20210806081112.658666445@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210806081112.104686873@linuxfoundation.org> References: <20210806081112.104686873@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 @@ -100,6 +100,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;