From: Petr Vorel Date: Thu, 5 Mar 2020 13:21:17 +0100 Subject: [LTP] [PATCH 1/2] lib: Add safe timerfd macros In-Reply-To: <20200305115413.GA5882@dell5510> References: <20200304151201.19117-1-pvorel@suse.cz> <20200304164521.GA5603@dell5510> <20200305101122.GA31652@rei> <20200305115413.GA5882@dell5510> Message-ID: <20200305122117.GA14608@dell5510> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi Cyril, Martin, > > Actually for the sake of SAFE_MACROS() it makes sense to fail unless we > > got a valid result. So for > 0 for timerfd_create() > I guess you mean fd < 0 here (no " > 0), as it's a file descriptor. Merged with this change. Cyril, you can continue with your patchset. Kind regards, Petr