All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: "Ricardo Cañuelo" <ricardo.canuelo@collabora.com>
Cc: stable@vger.kernel.org
Subject: Re: [PATCH] selftests: intel_pstate: ftime() is deprecated
Date: Tue, 11 Apr 2023 13:39:30 +0200	[thread overview]
Message-ID: <2023041111-rewrap-cabana-3966@gregkh> (raw)
In-Reply-To: <20230411111533.1442349-1-ricardo.canuelo@collabora.com>

On Tue, Apr 11, 2023 at 01:15:33PM +0200, Ricardo Cañuelo wrote:
> From: Tommi Rantala <tommi.t.rantala@nokia.com>
> 
> commit fc4a3a1bf9ad799181e4d4ec9c2598c0405bc27d upstream.
> 
> Use clock_gettime() instead of deprecated ftime().
> 
>   aperf.c: In function ‘main’:
>   aperf.c:58:2: warning: ‘ftime’ is deprecated [-Wdeprecated-declarations]
>      58 |  ftime(&before);
>         |  ^~~~~
>   In file included from aperf.c:9:
>   /usr/include/sys/timeb.h:39:12: note: declared here
>      39 | extern int ftime (struct timeb *__timebuf)
>         |            ^~~~~
> 
> Signed-off-by: Tommi Rantala <tommi.t.rantala@nokia.com>
> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
> Reviewed-by: Ricardo Cañuelo <ricardo.canuelo@collabora.com>

As you are passing this on to us, you need to also sign off on it as per
our documentation.

thanks,

greg k-h

  reply	other threads:[~2023-04-11 11:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-11 11:15 [PATCH] selftests: intel_pstate: ftime() is deprecated Ricardo Cañuelo
2023-04-11 11:39 ` Greg KH [this message]
2023-04-11 12:17   ` Ricardo Cañuelo
  -- strict thread matches above, loose matches on Subject: below --
2020-10-16 13:22 Tommi Rantala
2020-10-27 20:08 ` Shuah Khan
2020-10-28  7:36   ` Rantala, Tommi T. (Nokia - FI/Espoo)
2020-10-28 15:06     ` Shuah Khan

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=2023041111-rewrap-cabana-3966@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=ricardo.canuelo@collabora.com \
    --cc=stable@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.