[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFd5g46vj-+SyXP-B+AVZ58aNbD2weRCQ63tDG=HfBn3dttbUQ@mail.gmail.com>
Date: Fri, 21 Jan 2022 17:12:26 -0500
From: Brendan Higgins <brendanhiggins@...gle.com>
To: Daniel Latypov <dlatypov@...gle.com>
Cc: davidgow@...gle.com, linux-kernel@...r.kernel.org,
kunit-dev@...glegroups.com, linux-kselftest@...r.kernel.org,
skhan@...uxfoundation.org
Subject: Re: [PATCH 2/5] kunit: drop unused intermediate macros for ptr
inequality checks
On Tue, Jan 18, 2022 at 5:35 PM Daniel Latypov <dlatypov@...gle.com> wrote:
>
> We have the intermediate macros for KUNIT_EXPECT_PTR_GT() and friends,
> but these macros don't exist.
>
> I can see niche usecases for these macros existing, but since we've been
> fine without them for so long, let's drop this dead code.
>
> Users can instead cast the pointers and use the other GT/LT macros.
>
> Signed-off-by: Daniel Latypov <dlatypov@...gle.com>
Oh, whoops, I didn't even realize we were missing those variants.
Reviewed-by: Brendan Higgins <brendanhiggins@...gle.com>
Powered by blists - more mailing lists