Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6320653ybv; Wed, 12 Feb 2020 09:59:03 -0800 (PST) X-Google-Smtp-Source: APXvYqzEuxCgcI7psamoa04dh1g2KSJ74o441CRDwBs4Zeti/MwMI6XJbdekMnoZJsh1H7xD6sGx X-Received: by 2002:a05:6830:1317:: with SMTP id p23mr10341347otq.3.1581530343514; Wed, 12 Feb 2020 09:59:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581530343; cv=none; d=google.com; s=arc-20160816; b=FLxr6mMNxwikSMfo++gKqHmCGjcm/ypSsdhYLvEqzGwX0v9RbBK9yYFxx8arC8gB6l O9LfMKYEqxLF0Y2Mv7bVGyg3CMg+kDCXu4bG3AhdTesba2eTZNIooDj3FeBGsTCDvLcx gIxImB53F8VFALhp7rh8HLfjx/Pj4buCnjdmuWAHUDMSlqeFUDKYHz2fSBApVN/n7uQV /P/KSiF3Rjpyn0+wGl705+KJ8Ym6fWmixWJg4TnOAii9W3+S5SgzaRxLo3RBOwT7crk5 16vqdPCBUAPEElHp6IYDheO4u8AmKi8iFPc6Eofm6bZdOgHL/JYKo6sNnkypRUyojUkU 9eHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=H8IUcvssdhDR1K1EUyWj6oufs8d+vYOMkMY7VxxIHZM=; b=KFLiE+/Ui8kPmRp2FXAWwtq501Ywv8yCSyCvAnkEnO3lbcYGvU42TVsrYe8funGpZZ szIA7P02vlCv8I9vKfJWwnviy1qYLnIwlttiPfe8fUW9b8m8Qf7Oeumdl6WyA3KCighT 0d5mN+ddNuJXj4gdTK+Va8m+Jp8IXVMtJZLTHPFCIiD44Yf4i9TAE0AmEw/EBPPRBi/7 jJg0rqBQWdxeAoOcGN6+tYu+KNQ9nJNqUHDdVVlC6pluiQEg8wI14Qsermn91UwRKtWE EKGcYD5NYsHSDoQXsrka5nOiXg0Go8p9/Upf1eBUa2TrgPwxrtsWbpWDC700DoHTg1uu Pw7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@es-iitr-ac-in.20150623.gappssmtp.com header.s=20150623 header.b=QRBFUXic; 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=fail (p=NONE sp=NONE dis=NONE) header.from=iitr.ac.in Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v18si546138otn.174.2020.02.12.09.58.50; Wed, 12 Feb 2020 09:59:03 -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=@es-iitr-ac-in.20150623.gappssmtp.com header.s=20150623 header.b=QRBFUXic; 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=fail (p=NONE sp=NONE dis=NONE) header.from=iitr.ac.in Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728809AbgBLR6g (ORCPT + 99 others); Wed, 12 Feb 2020 12:58:36 -0500 Received: from mail-pj1-f67.google.com ([209.85.216.67]:40025 "EHLO mail-pj1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726728AbgBLR6g (ORCPT ); Wed, 12 Feb 2020 12:58:36 -0500 Received: by mail-pj1-f67.google.com with SMTP id 12so1202215pjb.5 for ; Wed, 12 Feb 2020 09:58:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=es-iitr-ac-in.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=H8IUcvssdhDR1K1EUyWj6oufs8d+vYOMkMY7VxxIHZM=; b=QRBFUXicYklwb5F8vRR8BdDvRkILMu5Hvt8UtgaBcPwVK490Owa8JbsB3DL+n1H9fX 0Pf6mQRh8MvIi96J5YKMSk/BCVDYTq0Se0Elkd1KmPZi7Hj9Jw/VhFSyam+k3wkoHyH2 xKjbfKQnCLkRWzilxyNZSjMEg6imwLCsrdC51YK25wF93qf4O8ARaKPF/MYc+4qOVrV0 JU/I26UOTMrbVW+Y+33u7IlYlL2RWcz4P9Knn8W2hPQmTNS6sCtJO1Pmh4nKfrkjsD5i DdZZUH72dLS+AH3EDxhbPgojLi1ArTzL/fbT/bwHaJZieOmfHKxoNjLz4PBazm4QzWGU rd4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=H8IUcvssdhDR1K1EUyWj6oufs8d+vYOMkMY7VxxIHZM=; b=LSGAjB0is/aNyOKLvjd+bCgSIzSgdpCuq/5CybREKdfP0mEcPqwY+bQVxY+SyWpuei x8mTZIe8dlcsw/cl0eGaexAITKWhXC9cdGipSNEUd9QCxJ3NMOH1LMUB3nlN80rljJgr VGeULbsiHTfBQ5PilK27g3TPEmDrZxOHxzBsGrESaHF5sB5KHP0Ls/pCREkEHFzAGzaQ IeLbPzrrphPhUy/FOaj2lNXi2oO2EP9Q5+9qJz1rHTjzxAgPP4CBum7Tm1RazoX5BX0R mpKxZx5ODYG18lFluEZwavqH7s7cQkv7EBtZAV1JK3nw0lK5cmp1yaBQFLx8tEu4+MlP Eg4A== X-Gm-Message-State: APjAAAUTjh3c37zuQ0UPztakGma/71cjH9R9pernvF0TlCZDbbKkpcFX oenjYTEpyDt2YiMNefZFa2wdrA== X-Received: by 2002:a17:90a:950b:: with SMTP id t11mr237947pjo.79.1581530313215; Wed, 12 Feb 2020 09:58:33 -0800 (PST) Received: from kaaira-HP-Pavilion-Notebook ([103.37.201.170]) by smtp.gmail.com with ESMTPSA id d14sm1156786pjz.12.2020.02.12.09.58.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Feb 2020 09:58:32 -0800 (PST) Date: Wed, 12 Feb 2020 23:28:26 +0530 From: Kaaira Gupta To: dan.carpenter@oracle.com Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Rob Springer , Todd Poynor , Ben Chan , Greg Kroah-Hartman Subject: [PATCH v3] staging: gasket: unify multi-line string Message-ID: <20200212175826.GA5967@kaaira-HP-Pavilion-Notebook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix three checkpatch.pl warnings of 'quoted string split across lines' in gasket_core.c by merging the strings in one line. Though some strings are over 80 characters long, fixing this warning is necessary to ease grep-ing the source for printk. Signed-off-by: Kaaira Gupta --- drivers/staging/gasket/gasket_core.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/staging/gasket/gasket_core.c b/drivers/staging/gasket/gasket_core.c index cd8be80d2076..411aaf248b37 100644 --- a/drivers/staging/gasket/gasket_core.c +++ b/drivers/staging/gasket/gasket_core.c @@ -692,8 +692,7 @@ static bool gasket_mmap_has_permissions(struct gasket_dev *gasket_dev, (vma->vm_flags & (VM_WRITE | VM_READ | VM_EXEC)); if (requested_permissions & ~(bar_permissions)) { dev_dbg(gasket_dev->dev, - "Attempting to map a region with requested permissions " - "0x%x, but region has permissions 0x%x.\n", + "Attempting to map a region with requested permissions 0x%x, but region has permissions 0x%x.\n", requested_permissions, bar_permissions); return false; } @@ -1180,8 +1179,7 @@ static int gasket_open(struct inode *inode, struct file *filp) inode->i_size = 0; dev_dbg(gasket_dev->dev, - "Attempting to open with tgid %u (%s) (f_mode: 0%03o, " - "fmode_write: %d is_root: %u)\n", + "Attempting to open with tgid %u (%s) (f_mode: 0%03o, fmode_write: %d is_root: %u)\n", current->tgid, task_name, filp->f_mode, (filp->f_mode & FMODE_WRITE), is_root); @@ -1258,8 +1256,7 @@ static int gasket_release(struct inode *inode, struct file *file) mutex_lock(&gasket_dev->mutex); dev_dbg(gasket_dev->dev, - "Releasing device node. Call origin: tgid %u (%s) " - "(f_mode: 0%03o, fmode_write: %d, is_root: %u)\n", + "Releasing device node. Call origin: tgid %u (%s) (f_mode: 0%03o, fmode_write: %d, is_root: %u)\n", current->tgid, task_name, file->f_mode, (file->f_mode & FMODE_WRITE), is_root); dev_dbg(gasket_dev->dev, "Current open count (owning tgid %u): %d\n", -- 2.17.1