Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6140080ybv; Wed, 12 Feb 2020 06:45:34 -0800 (PST) X-Google-Smtp-Source: APXvYqylQf48d9MvmHBw8ECTB6ZJyMGl+GDCwneSijtveyjdgR63qlKJtEIsOgBXvQRWNOSHSumH X-Received: by 2002:a9d:51c1:: with SMTP id d1mr9085424oth.136.1581518734197; Wed, 12 Feb 2020 06:45:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581518734; cv=none; d=google.com; s=arc-20160816; b=K5O8M/QdjAO9w+RQsm/CdDcVNz9P9uQXYvPtpdgTELHBb7X3Y7y+4xTpvNUF9ctBzk mrmR4kBWhaGhcIXAOTv0UUm/Kv/+JjjpuPc7lwYHAeJIBOJbzZPCe9YY7ZP3rh8yirtN uSSmnI/rTAl8E5mzIkN0SVJw6xU+19GD1mSVBZ2koAqI1OAvLEAGlYWj8Jn388n9opSI KQ46QoTmF9IVD2MqiXaTlBUtGP+gKoVOA1Noju05w+Bxe/2yMtbJdAzyk+SzXP/fbR9o XTdnN4+I2S9ejnOo7e8XJQyBUEKc/MJqNVt5wXzVpuyduirrgLD753wmGtY+r/RUt15d ltLg== 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=i8va69HUS8usS5uVPrUR0RrMmMhq7YLvI3DqxMqPyhM=; b=j7m2VQsCY0n1UUH8hqRreAFYwCfQ23sRmNmDRfRcg5aWcGzx7m7jjhsyEsgga8aoOT hKZUutbXGA9wSZnKKk192JWNvUK2VSdOgDeDW1wxg/KOXQoIc5TodkT754VPs8i/zyIZ QDTcsy3cHH5pjRFPm0QtXubn4QRF+/iwNqnQYFyD9Yhtxtz5n7u8xmsx05dhb6w5cuXQ Pj5Ya3z6k+UctlU4P5wOBpqE52kktfvj4oJlIEtIK/8j/H4NAfZcStYp+en8q91MxXJu zL4071dyaOaaCgYNfkwLXV69HuvR8msdZsRtwuzo0V5BihasyebyoHHXGAC/o5kqPmtU mUKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b="OVsFH/s2"; 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 t7si278878otl.133.2020.02.12.06.45.16; Wed, 12 Feb 2020 06:45:34 -0800 (PST) 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-2020-01-29 header.b="OVsFH/s2"; 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 S1727531AbgBLOpJ (ORCPT + 99 others); Wed, 12 Feb 2020 09:45:09 -0500 Received: from userp2130.oracle.com ([156.151.31.86]:51570 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727092AbgBLOpJ (ORCPT ); Wed, 12 Feb 2020 09:45:09 -0500 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 01CEWbVw010972; Wed, 12 Feb 2020 14:44:49 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-2020-01-29; bh=i8va69HUS8usS5uVPrUR0RrMmMhq7YLvI3DqxMqPyhM=; b=OVsFH/s2UrrUBzqSi7yuin/O8dRmeKg8c3tfvsIL7dCOQbC4OK/c/q1m1BPj1ye0x5il OyefNp5FrQZRLNtOj5f/d3C+Q5BrXnEoTw22ySr/CDjxrM95oSsSfYoePKYez2jVtxdf 61HKiPG0doqFh4VMK2iRV44ID2alKJ9t7FhOv3aUj3hPcaq9RHs5tnhi9P1Yf8lgX3jv 99Ce26lSXK+/FIk4u+EXaUsBr0Fr1h6HM4zOHUN9F2ZSX4SLNhuja67nXQtCBH5xlnsg 3u/NzLOOwI0GJ73TbjK/c8TT1WrDk9PNRfMhxw78LaNgq/8azh1NCSzvli4uox4/0uGT MA== Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by userp2130.oracle.com with ESMTP id 2y2k88aurh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 12 Feb 2020 14:44:49 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 01CEd0xw073307; Wed, 12 Feb 2020 14:44:48 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userp3030.oracle.com with ESMTP id 2y4kag893q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 12 Feb 2020 14:44:48 +0000 Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 01CEiWlm013875; Wed, 12 Feb 2020 14:44:33 GMT Received: from kadam (/129.205.23.165) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 12 Feb 2020 06:44:32 -0800 Date: Wed, 12 Feb 2020 17:44:24 +0300 From: Dan Carpenter To: Kaaira Gupta Cc: Julia Lawall , devel@driverdev.osuosl.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, Rob Springer , Todd Poynor Subject: Re: [PATCH v2] staging:gasket:gasket_core.c:unified quoted string split across lines in one line Message-ID: <20200212144424.GI1778@kadam> References: <20200211200456.GA10351@kaaira-HP-Pavilion-Notebook> <20200212115035.GB21751@kaaira-HP-Pavilion-Notebook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200212115035.GB21751@kaaira-HP-Pavilion-Notebook> User-Agent: Mutt/1.9.4 (2018-02-28) X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9528 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 spamscore=0 bulkscore=0 suspectscore=0 mlxscore=0 malwarescore=0 adultscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2002120114 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9528 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 lowpriorityscore=0 suspectscore=0 bulkscore=0 phishscore=0 mlxlogscore=999 mlxscore=0 malwarescore=0 impostorscore=0 clxscore=1011 spamscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2002120114 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 12, 2020 at 05:20:35PM +0530, Kaaira Gupta wrote: > When the driver tries to map a region, but the region has certain > permissions, or when it attempts to open gasket with tgid, or when it > realeases device node; We don't care about any of this information... > the logs are displayed in one line only while the > code has the strings split in two lines which makes it difficult for > developers to search for code based on the log messages. So, this patch > fixes three warnings of 'quoted string split across lines' in > gasket_core.c by merging the strings in one line. > > Also, I wasn't sure if I were to send a separate batch or reply with a > v2 for this one. If former was the case than please let me know. > Thanks for your time! I would say: "Kernel style says not to split string literals across mutliple lines because it makes it difficult to grep the source for the printk. I have changed the code accordingly. It will not affect runtime." That's not imperative and some subsystems are more strict about "you're not allowed to use the words 'I', 'we' or 'this patch'" in a commit description. But in staging we are pragmatists. So long as it's clear why you're writing the patch that's the main thing. The other problem with this code is that some of these messages are over 80 characters long themselves which is very long for one line. It doesn't matter if you send the v2 as a reply or not. regards, dan carpenter