Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp3457491ybe; Sun, 8 Sep 2019 14:32:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqx7xUz/lmvwr0g98+IqG2yPOv8/g22MqV+zvOHQvE7MMVoC3wi5MvG4Ildaf/Rhwdav7L3g X-Received: by 2002:a17:906:65c5:: with SMTP id z5mr16584275ejn.282.1567978347807; Sun, 08 Sep 2019 14:32:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567978347; cv=none; d=google.com; s=arc-20160816; b=Oqg15CBsoII6q7nmfNke/APgriHb/u1K7/2QSd6okKv6/nxhUqK1iDVGxt6lWsmKbj qBYKBOe2l9RzojQ5NNUWUE6YhCNrFLsp6Q125YHFM206FX6MZF9++e07eFMptECDrpuQ xf5b1eXP7LZF/v7X4LkrZAjByhIk/ptviEPXIs34BZ6BFPEczF+s1QNPobR2uFtEeNnn j5wDWPUzohGLL5k9x3n3O4BlMUxJX6MP6dSjtZhYl9mYxnGWhxFrtlSslOf470TBnoQj Gd2TCh3UhKialnnW8vKeIE50zTGTqQKZwszXFUaXrdGmSwO710DEzQ0SU1Te4Ul8CWtK 7EtQ== 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=s9aXxI7sA4me/ycb0JLeHZ2uDjHcFtgU9B3Kh9Cf838=; b=bCKBCQuAu77fO01s7lpDX0URWAmaiJbdHsVjF+6G78gWUesked6xU8IMGVCFOeuJ0X rLZ12hzpWLIsJ29kZkF1MbyTCh+QbCZwNKHlbBK6CmshoyYVNlRYcn5KqIfxNc7/htVX ZorELN63coMM2QuxWHD75YuNopZq745odNpyZ6UMCdVcHhK30uU/6afxJfjAVyH6zTyR wYiuFvxqp7X3dmQJ3yiFgRQgyQ2rEprHpaCU6xCvsooZE+9haSCDjbILgH0MnSJPqNT9 +D8vPOJJv1K/iNPcIvxXSk8yAAa7b3pVyEeAhNXZ/zGmJcC7jBzYbmTZxYKRYqk44RPv J+3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2019-08-05 header.b=iSuHLhQJ; 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=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b8si6860380ejv.106.2019.09.08.14.32.02; Sun, 08 Sep 2019 14:32:27 -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=@oracle.com header.s=corp-2019-08-05 header.b=iSuHLhQJ; 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=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405991AbfIGOjc (ORCPT + 99 others); Sat, 7 Sep 2019 10:39:32 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:42866 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726669AbfIGOjb (ORCPT ); Sat, 7 Sep 2019 10:39:31 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x87EdQQl082101; Sat, 7 Sep 2019 14:39:26 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2019-08-05; bh=s9aXxI7sA4me/ycb0JLeHZ2uDjHcFtgU9B3Kh9Cf838=; b=iSuHLhQJwF9e7CB3TviGpt1E4HkfhqMvBAPwkCPFb4jMd40mMwZ+PeAAQk3bJSKJ7nFS yznndfF+cG5gcqz/2EK9GJ5Pq4xM/dv5GCpqMsZ1DN57/h6hHTDDFXC0KbXFYPPUjojH sZ4XHpgXho2gnAga45cd3ykizzgHz1aXuoQKrYSZxfnQuw4Qqv65uNaZSH9mBYzQ7uYC PlBZVAl+zN8W4ljOiq5X5bbynr/fXjHeBfuVACUw9IOlMHImcmGA04+Avw4krAnpRY24 OrgyuPmTpDMpU0x7WW2ScygnPyGHbii+QI9Bkv3JzGow4zpqH5VNSs5Ck8tR/wW99H/l jQ== Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by aserp2120.oracle.com with ESMTP id 2uve1c01rm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 07 Sep 2019 14:39:26 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x87EdN8K127952; Sat, 7 Sep 2019 14:39:25 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3030.oracle.com with ESMTP id 2uve9b0a34-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 07 Sep 2019 14:39:24 +0000 Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x87Ecudq009512; Sat, 7 Sep 2019 14:38:56 GMT Received: from kadam (/41.57.98.10) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 07 Sep 2019 07:38:55 -0700 Date: Sat, 7 Sep 2019 17:38:49 +0300 From: Dan Carpenter To: volery Cc: rspringer@google.com, toddpoynor@google.com, benchan@chromium.org, gregkh@linuxfoundation.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Fixed parentheses malpractice in apex_driver.c Message-ID: <20190907143849.GA30834@kadam> References: <20190906183801.GA2456@volery> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190906183801.GA2456@volery> User-Agent: Mutt/1.9.4 (2018-02-28) X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9373 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1909070157 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9373 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1909070157 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org You need a subject prefix. It should be something like: [PATCH] Staging: gasket: Fix parentheses malpractice in apex_driver.c Generally "Fix" is considered better style than "Fixed". We aren't going to care about that in staging, but the patch prefix is mandatory so you will need to redo it anyway and might as well fix that as well. On Fri, Sep 06, 2019 at 08:38:01PM +0200, volery wrote: > There were some parentheses at the end of lines, which I took care of. > This is my first patch. ^^^^^^^^^^^^^^^^^^^^^^ Put this sort of comments after the --- cut off line > > Signed-off-by: Sandro Volery > --- ^^^ Put it here. It will be removed when we apply the patch so it won't be recorded in the git log. > drivers/staging/gasket/apex_driver.c | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) Joe's comments are, of course, correct as well. regards, dan carpenter