Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2448893ybl; Thu, 9 Jan 2020 13:00:06 -0800 (PST) X-Google-Smtp-Source: APXvYqzlFRDrrr7UGjybsqQ5hiGAarRWtIU8O+Ol7tcwp87M31q8FqgCX9XuFRFwr7F3L2LNSbYL X-Received: by 2002:aca:3f54:: with SMTP id m81mr4445111oia.73.1578603606732; Thu, 09 Jan 2020 13:00:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578603606; cv=none; d=google.com; s=arc-20160816; b=AXli/73c8gahcTGYjNoyv0fISkNiFAFyj782qXSwAmfUh20Q3+wML/n6dVUyMVLrQb SIWEMvEPsJlCkSK+ni7tXzhqD1Ljp2jWB3JkMRxbMNpsyKHAgr/UUKpvwEeyyTct8pFV VXSPJJA9n6qwHtXakSrmuQJFDpKMsuaNXZtV4nr6tf/8xggEr7PkGSInrxMTpE6a2DLf qe1myyKujbzuub0I73DRsADfOjdhG7Yp1OkgooCDCm02lGXR9ldmzNlUMCpp68vAr4vz KDqvvyr3lOn4K8QTNrGkYnp4MNJZE9vZfn9h7ahx2E4piYGKRBKfB+abUl8+sdLKXlmY peww== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=44qeSbgK4fjxtx3Jl3gaoujj676TRWsAIPJoecKwxeA=; b=z3QkQQZjdaAJSthN0VSCe3I6v2HvCaXUuwXFIEnd4+v411trCUIAvV4EXbFi9Tkl+P 0nwuQIdCBc7vkiMPb2q0yrJ9M5RnivBXrnx9Np43UoIaNp53hcFaN2v3fjBNUJKxwRfL Yzm3BkRE1fH0QhMJ0RnCz17kvwXuWloYzzU6Yr7t7fcZ4tkLHw42q0LPBWIcGbZF2t3S NghkGDmQbRxIkd0SV8/LkxvfqtjegJTls3hOFipnLnaMd9Iew6oAaNEpdPWrsXSMRd9R +H8dSqAvbxgzGQhw3Lo8UeDUqIP5gC6WSlPfqzWOpG4kfpFt7xFVHRhuL04Srd4D79JG fSZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=noa0a510; 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 m25si4998869otr.310.2020.01.09.12.59.54; Thu, 09 Jan 2020 13:00:06 -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=@gmail.com header.s=20161025 header.b=noa0a510; 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 S1732490AbgAIPhV (ORCPT + 99 others); Thu, 9 Jan 2020 10:37:21 -0500 Received: from mail-qk1-f176.google.com ([209.85.222.176]:35729 "EHLO mail-qk1-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728098AbgAIPhU (ORCPT ); Thu, 9 Jan 2020 10:37:20 -0500 Received: by mail-qk1-f176.google.com with SMTP id z76so6367689qka.2; Thu, 09 Jan 2020 07:37:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=44qeSbgK4fjxtx3Jl3gaoujj676TRWsAIPJoecKwxeA=; b=noa0a510xUsCS83uXW9qp66lUzBtzCWLZCNOz+h/lTvAlhnXI2GABGdvyDVPFMzEcH wZK4fb8EYbCh4foaOpydy1F4EusJwlS8NhTvSgnRSZlEKliGYglDwi61QL/zlQ7noqE0 3X4EEGTdyw3+WSZpyzcySaoxn5erAYcfg9l8A8Gar7h2l0CZ4B41M5xrtuQR5zFZt5fp 3kHzDPdAN+WEZl9DSILegCRA0+AZ4xHC4i8Gz3E2ZhAkcIOzjXq9pv7VBbpu0yS04qSx kXXXgPHcJ2klqc/o5Lgs8+bbzmo4lJXgxXOwEBD5C65z27dXKFueLGDAXoNnfUrXIgHM 0AUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=44qeSbgK4fjxtx3Jl3gaoujj676TRWsAIPJoecKwxeA=; b=MNMu6r3SEqkw8PxloHK2rBeE2yG8K0G4temtNNTBAW5uDtg31ptSQ9kfbbpZd1L3FC jTf7AXHZvEfiz+J0BaxeGvWER1oGVCIAkC6/GOgpTjsqdk1/XhzbxO1Rb/OvBnqNUD5v GzqO7TIwXOt0y8oWbxdzlzUcF9hwxCkWNZDKV/KOkHirOb2+YkMo3Vgp/nImJKnWFDWV oyzEsrhBsZZY/cE7bNOqWhGENvimPhp373rdwkyVPW33/k1YeIgxt5eQIR7a3uOuKhdD iQ+tatkgp0nvAEdXigUj4J12/jiG22t1kzGrKlSK3aL9c60MMqHJk1HJBFCPslJS1Rbr muvg== X-Gm-Message-State: APjAAAW+VnGn1cvDxNvZ3jVP+iNfTZy5f4mG6fUqP4QLw/RO1/kgn4XO BwDbV/IZ9ZvLbRTbjSdkuPgyOyZ/yrM= X-Received: by 2002:a05:620a:128f:: with SMTP id w15mr9779885qki.472.1578584239612; Thu, 09 Jan 2020 07:37:19 -0800 (PST) Received: from localhost.localdomain ([2804:14d:72b1:8920:a2ce:f815:f14d:bfac]) by smtp.gmail.com with ESMTPSA id u16sm3122008qku.19.2020.01.09.07.37.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jan 2020 07:37:19 -0800 (PST) From: "Daniel W. S. Almeida" X-Google-Original-From: Daniel W. S. Almeida To: viro@zeniv.linux.org.uk Cc: "Daniel W. S. Almeida" , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, skhan@linuxfoundation.org, linux-kernel-mentees@lists.linuxfoundation.org Subject: [RESEND] fs: seq_file.c: Fix warnings Date: Thu, 9 Jan 2020 12:37:08 -0300 Message-Id: <20200109153708.1021891-2-dwlsalmeida@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200109153708.1021891-1-dwlsalmeida@gmail.com> References: <20200109153708.1021891-1-dwlsalmeida@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Daniel W. S. Almeida" Fix the following warnings: fs/seq_file.c:40: WARNING: Inline strong start-string without end-string. fs/seq_file.c:40: WARNING: Inline strong start-string without end-string. fs/seq_file.c:40: WARNING: Inline strong start-string without end-string. fs/seq_file.c:40: WARNING: Inline strong start-string without end-string By escaping the parenthesis in the affected line. Line breaks were added for clarity. Signed-off-by: Daniel W. S. Almeida --- fs/seq_file.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/fs/seq_file.c b/fs/seq_file.c index 1600034a929b..aad4354ceeb0 100644 --- a/fs/seq_file.c +++ b/fs/seq_file.c @@ -38,10 +38,18 @@ static void *seq_buf_alloc(unsigned long size) * @op: method table describing the sequence * * seq_open() sets @file, associating it with a sequence described - * by @op. @op->start() sets the iterator up and returns the first - * element of sequence. @op->stop() shuts it down. @op->next() - * returns the next element of sequence. @op->show() prints element - * into the buffer. In case of error ->start() and ->next() return + * by @op. + * + * @op->start\(\) sets the iterator up and returns the first + * element of sequence. + * + * @op->stop\(\) shuts it down. + * + * @op->next\(\) returns the next element of sequence. + * + * @op->show\(\) prints element into the buffer. + * + * In case of error ->start() and ->next() return * ERR_PTR(error). In the end of sequence they return %NULL. ->show() * returns 0 in case of success and negative number in case of error. * Returning SEQ_SKIP means "discard this element and move on". -- 2.24.1