Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6451746ybi; Wed, 29 May 2019 08:03:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqwQa9q8576FaKC0VxRy8q3XvcfpG6t37LmrLC7nPi5CLJlJ4QYNtdztbTpgHpUibkU5oCwk X-Received: by 2002:a17:902:e490:: with SMTP id cj16mr27288309plb.136.1559142200608; Wed, 29 May 2019 08:03:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559142200; cv=none; d=google.com; s=arc-20160816; b=wYAeUOUN4eCHnQ4PO3f5m2iOHHYWyrkRfo2arMh4eKOsX0dCHEnFqWXtIEJN5NJWKP FbWvI5jnXJeLutP6jGZ9qtI9mcTjJZV7OHDpP9Du4ZUwfC63qbUtxOS5LL5Gxfl3Cgsr Mq+1n5ONNoUbOfC95GkEwycdpGnwRmH+joso51HHZF5dtTQMETahiUyTDBHmRG9+ZsY5 lHY5q53NZYNchjqxi1xc6jKDiilqjCDaJYjl4B5aRsPdyt/O/U41dDU4OFCSbckQgPYW rb6rL3X5MPDawEFqE/CIlQ/ARZVm0xer3j2uDcjcyht/txlIjNXHNgzbUGTdb3USISwb LY9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=E0WMMMM28eR57caW2YAxDFxyNSm56cgwHrPS1sIxmzw=; b=1AQJdq3L3F5UkQ11Mk+AQ5IgRnfgKxnP/lcShcLro6XYlH7WmpUW4RxY62UsTZQyK6 5M1rOiwqnClbPxmqrllibG4FU+Xvt90Xp9yXnW+s3Ner3S2JycwSUqxGyLsKnS9iM4Fi BTY1kpq+DBuYyzTO/4T7PWBUBGYSmV9WpvKsCyhQGOYpkiGamHcQ/u4jNZ0i46hNAAzu /bkpLKRj34cwkKdbTFes6Y9lhUgIw0UEEOsfaI4etQbTn74UWMrrUyyXA2O6G34fom8s SGRKIGi/6jIfthdRz9QZnTA3EmBbTBJDlxxSkUIIsYsjxtAt3J9P2cmvpPqdVnFJvgOc 003g== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f3si25255712pln.263.2019.05.29.08.03.00; Wed, 29 May 2019 08:03:20 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726518AbfE2O77 (ORCPT + 99 others); Wed, 29 May 2019 10:59:59 -0400 Received: from mga05.intel.com ([192.55.52.43]:42541 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726069AbfE2O77 (ORCPT ); Wed, 29 May 2019 10:59:59 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 May 2019 07:59:58 -0700 X-ExtLoop1: 1 Received: from marshy.an.intel.com (HELO [10.122.105.159]) ([10.122.105.159]) by fmsmga004.fm.intel.com with ESMTP; 29 May 2019 07:59:58 -0700 Subject: Re: [PATCHv4 2/4] firmware: add Intel Stratix10 remote system update driver To: Greg KH Cc: robh+dt@kernel.org, mark.rutland@arm.com, dinguyen@kernel.org, atull@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, sen.li@intel.com, Richard Gong References: <1559074833-1325-1-git-send-email-richard.gong@linux.intel.com> <1559074833-1325-3-git-send-email-richard.gong@linux.intel.com> <20190528232400.GB29225@kroah.com> From: Richard Gong Message-ID: Date: Wed, 29 May 2019 10:12:22 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190528232400.GB29225@kroah.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Greg, On 5/28/19 6:24 PM, Greg KH wrote: > On Tue, May 28, 2019 at 03:20:31PM -0500, richard.gong@linux.intel.com wrote: >> +static int rsu_send_msg(struct stratix10_rsu_priv *priv, >> + enum stratix10_svc_command_code command, >> + unsigned long arg, >> + void (*callback)(struct stratix10_svc_client *client, >> + struct stratix10_svc_cb_data *data)) > > Odd indentation for arg, and then callback. > > Why isn't callback a typedef to make this simpler to use? > I will make correction in the next submission. > thanks, > > greg k-h > Regards, Richard