/*
- * Copyright (c) 2014, 2015 Nicira, Inc.
+ * Copyright (c) 2014, 2015, 2016 Nicira, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* grace period. See "Usage" above for an example. */
void ovsrcu_postpone__(void (*function)(void *aux), void *aux);
#define ovsrcu_postpone(FUNCTION, ARG) \
- ((void) sizeof((FUNCTION)(ARG), 1), \
+ (/* Verify that ARG is appropriate for FUNCTION. */ \
+ (void) sizeof((FUNCTION)(ARG), 1), \
+ /* Verify that ARG is a pointer type. */ \
(void) sizeof(*(ARG)), \
ovsrcu_postpone__((void (*)(void *))(FUNCTION), ARG))