All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@intel.com>
To: Matthew Howell <matthew.howell@sealevel.com>
Cc: linux-serial@vger.kernel.org, jeff.baldwin@sealevel.com,
	james.olson@sealevel.com, ryan.wenglarz@sealevel.com,
	darren.beeson@sealevel.com, ilpo.jarvinen@linux.intel.com
Subject: Re: [PATCH V3 2/2] serial: exar: Add RS-485 support for Sealevel XR17V35X based cards
Date: Fri, 1 Sep 2023 19:03:04 +0300	[thread overview]
Message-ID: <ZPILOMkXJZed4ci6@smile.fi.intel.com> (raw)
In-Reply-To: <a4d66170-82f3-5021-2991-3b67e6eb86d4@sealevel.com>

On Fri, Sep 01, 2023 at 10:26:01AM -0400, Matthew Howell wrote:
> On Thu, 31 Aug 2023, Andy Shevchenko wrote:
> > On Thu, Aug 31, 2023 at 03:48:08PM -0400, Matthew Howell wrote:

...

> > > +     if (rs485->flags & SER_RS485_ENABLED) {
> > 
> > Seems you haven't seen / ignored my comments. Please, read my previous reply.
> 
> You said !!() is redundant and I have removed !!(). Previous feedback also
> suggested that is_rs485 is not needed, but I had reverted both changes as 
> I initially thought it was the cause of a breakage. However, further testing 
> found the breakage was unrelated to this patch series. Therefore, I 
> attempted to address both suggestions by removing is_rs485 and !!() in 
> this submission.
> 
> I did not ignore your comments and I do not appreciate these insenuations. 

> I have made changes based on every one of your comments in the previous 
> submission, I just did not always address the comment in exactly you 
> suggested.
> 
> Please, clarify how this fails to address your comments and I will be 
> happy to correct it in the next submission.

I believe there is a misunderstanding in what I meant.
My previous comment was to change

	if (is_...) {
		...
	}
	return 0;

to

	if (!is_...)
		return 0;
	...
	return 0;

which is missing here. But as you said the entire "if" is redundant, so drop it.

> > > +    }

-- 
With Best Regards,
Andy Shevchenko



      reply	other threads:[~2023-09-01 16:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-31 19:48 [PATCH V3 2/2] serial: exar: Add RS-485 support for Sealevel XR17V35X based cards Matthew Howell
2023-08-31 23:17 ` Andy Shevchenko
2023-09-01 14:26   ` Matthew Howell
2023-09-01 16:03     ` Andy Shevchenko [this message]

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=ZPILOMkXJZed4ci6@smile.fi.intel.com \
    --to=andriy.shevchenko@intel.com \
    --cc=darren.beeson@sealevel.com \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=james.olson@sealevel.com \
    --cc=jeff.baldwin@sealevel.com \
    --cc=linux-serial@vger.kernel.org \
    --cc=matthew.howell@sealevel.com \
    --cc=ryan.wenglarz@sealevel.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 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.