From: Florian Bezdeka <florian.bezdeka@siemens.com>
To: Jan Kiszka <jan.kiszka@siemens.com>, xenomai@lists.linux.dev
Subject: Re: [PATCH v2 1/4] cobalt/posix/syscall32: Remove unused mq_fetch_timeout
Date: Thu, 27 Jul 2023 17:56:17 +0200 [thread overview]
Message-ID: <0a144aa18a10aa1fc9198db540232988a447100f.camel@siemens.com> (raw)
In-Reply-To: <cc04e011-056c-08ef-57d9-57c14c6a6758@siemens.com>
On Thu, 2023-07-20 at 18:37 +0200, Jan Kiszka wrote:
> On 17.07.23 11:10, Florian Bezdeka wrote:
> > Removal of unused (and broken) code. Using cobalt_get_u_timespec would
> > have been wrong and sys32_fetch_timespec would have been correct.
> >
> > Signed-off-by: Florian Bezdeka <florian.bezdeka@siemens.com>
> > ---
> > kernel/cobalt/posix/syscall32.c | 6 ------
> > 1 file changed, 6 deletions(-)
> >
> > diff --git a/kernel/cobalt/posix/syscall32.c b/kernel/cobalt/posix/syscall32.c
> > index 780d276b1..c82cc60a2 100644
> > --- a/kernel/cobalt/posix/syscall32.c
> > +++ b/kernel/cobalt/posix/syscall32.c
> > @@ -318,12 +318,6 @@ COBALT_SYSCALL32emu(mq_timedreceive64, primary,
> > return ret ?: cobalt_copy_to_user(u_len, &clen, sizeof(*u_len));
> > }
> >
> > -static inline int mq_fetch_timeout(struct timespec64 *ts,
> > - const void __user *u_ts)
> > -{
> > - return u_ts == NULL ? -EFAULT : cobalt_get_u_timespec(ts, u_ts);
> > -}
> > -
> > COBALT_SYSCALL32emu(mq_notify, primary,
> > (mqd_t fd, const struct compat_sigevent *__user u_cev))
> > {
> >
>
> Applying this cleanup already.
That's not yet visible on source.denx.de. Missing git push?
Regards,
Florian
>
> Thanks,
> Jan
>
> --
> Siemens AG, Technology
> Linux Expert Center
next prev parent reply other threads:[~2023-07-27 16:06 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-17 9:10 [PATCH v2 0/4] y2038: Add time64_t support to scheduler and thread APIs Florian Bezdeka
2023-07-17 9:10 ` [PATCH v2 1/4] cobalt/posix/syscall32: Remove unused mq_fetch_timeout Florian Bezdeka
2023-07-20 16:37 ` Jan Kiszka
2023-07-27 15:56 ` Florian Bezdeka [this message]
2023-07-17 9:10 ` [PATCH v2 2/4] y2038: cobalt/uapi: Migrate struct sched_param_ex to time64_t Florian Bezdeka
2023-07-20 16:36 ` Jan Kiszka
2023-07-21 12:43 ` Florian Bezdeka
2023-07-26 5:38 ` Jan Kiszka
2023-07-20 16:47 ` Jan Kiszka
2023-07-21 12:51 ` Florian Bezdeka
2023-07-26 5:30 ` Jan Kiszka
2023-07-17 9:10 ` [PATCH v2 3/4] y2038: cobalt/uapi: Remove __user_old_{timespec,itimerspec,timeval,timex} Florian Bezdeka
2023-07-17 9:10 ` [PATCH v2 4/4] y2038: cobalt/{thread,sched}: Remove obsolete compat handling Florian Bezdeka
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=0a144aa18a10aa1fc9198db540232988a447100f.camel@siemens.com \
--to=florian.bezdeka@siemens.com \
--cc=jan.kiszka@siemens.com \
--cc=xenomai@lists.linux.dev \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).