Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7517046pxb; Thu, 18 Feb 2021 12:10:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJyZtWg9WbxlY86Re0j6L2yspjQyk+392rtREg/0Vdlrmi9M78WJM8ybN/yFMnI6TeNzkHR3 X-Received: by 2002:a17:907:9495:: with SMTP id dm21mr5714728ejc.462.1613679054445; Thu, 18 Feb 2021 12:10:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613679054; cv=none; d=google.com; s=arc-20160816; b=xwA/QJT0aNnMeTa1tUnM1C22+jWpToSO0pS8rVEFYIX5uXxutUA74s+HJoXY0g/9du U++OkTOj2KQEy5W1do5M8HASnSP//JThxsPtGLCzNCgdyFnqhLXKxIP3UgOnoEuR0S0S Q47OOPPyG6BHiu6UzKl6mtaw+QUAC+VOPEUBVFzalTEp9PC7WzE9eMU5CBpUtgbYhG/2 YpS7LZq03Nx5u7mrw7PWrAjfTKlDtXmSH4a4C7adlfJ3ItUsMlgAKkXKbecRazOKLEkA gthqzv6Nyyct79FSwjlroeH/d4V6hL89MOSStcy7jCr5CX7qdfxpZiH2XdvMdF6mWkrR Fwag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=dMbJmdRaY4vfG00koCsvkPR/U7WAiUX8hNZHDlwWe28=; b=zXhX+QiNffwrQaBGUhDJZNaIbI254GWA0rh0enXqaESfUp0J1KyDdz9pnzgI0DRjOQ caueDP9vQXVxuz5XPdDpB5jSnlIDzaLl81jcLEiUBON7ky//AS4EcWBgzEoGwXJCLlKH zgU3A+Ekb4MjZumRfNopqRw1kh4L9KBkX4APIBwQzwVX4ziK9R08noWPnEKj7krFhE90 JuB/u3X03o8Wy4+9LkP3OovC62Hf3jTeZdQe1zyb5uD7+PXo04Y5oGVVBFyKASWR6TVz NNZ3mrNhEzEun7R2fnPThY+nQSQ8hPxit4je0lP6mBgVqCQfQkhScvrZRd34DxAcYOCE JJPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YsuE22az; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id c5si4250934edk.64.2021.02.18.12.10.30; Thu, 18 Feb 2021 12:10:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YsuE22az; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S232214AbhBRUIm (ORCPT + 99 others); Thu, 18 Feb 2021 15:08:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231989AbhBRUG6 (ORCPT ); Thu, 18 Feb 2021 15:06:58 -0500 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B928EC06178B; Thu, 18 Feb 2021 12:06:17 -0800 (PST) Received: by mail-pl1-x634.google.com with SMTP id s16so1849228plr.9; Thu, 18 Feb 2021 12:06:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dMbJmdRaY4vfG00koCsvkPR/U7WAiUX8hNZHDlwWe28=; b=YsuE22azdu18HaTMEtOCgZygSoSSxe/L+KLqHQGnitgtAooyq/dMbQrh2WSPSOwVrn G8ENzrPqhXaMiT30v+xvukAHiadnP8CWL/Er/IqoLAV/3Z5ulNChCeNv4csJJEdp/tpX qTY8hsXpkLTqn4nQAJoGyBN0e1KQb5mvhALIaFjAAEf6BihjuxNwIxRVdfVmUlJzLXdn squ/Ein7iMtlEjhliP3u5gw34EECZwaNijX53cCqQD4g+itUX2RcKIjSBySgKikuZSUz 0DN5iklLyuWA/YmfF54OE+UjuZDtWFzhu33ZgbXa2XrC78UTeVZtSdfOMjtsro4JV8Py NCsg== 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=dMbJmdRaY4vfG00koCsvkPR/U7WAiUX8hNZHDlwWe28=; b=gzj4fzhsuO8gNne6EYzqXr+s0acmlvTSwMTWNPjChX5H4y2qliG8vdNLAUD7yIrqeN zHYg0aXySDI09OK4JuSGtm52I7r3NrY6APw5NYcT6dQGxSwdz9VGBC/nFmrWS6qL2xlb QRLqi1R7APU5a6LzyqESvvzhrhkdLMqQrNbC10rNI0ED6H+Ljra/+kAtUw9bszUs6xEY GtubjDZyFgLHi7NEiKx1LzXlroMzyxkcU/5lmPM7VyNC79/SFuRl3pbzo93fbHFBifxr MQuSGLVfjBt/o96WWfNSiZ2HZIjbWN4HWeECBy3frpOWBZbD0YWfYizO/aIy8iQmM4zi p2lw== X-Gm-Message-State: AOAM530wg/dfX5wvrFI0aEC7DnOtzmUkwwCPF2a/bCDJYgjVHzZTdqBw ohOdLyMMl4rfsZRZCISAQQEScGgdJYk4Jy/OuUfoFLFX X-Received: by 2002:a17:90b:368a:: with SMTP id mj10mr5568018pjb.210.1613678777210; Thu, 18 Feb 2021 12:06:17 -0800 (PST) MIME-Version: 1.0 References: <20210216201813.60394-1-xie.he.0141@gmail.com> In-Reply-To: From: Xie He Date: Thu, 18 Feb 2021 12:06:06 -0800 Message-ID: Subject: Re: [PATCH net-next RFC v4] net: hdlc_x25: Queue outgoing LAPB frames To: Leon Romanovsky Cc: "David S. Miller" , Jakub Kicinski , Linux X25 , Linux Kernel Network Developers , LKML , Martin Schiller , Krzysztof Halasa , Jonathan Corbet , linux-doc@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 18, 2021 at 11:55 AM Leon Romanovsky wrote: > > This is how we write code, we use defines instead of constant numbers, > comments to describe tricky parts and assign already preprocessed result. > > There is nothing I can do If you don't like or don't want to use Linux kernel > style. So what is your suggestion exactly? Use defines or write comments? As I understand, you want to replace the "3 - 1" with "2", and then write comments to explain that this "2" is the result of "3 - 1". Why do you want to do this? You are doing useless things and you force readers of this code to think about useless things. You said this was "Linux kernel style"? Why? Which sentence of the Linux kernel style guide suggests your way is better than my way?