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=-6.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 DFEE7C433E1 for ; Thu, 28 May 2020 19:26:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C32B6208A7 for ; Thu, 28 May 2020 19:26:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="nK+TRML4" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406296AbgE1T01 (ORCPT ); Thu, 28 May 2020 15:26:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406276AbgE1T00 (ORCPT ); Thu, 28 May 2020 15:26:26 -0400 Received: from mail-il1-x143.google.com (mail-il1-x143.google.com [IPv6:2607:f8b0:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46733C08C5C6 for ; Thu, 28 May 2020 12:26:26 -0700 (PDT) Received: by mail-il1-x143.google.com with SMTP id h3so1376570ilh.13 for ; Thu, 28 May 2020 12:26:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kZijaWGRwFYPgwZsXuw5DjnfYktdp3O/hEKFM6I48YM=; b=nK+TRML4DL+pCrN2GvYIvhh52ADr4WP6GzV7WCGn741Q/l0gqjhIWvp9UGIbvh/RM4 gRePKb4MK6+ufROPVyHTzALz9ljEna3lsWZVgPvSBHLAukKxo+kwle/gw977RWClKzcU P0qn5UrYGtEoOOH8In++FHZlG6ftt8imq+jdYqDjjK6cTULG2ov2mh7OKCTRv/8kgGFa gaBFGQ13ldYY64QPd7N+2BRNhefZa7hDxgrn/q+v/ObP9ZRrKsWdz/ZVG0SsgFCO7C9H 5DWliReVZUTYT1nCLzBGbScrT5Qnbd6SQPiAL6kdZlo1qUA6NEqR+/kSIN1fUyI4r4NF 0fgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kZijaWGRwFYPgwZsXuw5DjnfYktdp3O/hEKFM6I48YM=; b=jUSANb1SV2H6jn7hIxPhH02+8H/sXfmTnsu+bIMSEiL9BUfoXpSodGNSTQMTZHpZ/2 Thzdi8gV0SpmOzXL0PN9Vt4MKEP0JXuGLxc46AKfcGaJ9gHp45RexAxcWkHBcPsoxv7u pjGIMk53bz61KUM7nPUH6LKRVGml+xIjx6MAYlgN5dn2xtYw5lLREcWDaX9gPnLfOzQs DT9UfAq9VzGHE8BqW9elFYhkF981KB6CKJBs6F9zD5Ou93DohEAfeehGN3ae1mTxZVp1 mddGbSKayWE8yyh/PcaumvfQtm3tZ2Ll49MPDFZGvOnR5PA3gl4QgHOLDz3HJUudtYh2 Rs2Q== X-Gm-Message-State: AOAM530bYqRHolbw50+QMiThFKAKaL+G8FQoSr4TrqMcasKmxLrWPIPy EAyhBZObvdTntCpisy1qW6sIdyeXOzJ8vKI91vkluw== X-Google-Smtp-Source: ABdhPJztYWYQUmPTUmXiwY86vNCEzII8ShazbcVR75X4IuSa/Jau0J6oZX7FJaGoAiRrCKDikKNk361RF38Rp2RZpCA= X-Received: by 2002:a92:89cf:: with SMTP id w76mr4134728ilk.57.1590693985637; Thu, 28 May 2020 12:26:25 -0700 (PDT) MIME-Version: 1.0 References: <20200527180541.5570-1-guennadi.liakhovetski@linux.intel.com> <20200527180541.5570-5-guennadi.liakhovetski@linux.intel.com> In-Reply-To: <20200527180541.5570-5-guennadi.liakhovetski@linux.intel.com> From: Mathieu Poirier Date: Thu, 28 May 2020 13:26:14 -0600 Message-ID: Subject: Re: [PATCH v3 4/5] rpmsg: update documentation To: Guennadi Liakhovetski Cc: kvm@vger.kernel.org, linux-remoteproc , virtualization@lists.linux-foundation.org, sound-open-firmware@alsa-project.org, Pierre-Louis Bossart , Liam Girdwood , "Michael S. Tsirkin" , Jason Wang , Ohad Ben-Cohen , Bjorn Andersson Content-Type: text/plain; charset="UTF-8" Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org On Wed, 27 May 2020 at 12:05, Guennadi Liakhovetski wrote: > > rpmsg_create_ept() takes struct rpmsg_channel_info chinfo as its last > argument, not a u32 value. The first two arguments are also updated. > > Signed-off-by: Guennadi Liakhovetski > --- > Documentation/rpmsg.txt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/Documentation/rpmsg.txt b/Documentation/rpmsg.txt > index 24b7a9e..1ce353c 100644 > --- a/Documentation/rpmsg.txt > +++ b/Documentation/rpmsg.txt > @@ -192,9 +192,9 @@ Returns 0 on success and an appropriate error value on failure. > > :: > > - struct rpmsg_endpoint *rpmsg_create_ept(struct rpmsg_channel *rpdev, > - void (*cb)(struct rpmsg_channel *, void *, int, void *, u32), > - void *priv, u32 addr); > + struct rpmsg_endpoint *rpmsg_create_ept(struct rpmsg_device *rpdev, > + rpmsg_rx_cb_t cb, void *priv, > + struct rpmsg_channel_info chinfo); > Reviewed-by: Mathieu Poirier > every rpmsg address in the system is bound to an rx callback (so when > inbound messages arrive, they are dispatched by the rpmsg bus using the > -- > 1.9.3 >