From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] test: fix missing NULL pointer checks Date: Tue, 27 Jan 2015 15:42:42 +0100 Message-ID: <3160954.49hHdJy1hX@xps13> References: <1422368268-10068-1-git-send-email-danielx.t.mrzyglod@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Daniel Mrzyglod Return-path: In-Reply-To: <1422368268-10068-1-git-send-email-danielx.t.mrzyglod-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 2015-01-27 15:17, Daniel Mrzyglod: > In test_sched, we are missing NULL pointer checks after calls to create the > mempool and to allocate an mbuf. Add in these checks using TEST_ASSERT_NOT_NULL macros. > > Signed-off-by: Daniel Mrzyglod [...] > + TEST_ASSERT_NOT_NULL(mp, "Error create mempool\n"); Asked previously (http://dpdk.org/ml/archives/dev/2014-December/010392.html), it seems to be a typo: create -> creating Sorry to insist but I'm not an english native and it seems weird to me. -- Thomas