Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5615125ybi; Tue, 28 May 2019 16:26:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqyUYeF0nANIR2nuMZ2YxWx6Hd8zI0+7QEw8y4egza/DMXu+iwltWiwv9Pn6H9sXdv8KpJ3a X-Received: by 2002:a17:90a:de14:: with SMTP id m20mr8617855pjv.36.1559085994708; Tue, 28 May 2019 16:26:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559085994; cv=none; d=google.com; s=arc-20160816; b=fY0sPVa9Eg4g1TllIwuFPfSO0gxdvJUEHsTi2poKh4FRd+I2w252NnrK3xcITGipoe n07warhPPpbNos2nTBsZbLYkjB0Uya4C9m4tJre5R3J/lvOK0cf8h13Y7YnmbhlMdzpM NbQ9iWfRLM8R4qc4nhsApnP21JDTgpGQXmh7uQA+/Rsi6tVlRE6/K0RwHzcqnRPJxZcY gZwFZMkL1mqKdIqj30yC6Qyy/B5jKZMGWOSR/6b5SV3aROVgNiD2ii0pazmmVxZMuXv3 QhRoywXbADXq85W66YOoID66qZrhj4K6itEV0S1CIFQv6K/8rOAWkPpaTEYzwCZWBcR0 2zDw== 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=Av1wszfImBPL+D5w7tdPNHcGO/vaxjZ9coPprsDaLXY=; b=0vF1r8fNxgOR/Klsib0mS0qo1oWGhdBv0FnD6N1EmqNiio/MuYE/n63MavLGfllXmq XgaxoZoHJHnpyYUw1ogvC44qSeSVNxyLTxHE60hyoDDFtOcVSWxlNgD2j6+VLTjxN6qg 5spwWaiGKwy7icSBps8ABrJfxkgdZoO/3UebEDzPsPabySiuMCM/kmYcFXpSWt2mObdo HVH8IovmPyICs7zdAjE0RyeLgQLuaw7Nn7COyRYbmEaRi2jW6A+0psRtT70IHk+8avV6 Saca/NXQmWgDyow2wkEMCZgG3NqgEPp7j9AOls4Qq62xUs3y/i1MUfgnPDCUmMNOeMR3 h5aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cLpx3nCW; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u21si23598072pga.151.2019.05.28.16.26.19; Tue, 28 May 2019 16:26:34 -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=cLpx3nCW; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726831AbfE1XYB (ORCPT + 99 others); Tue, 28 May 2019 19:24:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:60666 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726506AbfE1XYB (ORCPT ); Tue, 28 May 2019 19:24:01 -0400 Received: from localhost (ip67-88-213-2.z213-88-67.customer.algx.net [67.88.213.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BC18C20B1F; Tue, 28 May 2019 23:24:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1559085840; bh=cjihyfNS4yCB2h/Z4NzAtgFe9LPb9n/+Q0q+iL6WSXQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cLpx3nCWUeMZyl1eVXl6udKfNsH8FmhlZZT/cXaMR2pc1o6lIagaM3Lj3qch/Ar1M xA4yTgNkGZj78ynLOWPdHHpPyZ0YzDQ3NAH+G70otMatrG0GnClmgYoX5YSb4wLIpk ant71oq3pIv8415gvM8x6l5E44ZtKgvrwOvBQvWs= Date: Tue, 28 May 2019 16:24:00 -0700 From: Greg KH To: richard.gong@linux.intel.com 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 Subject: Re: [PATCHv4 2/4] firmware: add Intel Stratix10 remote system update driver Message-ID: <20190528232400.GB29225@kroah.com> References: <1559074833-1325-1-git-send-email-richard.gong@linux.intel.com> <1559074833-1325-3-git-send-email-richard.gong@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1559074833-1325-3-git-send-email-richard.gong@linux.intel.com> User-Agent: Mutt/1.12.0 (2019-05-25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? thanks, greg k-h