Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3251771imm; Sun, 13 May 2018 07:24:06 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrV6xsumbFHrTQ/A36bszE2X+/OA9qpGfkhH8z9cWvsRSrrpDMpw2ReqWr50yv4zHofaw89 X-Received: by 2002:a17:902:2d24:: with SMTP id o33-v6mr6183902plb.14.1526221446105; Sun, 13 May 2018 07:24:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526221446; cv=none; d=google.com; s=arc-20160816; b=ncTfVGNu5b4yf3N1TDzi834NKJU9e6YRR8N+3WZOnoAJJmpl8Cb8JtrrTRQ5+dG6j8 HKjXupMhkd6WknmIYW+LrZSet2c3tc3zGFGw8ClGKcNImoJ/gh7jyf62B8Xu6xBegCNe lX3jHSVczyNPuR8MGOj/P0cxXxeIs8SDBZrd/N21StGpnu0mTLmTmo+d00bkd6rwyvu+ 6cK8Z6qnmrHXyeMMOyd3E3WQ3Y6fyE2fRs2V8B1Vy/wkbsiCjrnp1DGYq8ij3y7GzLDT 2AK4AAcfIMhzCl75nC9YO9aZXWbP5R6+jWjmsXpzePKBFn4KRa7qVyeA/X4cPhV/ORJ7 v1Mg== 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:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=i84S50ycBDgm+VhmjPYTp+Ubik6CgkxfQ20Z/ziQi1U=; b=Ua3gt0IvHaC1R/6oda4mc5dtwZ4NNEsiuUgoKhd6Gy0U1My8lZpnihXX0ewQ6ZTdNM WbKeGYnij3g7Uwdk/eT1susNYamE8qbM/c9gtdz9YCoKSJUPKq//VjAwGDKPkDjl0tlC 1L4UrsKbGMdeNwmBX09TYmLM7OjNMZiRO2ofEjuUvrLZaoLioadC5MfO16VaZHR20AAY NTnHT0zkedKNxZPfVjsMUkuZl9m9YJfHd2f5GnGLE50JBTiMSsDXFGt/q4igwLzhnnTH d3hi8VmhFsiP8RAHgiSyB3bvVJEfazr3MxpxhCRwFLmxEVjLZ5mtwsFCkX7n3N6Z1UK5 nUwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hU6g18w5; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e9-v6si7709684pli.576.2018.05.13.07.23.51; Sun, 13 May 2018 07:24:06 -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=@gmail.com header.s=20161025 header.b=hU6g18w5; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751638AbeEMOXh (ORCPT + 99 others); Sun, 13 May 2018 10:23:37 -0400 Received: from mail-qk0-f195.google.com ([209.85.220.195]:36778 "EHLO mail-qk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751270AbeEMOXf (ORCPT ); Sun, 13 May 2018 10:23:35 -0400 Received: by mail-qk0-f195.google.com with SMTP id l132-v6so8051936qke.3; Sun, 13 May 2018 07:23:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=i84S50ycBDgm+VhmjPYTp+Ubik6CgkxfQ20Z/ziQi1U=; b=hU6g18w5iRscdWBtJLykJ0y0/9e8wy9/a5kcDy6skd2K6TzOxIepfP+cZMRV1eUkir bwD3SGxwpiT0fphrxFUQpsvUAnODeGr97rgZqQRxXaS7zux6+AsCMbAdcfCCBN/VMYDf pL35+pZY7ANgK+myiT5PEhRZVqr3SXAAh0RpgbDzb1vQBABJVggLZUdHq0iezsDXTcsz o9GpD8N0HgxsJ0yPzcygA7k2gCwLSDktlRt2YVgziHMVbpwnVvrquKtQHYiI7uEDVB8z hBLNQXFloh2wQeQIZCK4QLP9nVzv2jrQqyzUwDZUGcG9Qr4Vvm+zG74EgZIqOYi/Na/+ 1MxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=i84S50ycBDgm+VhmjPYTp+Ubik6CgkxfQ20Z/ziQi1U=; b=ZUq6ALHbIABQ9Xhx1lIEO/I8jzZd2/wru7wW4kpGEnwT/XUrDklXRnIE/6ToKb2IAE PZwmRVfRbQvFuNwks26HgSA5vq/MJakrucOc9ZSnhKfJRQ8L4ObSYTEsbNs6UPCXzgID jZd9JA7TQQsOEzdawOJwsMPFFxIxmxSBWwWS3SsalIfMJnEe1m7MubPXnT+5+ZYMg6HH kjyXQ/uMxMmawpriLt3xurUpcB/ZB0IRJxs9CvkkilSjoxPikLWUR9MEyOe1tLRTCijm ocRKHdN0Q8Z4A5NcHgrqPZK3WChKQvMeCD3chY9B9EcZ5F82nZFIbdpvbU5qJGoAT8q7 xbSw== X-Gm-Message-State: ALKqPwdHAwFU4efB9MKBYJfgQmCwnnuS/i4xdGo2OgCaoypxq4m0nF2X 1JiIG2aBunfSu6W9Eb6SEbcu8SnNAZHMEBd1vJhFPA== X-Received: by 2002:a37:83c4:: with SMTP id f187-v6mr4835444qkd.97.1526221414693; Sun, 13 May 2018 07:23:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.152.150 with HTTP; Sun, 13 May 2018 07:23:34 -0700 (PDT) In-Reply-To: <20180508100543.12559-4-u.kleine-koenig@pengutronix.de> References: <20180508100543.12559-1-u.kleine-koenig@pengutronix.de> <20180508100543.12559-4-u.kleine-koenig@pengutronix.de> From: Andy Shevchenko Date: Sun, 13 May 2018 17:23:34 +0300 Message-ID: Subject: Re: [PATCH v3 3/3] tty: implement led triggers To: =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= Cc: Greg Kroah-Hartman , Jiri Slaby , Johan Hovold , Jacek Anaszewski , Pavel Machek , "open list:SERIAL DRIVERS" , Linux LED Subsystem , linux-can@vger.kernel.org, Sascha Hauer , One Thousand Gnomes , Florian Fainelli , Mathieu Poirier , Linux Kernel Mailing List , Robin Murphy , linux-arm Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 8, 2018 at 1:05 PM, Uwe Kleine-K=C3=B6nig wrote: > The rx trigger fires when data is pushed to the ldisc by the driver. This > is a bit later than the actual receiving of data but has the nice benefit > that it doesn't need adaption for each driver and isn't in the hot path. > > Similarly the tx trigger fires when data was copied from userspace and is > given to the ldisc. > #include > #include > #include > +#include Even for unordered lists of inclusions I would still try to put new lines in "somehow" ordered positions. For example here, I would rather put it before llist.h. --=20 With Best Regards, Andy Shevchenko