Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp839417ybb; Fri, 20 Mar 2020 08:55:01 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsBmNg0/8WV07n1T7cBServyN5PuBp/2cAjx5Io27npnj4TslRlhIKO2vPHWXNFNqDkYZzA X-Received: by 2002:a05:6830:456:: with SMTP id d22mr7077085otc.138.1584719701560; Fri, 20 Mar 2020 08:55:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584719701; cv=none; d=google.com; s=arc-20160816; b=Bw5yiYGpAlipRitvljuwo1zZyef69XcUxgWCGOo/+tif6xjFI4nipx3aPBfx1PXtn/ NB8OR8oBLeHPpyu1QUDBtYpNETQ/aMMkEahHAZTyrykbA200paSv9VdzQvkevSlrj0xp K5Sls9vPTKlUt/xBZF2nhxIGBoLT3gAJtguF7krOJDm+jZ9i2+4CWcxWpG3Nk6cZjl9O /PiAoflkNi6lux42S2XZVQw5FqUaaC9UfCgOsJaYjxg3IXcIYkK95mIASBejOH8XUHEF Ie9pUPlH8wSEyOwykQBCchbWgMFvuF3Zo57gzcjfFA+bWp33Tir/pqX8gfIYLC6abD3C OHVg== 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:from:references:cc:to:subject:dkim-signature; bh=1V8FF9eJrm9wvwD4q3tqsWWsW0ZrqInhPAWcIStqMyY=; b=Jrt2mmR0vSZWe6XFLI2R6j3+HhY+/biGudoVE0zc+/239FLGAuezKV0RLKNPdYiym6 NRAR27pJB4mvhmIwWA+LSn5KVX/CJinMO5/rnVKx/RngAJjzFffmFPxPGSoihVE+xdBP MP2oAcGanLDSxfaTII4nHgaaG6qBnLXzJXUbBZgYl44ZrXcOe8gQyHmIjtgqjsLxwlCg jhQG3Lo3MpGFHi5osObw7+9LIHY6Jxi+vGILtln/C38hjDbv3y980+L+eqoVT7D32M0q BQgIf7u34KOLx3jSy3mSlHsVug+96R7sIC6wOsKE+8iA5U8F71f0Hu/mWzav9Zdoi5tJ Gxkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Y3aVTjLE; 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 a190si2898572oib.146.2020.03.20.08.54.48; Fri, 20 Mar 2020 08:55:01 -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=Y3aVTjLE; 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 S1727107AbgCTPyB (ORCPT + 99 others); Fri, 20 Mar 2020 11:54:01 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:42039 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726840AbgCTPyA (ORCPT ); Fri, 20 Mar 2020 11:54:00 -0400 Received: by mail-lf1-f65.google.com with SMTP id t21so4929593lfe.9; Fri, 20 Mar 2020 08:53:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=1V8FF9eJrm9wvwD4q3tqsWWsW0ZrqInhPAWcIStqMyY=; b=Y3aVTjLECSkF093nyIgekKyw2TJGu4YSFGj2zNevrKYE2v5CWDPQiIl+adnZq+y+Oy uJ6PniVUeFVg0KqllKNg2jLhDkM++/+1zMfN364Ht9dtCR7lvhkZxyxKYIm6NWpzPMXJ obNd8/Z0J3qDm5iBmDTBFPM/sHo3Fqc+JhQ3ot9cnxj0ZYejOIfZ/Esu8eK/ye9zV24H UXPLxFGmvtfAG0iC/rtm6nlbSBpMffiNGRvC7+69rx+eA8MxyWOz11IXC0GZmmieBdCx GGKvUv0WFT/Z9Di5HlF7WT8zqjuPqUAKQ+zF++L1ZvaU57ILjGqwa7cIJH7TdGHd0AAP Vs9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=1V8FF9eJrm9wvwD4q3tqsWWsW0ZrqInhPAWcIStqMyY=; b=ACCPDkebZGepKhejPoZFhE/us3QvhpNnz7KrSJMRfM5PeqVk4Q4MyCwZsRqU043xu7 NFGyEktdzdEZJ0+VO1qG1IBS9wQGjeuvikHc9D+kbHYdSH/WJptGdFrpEi9qpjPqhhB5 7gCSai7UzpElp9ozBpLiBIpyJn1Uh3OaK0i92Bz6ynGO1X5SSHq3klFGODISVSQEXylP TLhjnmubtO18F1eymoEHJgJSROl1NKSCjWE4vefSSVQl7FkRWfa5709ospN3KgNQTsKw qY990cGT04gp6G6amYxo3Oqnh96K9EG8I46KnSSjup63mkfqDsZxxsz0YdnPeMGUtoAQ xAhA== X-Gm-Message-State: ANhLgQ0msmQ/ArCc+X9eZetXKH4cQ6jmSSwKUA8HGjifVbauKIZrv4bS lFi9Z+w8Ym1GVyIPrhszm8g= X-Received: by 2002:a19:fc12:: with SMTP id a18mr5857736lfi.117.1584719637199; Fri, 20 Mar 2020 08:53:57 -0700 (PDT) Received: from [192.168.2.145] (94-29-39-224.dynamic.spd-mgts.ru. [94.29.39.224]) by smtp.googlemail.com with ESMTPSA id k2sm3721398lfc.95.2020.03.20.08.53.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Mar 2020 08:53:56 -0700 (PDT) Subject: Re: [PATCH v7 00/48] atmel_mxt_ts misc To: "Wang, Jiada" , jikos@kernel.org, benjamin.tissoires@redhat.com, rydberg@bitmath.org, dmitry.torokhov@gmail.com, nick@shmanahar.org, bsz@semihalf.com Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, erosca@de.adit-jv.com, Andrew_Gabbasov@mentor.com References: <20200212084218.32344-1-jiada_wang@mentor.com> <89e4bb0b-b2eb-0b67-4307-fb2af914b1c0@mentor.com> From: Dmitry Osipenko Message-ID: Date: Fri, 20 Mar 2020 18:53:55 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <89e4bb0b-b2eb-0b67-4307-fb2af914b1c0@mentor.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Jiada, 20.03.2020 06:37, Wang, Jiada пишет: > Hello Dmitry > > I have submitted v8 patch-set to address your comments towards v7 > patch-set, > most of checkpatch warnings and errors have been addressed, > > But I didn't update for following two types of warnings > since I want to keep consistency with legacy code > > WARNING: DEVICE_ATTR unusual permissions '0600' used > #290: FILE: drivers/input/touchscreen/atmel_mxt_ts.c:3761: > +static DEVICE_ATTR(debug_v2_enable, 0600, NULL, What will happen if you'll use 0644? Will an empty line be returned or driver will crash? > WARNING: Consider renaming function(s) 'mxt_debug_notify_show' to > 'debug_notify_show' > #292: FILE: drivers/input/touchscreen/atmel_mxt_ts.c:3763: > +static DEVICE_ATTR(debug_notify, 0444, mxt_debug_notify_show, NULL); Perhaps this should be fine to ignore, although the prefix is indeed a bit superfluous. > please let me know if you have different view on this Thank you very much, I'll test v8 during the weekend.