Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4521261ybp; Mon, 14 Oct 2019 06:05:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqw5ildEbaDyQg0HBWv4vV+T5JmqfJHxRxhjCCo9AvZTZZ9Iw6oeXdHEdBWoZnc2DnJy2VRH X-Received: by 2002:a05:600c:2481:: with SMTP id 1mr14320486wms.98.1571058310175; Mon, 14 Oct 2019 06:05:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571058310; cv=none; d=google.com; s=arc-20160816; b=yBTjUvEyg7tJsTbJpHTR0W1wZS7i2qQVJ/sGd24q+JkSL5CC6RykCVQ3FMfCVtBs56 6T/0AzykfoeLw7+RkAnN4qNAryUkxKViYP2nawfmrH0ttH7Q1gQ8UMV80zZYPp9XRpag 72xnqJ2yzF6Ri473V8h3YZ2egG+E2kkr9iHCqC9Q+ZaQjyTGTJSXd6v0E9FssSMGR42c W4fAdU6+WiyRcR6L+dloXg2wnLnWZh0P8I8QBAmF5oij3Yf9qfiKWA0hGGNW1RfZdtKh SZmw3Sll28h7ErFkG07v9SFDmMi3sQHMGPWhCxK/ysHdc5u6wfRr5/3KJ4J5kPWIvSLh yh0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=iD89kJ94jgFG+gf8+6ub4v5yBfM0Nvi8szIxYbQfpqk=; b=TakZQgwyrAfr/rcwgp8decXHY4guBzbHNbNwt6WMzIS98UjYJLmtaLLFX9zDfJLXux jey0slTSpqWr4GernP7q+3C0P/608sCJfY2WZj0Bi6X2XBP5GBcfXwDIN/n6Xa24axIu QCZ5y1iHWO8WGUv06JMLbthGZkPwW9xNYlG70uGw0LSTdqLz7hJNeGGir6blZXX/2KsT 2765e0xMT8gbQMxSa1Jmx24VDZhTpiTc6ew+81B4B7w2BewuggqxDKilQCS5WbD/ONVW 21cNGUStTY91gVTMSxVBtYNNLEn97/CKkykM7QvhXx02p3tKhtA+SznUkjB6c19FXVNh qUIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XYn4a3db; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i9si11210152ejy.106.2019.10.14.06.04.46; Mon, 14 Oct 2019 06:05:10 -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=@kernel.org header.s=default header.b=XYn4a3db; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731271AbfJNMtI (ORCPT + 99 others); Mon, 14 Oct 2019 08:49:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:54384 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731092AbfJNMtI (ORCPT ); Mon, 14 Oct 2019 08:49:08 -0400 Received: from dragon (li937-157.members.linode.com [45.56.119.157]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2ACAA20673; Mon, 14 Oct 2019 12:49:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571057348; bh=Mv+8RO/f9Lckl8079OLG7AxGYv4LcZhS1BTN4z7pAHo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XYn4a3dbfskzkrK+eqCKKlfM4wJxeu4Xrk1wI3mV16iOpq5BueEQiQj5oE0N6Ele3 O99IGZZ9048NUm3wrvuTdSypEyHjHfR5dEfzEQtIQSPS/cjsVgkaXmu8T9CF+ZjRBo u2JudmZ+VpmnYmUHgQrkIi4fQVRkunQYxHEpPXVg= Date: Mon, 14 Oct 2019 20:48:51 +0800 From: Shawn Guo To: Anson Huang Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, aisheng.dong@nxp.com, leonard.crestez@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linux-imx@nxp.com Subject: Re: [PATCH V2] firmware: imx: Skip return value check for some special SCU firmware APIs Message-ID: <20191014124849.GR12262@dragon> References: <1570410959-32563-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1570410959-32563-1-git-send-email-Anson.Huang@nxp.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 07, 2019 at 09:15:59AM +0800, Anson Huang wrote: > The SCU firmware does NOT always have return value stored in message > header's function element even the API has response data, those special > APIs are defined as void function in SCU firmware, so they should be > treated as return success always. > > Signed-off-by: Anson Huang Applied, thanks.