public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: "Ricardo B. Marliere" <rbm@suse.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] posix_fadvise: Convert docs to docparse
Date: Wed, 15 Jan 2025 13:45:13 +0100	[thread overview]
Message-ID: <20250115124513.GC648257@pevik> (raw)
In-Reply-To: <2i72vxn22otybddbjyhmsqyxyw2a7jgsswjpbkjccv75ei3n3j@robwkpf3zef6>

Hi Ricardo, Shiyang Ruan,

> On Wed, Jan 15, 2025 at 06:38:13PM +0800, Shiyang Ruan via ltp wrote:
> > Signed-off-by: Shiyang Ruan <ruansy.fnst@fujitsu.com>
> > ---
> >  .../kernel/syscalls/fadvise/posix_fadvise01.c  | 17 +++--------------
> >  .../kernel/syscalls/fadvise/posix_fadvise02.c  | 17 +++--------------
> >  .../kernel/syscalls/fadvise/posix_fadvise03.c  | 18 ++++--------------
> >  .../kernel/syscalls/fadvise/posix_fadvise04.c  | 17 +++--------------
> >  4 files changed, 13 insertions(+), 56 deletions(-)

> > diff --git a/testcases/kernel/syscalls/fadvise/posix_fadvise01.c b/testcases/kernel/syscalls/fadvise/posix_fadvise01.c
> > index 71e6454d8..650459455 100644
> > --- a/testcases/kernel/syscalls/fadvise/posix_fadvise01.c
> > +++ b/testcases/kernel/syscalls/fadvise/posix_fadvise01.c
> > @@ -3,21 +3,10 @@
> >   * Copyright (c) Red Hat Inc., 2007
> >   */

> > -/*
> > - * NAME
> > - *	posix_fadvise01.c
> > - *
> > - * DESCRIPTION
> > - *	Check the value that posix_fadvise returns for wrong ADVISE value.
> > - *
> > - * USAGE
> > - *	posix_fadvise01
> > - *
> > - * HISTORY
> > - *	11/2007 Initial version by Masatake YAMATO <yamato@redhat.com>

> IMHO, you could keep these 'HISTORY' lines below the copyright.

IMHO we should keep names or whatever info is there. But don't have to keep
messy formatting or original comments. I would personally keep here only:

 * Author: Masatake YAMATO <yamato@redhat.com>
(it's obvious it was initial version and Red Hat copyright 2007)

or more conservative:
 * Initial version by Masatake YAMATO <yamato@redhat.com>

Kind regards,
Petr

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2025-01-15 12:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-15 10:38 [LTP] [PATCH] posix_fadvise: Convert docs to docparse Shiyang Ruan via ltp
2025-01-15 12:31 ` Ricardo B. Marliere via ltp
2025-01-15 12:45   ` Petr Vorel [this message]
2025-01-16  8:15     ` Shiyang Ruan via ltp
2025-01-16  8:46 ` [LTP] [PATCH v2] " Shiyang Ruan via ltp
2025-02-05 10:10   ` Shiyang Ruan via ltp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250115124513.GC648257@pevik \
    --to=pvorel@suse.cz \
    --cc=ltp@lists.linux.it \
    --cc=rbm@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox