coccinelle: standardize k_mbox_data_block_get call with timeout

Re-run with updated script to convert integer literal delay arguments to
k_mbox_data_block_get to use the standard timeout macros.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
This commit is contained in:
Peter Bigot 2019-10-06 13:56:20 -05:00 committed by Anas Nashif
commit 3423d8b2a4

View file

@ -419,7 +419,8 @@ static void tmbox_get(struct k_mbox *pmbox)
NULL);
zassert_true(k_mbox_data_block_get
(&mmsg, &mpoolrx, &rxblock, 1) == -EAGAIN, NULL);
(&mmsg, &mpoolrx, &rxblock, K_MSEC(1)) == -EAGAIN,
NULL);
/* Now dispose of the block since the test case finished */
k_mbox_data_get(&mmsg, NULL);