Received: by 10.223.164.202 with SMTP id h10csp4107602wrb; Wed, 29 Nov 2017 00:45:25 -0800 (PST) X-Google-Smtp-Source: AGs4zMZJibHFthENKyhsTntiHv3RpXsw4tRXBElPTZSxAU6o5oF7v/9Rl8qMa19uHauMxElFp/9c X-Received: by 10.101.65.74 with SMTP id x10mr2057466pgp.388.1511945124973; Wed, 29 Nov 2017 00:45:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511945124; cv=none; d=google.com; s=arc-20160816; b=hoI3GapeJkF9j4lbHLhWBlX+cJLbj6EEYd47s0W9oBlp2so16aK59VWcO+soEG3PRW WFK0myYLXQf6zZwJA+Mr74N+gdMeeuk+TbpnWeFDGFdiQ7cdBY4GkjabbU+p/rDarc4M uEQIJPSAQ32q7gMY36+yHjkkPgWlQM7lpeUoddGX0eQvjNPWPHwXXCTCFkgzXQzylVOy R5DeIisj8S68vUEy4sTFpg5uMvkD2AFh+Q4tBlkuSYcHaxpS2hFxFiJnHU6awOzPdFEz oNJRz8/FevWRpNwtxRj9xqblyUTBe73eL4t/NCvSTBeAdavztFYCHk0vIqYPpzacgNZI 7g/w== 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:organization:from:references:cc:to:subject :arc-authentication-results; bh=vMB4yUsN/tr/cmSct9PUM8Ah1tW2pyQsjkXjWMvWBmA=; b=iRiPFabtfWOWTbGchHLEZPy/5ye659TJXKsOIVzllgDRDK5TA32X0thwl3ciaA++ZF Ib9lF+lEwjB6pIeM/0E83isp72KwfVbLQxlmKR/b4keFsB8v0tILt0HHU7ddJwROAG3L 69Xtzz9FUQu69ls6/5hRblYayfKPwEGhKZsXOlMtt3ybqcHPUp5XCS1Jo1UJvu5xcbvx IC7cx9eOQU1eh7eyEzpmKHKIAUpXwqZK3mSzOLVlkwbo1cydOkcgswv040BUla1Z/Tuo T5lILoNJBO8mCB38mobDrooUd/NOBv9eDa3kBfcR+OLYOKrwwknOIlQMFo0T848+Wm74 L1pQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o15si943426pgn.458.2017.11.29.00.45.14; Wed, 29 Nov 2017 00:45:24 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753585AbdK2InL (ORCPT + 71 others); Wed, 29 Nov 2017 03:43:11 -0500 Received: from esa1.microchip.iphmx.com ([68.232.147.91]:24994 "EHLO esa1.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751943AbdK2InK (ORCPT ); Wed, 29 Nov 2017 03:43:10 -0500 X-IronPort-AV: E=Sophos;i="5.44,472,1505804400"; d="scan'208";a="9718757" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 29 Nov 2017 01:43:09 -0700 Received: from [170.129.234.128] (10.10.76.4) by chn-sv-exch06.mchp-main.com (10.10.76.107) with Microsoft SMTP Server id 14.3.352.0; Wed, 29 Nov 2017 01:43:08 -0700 Subject: Re: linux-next: Signed-off-by missing for commits in the staging tree To: Greg KH , Stephen Rothwell CC: Linux-Next Mailing List , Linux Kernel Mailing List , Andrey Shvetsov References: <20171128081651.71a2e92a@canb.auug.org.au> <20171128194139.GA2653@kroah.com> From: Christian Gromm Organization: Microchip Message-ID: Date: Wed, 29 Nov 2017 09:44:44 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171128194139.GA2653@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 On 28.11.2017 20:41, Greg KH wrote: > On Tue, Nov 28, 2017 at 08:16:51AM +1100, Stephen Rothwell wrote: >> Hi Greg, >> >> Commits >> >> 2525ef557c73 ("staging: most: update driver usage file") >> e7e3ce04588c ("staging: most: core: fix list traversing") >> >> are missing a Signed-off-by from their author. > > Ugh, I missed that. Christian, please be more careful. > Hmm, am I missing something here? I have it in. Here are copies of the patches in question and both have a "Signed-off-by" line in. ---snip--- Received: from muaddib.microchip.com (10.10.76.4) by chn-sv-exch05.mchp-main.com (10.10.76.106) with Microsoft SMTP Server id 14.3.352.0; Tue, 21 Nov 2017 07:05:31 -0700 From: Christian Gromm To: gregkh@linuxfoundation.org CC: driverdev-devel@linuxdriverproject.org, Andrey Shvetsov , Christian Gromm Subject: [PATCH 48/50] staging: most: core: fix list traversing Date: Tue, 21 Nov 2017 15:05:22 +0100 Message-ID: <1511273124-7840-49-git-send-email-christian.gromm@microchip.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511273124-7840-1-git-send-email-christian.gromm@microchip.com> References: <1511273124-7840-1-git-send-email-christian.gromm@microchip.com> Content-Type: text/plain Return-Path: christian.gromm@microchip.com X-MS-Exchange-Organization-AuthSource: CHN-SV-EXCH05.mchp-main.com X-MS-Exchange-Organization-AuthAs: Internal X-MS-Exchange-Organization-AuthMechanism: 10 X-MS-Exchange-Organization-AVStamp-Mailbox: SYMANTEC;628359232;0;info MIME-Version: 1.0 From: Andrey Shvetsov This patch fixes the offset and data handling when traversing the list of devices that are attached to the bus. Signed-off-by: Christian Gromm --- drivers/staging/most/core.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/drivers/staging/most/core.c b/drivers/staging/most/core.c index d03ff97..9729206 100644 --- a/drivers/staging/most/core.c +++ b/drivers/staging/most/core.c @@ -535,10 +535,16 @@ static struct core_component *match_component(char *name) return NULL; } +struct show_links_data { + int offs; + char *buf; +}; + int print_links(struct device *dev, void *data) { - int offs = 0; - char *buf = data; + struct show_links_data *d = data; + int offs = d->offs; + char *buf = d->buf; struct most_channel *c; struct most_interface *iface = to_most_interface(dev); @@ -560,13 +566,16 @@ int print_links(struct device *dev, void *data) dev_name(&c->dev)); } } + d->offs = offs; return 0; } static ssize_t links_show(struct device_driver *drv, char *buf) { - bus_for_each_dev(&mc.bus, NULL, buf, print_links); - return strlen(buf); + struct show_links_data d = { .buf = buf }; + + bus_for_each_dev(&mc.bus, NULL, &d, print_links); + return d.offs; } static ssize_t components_show(struct device_driver *drv, char *buf) -- 2.7.4 and Received: from muaddib.microchip.com (10.10.76.4) by chn-sv-exch05.mchp-main.com (10.10.76.106) with Microsoft SMTP Server id 14.3.352.0; Tue, 21 Nov 2017 07:05:26 -0700 From: Christian Gromm To: gregkh@linuxfoundation.org CC: driverdev-devel@linuxdriverproject.org, Andrey Shvetsov , Christian Gromm Subject: [PATCH 44/50] staging: most: update driver usage file Date: Tue, 21 Nov 2017 15:05:18 +0100 Message-ID: <1511273124-7840-45-git-send-email-christian.gromm@microchip.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511273124-7840-1-git-send-email-christian.gromm@microchip.com> References: <1511273124-7840-1-git-send-email-christian.gromm@microchip.com> Content-Type: text/plain Return-Path: christian.gromm@microchip.com X-MS-Exchange-Organization-AuthSource: CHN-SV-EXCH05.mchp-main.com X-MS-Exchange-Organization-AuthAs: Internal X-MS-Exchange-Organization-AuthMechanism: 10 X-MS-Exchange-Organization-AVStamp-Mailbox: SYMANTEC;628359232;0;info MIME-Version: 1.0 From: Andrey Shvetsov This patch keeps the usage file up to date. Signed-off-by: Christian Gromm --- .../staging/most/Documentation/driver_usage.txt | 192 +++++++++++---------- 1 file changed, 105 insertions(+), 87 deletions(-) diff --git a/drivers/staging/most/Documentation/driver_usage.txt b/drivers/staging/most/Documentation/driver_usage.txt index a4dc0c3..bb9b4e8 100644 --- a/drivers/staging/most/Documentation/driver_usage.txt +++ b/drivers/staging/most/Documentation/driver_usage.txt @@ -23,20 +23,29 @@ audio/video streaming. Therefore, the driver perfectly fits to the mission of Automotive Grade Linux to create open source software solutions for automotive applications. -The driver consists basically of three layers. The hardware layer, the -core layer and the application layer. The core layer consists of the core -module only. This module handles the communication flow through all three -layers, the configuration of the driver, the configuration interface -representation in sysfs, and the buffer management. -For each of the other two layers a selection of modules is provided. These -modules can arbitrarily be combined to meet the needs of the desired -system architecture. A module of the hardware layer is referred to as an -HDM (hardware dependent module). Each module of this layer handles exactly -one of the peripheral interfaces of a network interface controller (e.g. -USB, MediaLB, I2C). A module of the application layer is referred to as an -AIM (application interfacing module). The modules of this layer give access -to MOST via one the following ways: character devices, ALSA, Networking or .......... regards, Chris > I need to set up a git hook for this :( > > greg k-h > From 1585357545938745890@xxx Wed Nov 29 00:19:33 +0000 2017 X-GM-THRID: 1585255511557675077 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread