Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5260893yba; Wed, 10 Apr 2019 15:16:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqyhArMhdHGTDdezU9lGYqP51A8+MN6tBw/L+rV067OzxX1Ym0eFlC1WOEvexdBTTYIavq4d X-Received: by 2002:a63:465b:: with SMTP id v27mr44189965pgk.165.1554934608500; Wed, 10 Apr 2019 15:16:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554934608; cv=none; d=google.com; s=arc-20160816; b=xhB2cMu3BjXVsL3E2GaqUj6v+GXvpUTNb1FGm+iPKcQ0VLu+t5HpzjG1bWvF1G8jCS ME87pQjm16WeyKgwToXn3lf/J9s1b4WHxvyU08+Wj8FKKQ12cHhLtA9Jgvpr0NN2ECgg xIVKXLtVXj9TmvfW1FsozpEPvFDxFq3+cj5OdZOkMknWz56xObQs29lKEp//Q/f9E0yL 1hwvUFdH1FWerAoAWjGMhAl4N4zFNdC0fBg3+0LaF3z+LhvZzxwR1ERbXN1U+6ePpUf9 cKA4kTHmM6EcQGajFVySRZ+tO3RimG9sQl6HFIkQhPQoGvjSOQxyfI5vToeUl+FJq3uA viaw== 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=/ME8UCRPhLKhI9XNsKa0H08evJ48xzJoLZLWFynyGu0=; b=pwlw/8LNZ434m0P93oREUsG6OAOeTtBxv5n1Bz5/4OmKZIE2MsAAWtiLVDHbE9r3hV u5Bw/DrDFqs2hy2uECLYKqXe7USZhyrQ1awQI7zVYFzEJWCieylV67knKqokKHBf0KQF pk0dqRgLc+oTutMbkfam1SYd7K9qtaYb2wve7jXQZjZHumasnPY83TYv3u5y9LAZzf/F GxfCp6a6zgkeeMO/hgA9iIpF89GLUupnHi7Dg4P+V/6Qca82VESZ2Iav+o4S7OIMh5YR FWX4TV7XRF4fqz8wczGJdSR44n4qFRc8A+4cjWySBtjuH5CT0t+3lbUjWEZouIX8yuC7 cgRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=D6Mwh0aB; 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 h3si34613334pfe.90.2019.04.10.15.16.32; Wed, 10 Apr 2019 15:16:48 -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=fail header.i=@gmail.com header.s=20161025 header.b=D6Mwh0aB; 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 S1726748AbfDJWPR (ORCPT + 99 others); Wed, 10 Apr 2019 18:15:17 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:41724 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725982AbfDJWPR (ORCPT ); Wed, 10 Apr 2019 18:15:17 -0400 Received: by mail-pl1-f194.google.com with SMTP id d1so2236937plj.8; Wed, 10 Apr 2019 15:15:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=/ME8UCRPhLKhI9XNsKa0H08evJ48xzJoLZLWFynyGu0=; b=D6Mwh0aBjutAgUD2QUITwrHNkJkqtxoQ1HEleQv0XZQMhon+Mf9eCY7kuBrCiVkIW9 d7WK5cS1VPY2VkualAes2LtqGALrVEMtZq9K4SpLc6VzLRA4cSev3D+UfVYFNk4JoecU RselPOb8n+nlbd2xvtvUcDkt1cBEf/msq5e59nunnu+y45VeXVKeUqeNXBhzAYBH9yXw L07nCZpBmqcozHap682ruHaPhVuYG9P7VUNeMJlD0Uv4s3uxPsWNWn0z7zPf6huT+wAy PtbmkozCoME3EA3SEPoCfyEiJzO0NbD2FUCp0CFhJt4m/AayqJ1scoo3NZQeUFhCsR3c Q5Dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=/ME8UCRPhLKhI9XNsKa0H08evJ48xzJoLZLWFynyGu0=; b=fAOykvH+GsfYMCF3EyLk+xXtgcysNwmw4FtVfMNL/esF2aMVJQ2nghSzccUvpVJy0p cPtjVFZAJIPsSrZ56rMEaWMYiU8/F0Qd/3YQyAr/ETQ/liNtBykRMGHyUWehwLUwQ/xR wrT3jAeoyWZfvsMPc1aUjPP+GB3qwfVOnvjsYIm4jHhgw85LSDqvjpFM76fgCt3Wy6lC w5eWJXGuQk+i+WR5nOsVKyOmiywBMljVXMEIzKoSS77sw7W00kIN5VS3S6wJ1O4HQ0aW P4pQZOoN0UA1WjH5dL7FzLaCQ0NqUYi8pRvblV72yhnur2Yqzqe2WD93zGrTjVb7cxTN EPfA== X-Gm-Message-State: APjAAAWfWG54PxN3zxdsDhZSAow09nHaLyIaelq45LFkMw3zly3XHZXZ a3rd2ZXAqPD+oa1IqVOtxcA= X-Received: by 2002:a17:902:b602:: with SMTP id b2mr47138995pls.293.1554934516181; Wed, 10 Apr 2019 15:15:16 -0700 (PDT) Received: from localhost ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id p2sm113952543pfi.73.2019.04.10.15.15.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Apr 2019 15:15:15 -0700 (PDT) Date: Wed, 10 Apr 2019 15:15:13 -0700 From: Guenter Roeck To: Joe Perches Cc: Wim Van Sebroeck , linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org, Matthias Brugger Subject: Re: [PATCH 18/22] watchdog: mt7621_wdt: Use 'dev' instead of dereferencing it repeatedly Message-ID: <20190410221513.GA28441@roeck-us.net> References: <1554913683-25454-1-git-send-email-linux@roeck-us.net> <1554913683-25454-19-git-send-email-linux@roeck-us.net> <20190410195409.GA29802@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Joe, On Wed, Apr 10, 2019 at 03:10:09PM -0700, Joe Perches wrote: > On Wed, 2019-04-10 at 12:54 -0700, Guenter Roeck wrote: > > A checkpatch rule suggesting that multiple extension lines can be merged > > might be useful to help finding such situations. Just a thought. > > You are welcome to try to write that one. > It's likely not a trivial task to make it sensible. > No chance - if _you_ think it is difficult, it would be absolutely hopeless for me, and I am not going to touch it. Cheers, Guenter