From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 58252C48BE5 for ; Tue, 15 Jun 2021 16:09:37 +0000 (UTC) Received: from bombadil.infradead.org (unknown [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 18FC361476 for ; Tue, 15 Jun 2021 16:09:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 18FC361476 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3cjhdehwrR6hR1QECdwXlS8o3XVU3A8ikZFomcsjKHQ=; b=L+T4/fGZlbi/Rd LRxJFIEQSOCp2QP9uApurL43q/p4WDVTempvCYvJ83rQ4pjwdbzpSxwMtibZdMcHxUoy1t3ZyYZ2k sh4uCgwi3g8gjrGvgDETo80MxlB1ZMa32uDrDpgEQmfn0INuovL8rmhfiHdw0PoeOoteuJEs8WNVK 1+0HCoTfbDtsrASG+/SW2YMILOlZtHRc407HKgg24Dqv2+QJPP7tGnAR22YGBlVzimLUVKDnJx1+P bEUe7xIPxdx+qAh3RVI1h8zFyb6hEUwPSVJyfIs0LkvWJG7G3caFjCqowK/aUe0LJ3UpTNEfjnP3u uvXRKOpAZJUardyRTxSw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ltBWZ-001CAi-3A; Tue, 15 Jun 2021 16:02:47 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lt9N1-000DwX-Lh for linux-arm-kernel@bombadil.infradead.org; Tue, 15 Jun 2021 13:44:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=fJYii850KTFtEGxTHO59JWrZIaXAVHaRTNmPAb8kLfA=; b=H+mW/4eLlZEi3Wn185HU6DzFzi SLVa5SaAN5VFgXaJIeAD0GDSWW8CX8JFHlxnr9ws5/oLppfhp8n+aNYPSYo11a3mCQ4nXrqYG/vY1 knLUk9xz6SGz43l8BPtWR5w10hh2aLRjn4wr2DyTlcAF5+K8iuYW97v2qeozLvFTVKBoGLS54mIOj U1ojZSyVn+4U8ZeNKSW3NXhGckStwcym7wLMEuREPSai3ujeaHjthzZy6kAiMWA57XWYhhYnsR4hG lBMEOs9P/5lRVwcoeD5s8DFtQo8DNwcJWtwc65K2oHgo/+Son5y6gubYMDSw4RcKNwQKsxY1j//sj NM/nKoiQ==; Received: from mail.kernel.org ([198.145.29.99]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lt15W-007Lbq-Hx for linux-arm-kernel@lists.infradead.org; Tue, 15 Jun 2021 04:54:19 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2F8736140C; Tue, 15 Jun 2021 04:54:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1623732855; bh=Hy47A6sDeDK5g7Q5O8jSY970MU9+ZwCkDct4y1d2MOQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=c5luMNlXN45gsnjoT7ZAEHeSo4zvFcWP9bbHYPHa2DXxgXuwPtyM+U/2Oawme604d QCsuyDD/R9ZHrHa66qMInzV4pFn0ia7wc2Q5fOejGauo5+FoDRWgONUTfJWFmi4Bhr FB5C3UysQ1jKKZABMCKKcgh4gkX2frG+MQkR/tdM= Date: Tue, 15 Jun 2021 06:54:12 +0200 From: Greg KH To: Siddharth Gupta Cc: bjorn.andersson@linaro.org, ohad@wizery.com, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, psodagud@codeaurora.org, stable@vger.kernel.org Subject: Re: [PATCH v3 2/4] remoteproc: core: Move validate before device add Message-ID: References: <1623723671-5517-1-git-send-email-sidgup@codeaurora.org> <1623723671-5517-3-git-send-email-sidgup@codeaurora.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1623723671-5517-3-git-send-email-sidgup@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210615_055417_587383_0B19500E X-CRM114-Status: GOOD ( 11.87 ) 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 Mon, Jun 14, 2021 at 07:21:09PM -0700, Siddharth Gupta wrote: > We can validate whether the remoteproc is correctly setup before > making the cdev_add and device_add calls. This saves us the > trouble of cleaning up later on. > > Signed-off-by: Siddharth Gupta > Reviewed-by: Bjorn Andersson > --- > drivers/remoteproc/remoteproc_core.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for how to do this properly. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel