public inbox for linux-serial@vger.kernel.org
 help / color / mirror / Atom feed
From: Ivan Bakula <wamreu@gmail.com>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: robh@kernel.org, jirislaby@kernel.org,
	linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] TTY: serdev: Replace depricated macros
Date: Fri, 7 May 2021 13:16:38 +0200	[thread overview]
Message-ID: <YJUhZP1FwMlUfWrw@r00t> (raw)
In-Reply-To: <YJQp4W2X/tuvLfVA@kroah.com>

Thank you for your reply.

> If these really are "deprecated", 

According to the comment in file "include/linux/idr.h" (line 318) these
macros are depricated.

> why not just do a search/replace across the whole tree and change them?

I've stumbled across these macros while trying to figure out how to write 
device driver using serial device bus. So, I've decided to change them with
appropriate function calls.

I didn't do search/replace across the whole tree because it's my first 
patch and I wanted it to be short. But now, when you mentioned it, 
I will do it.

Thank you for your time,

Ivan Bakula

  reply	other threads:[~2021-05-07 10:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-06 18:32 [PATCH] TTY: serdev: Replace depricated macros Ivan Bakula
2021-05-06 17:39 ` Greg KH
2021-05-07 11:16   ` Ivan Bakula [this message]
2021-05-07 10:51     ` Greg KH
2021-05-07 20:18       ` Ivan Bakula

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=YJUhZP1FwMlUfWrw@r00t \
    --to=wamreu@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jirislaby@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=robh@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox