#define RETTRACE(x)
#endif
-/** return from a void function, using a common exit point "Away" */
-#define RETVOID do { RETTRACE(0); goto Away; } while (0)
/** return from an int function, using a common exit point "Away"
* @param x the value to return
*/
#define CURRENT_FILE_PC UISLIB_PC_uisqueue_c
#define __MYFILE__ "uisqueue.c"
-#define RETVOID do { goto Away; } while (0)
#define RETINT(x) do { rc = (x); goto Away; } while (0)
#define CHECK_CACHE_ALIGN 0
if (ctx == NULL) {
ERRDRV("%s (%s:%d) - no context",
__func__, __FILE__, __LINE__);
- RETVOID;
+ goto Away;
}
phdr = (ULTRA_CONTROLVM_PARAMETERS_HEADER *) (ctx->data);
switch (which_string) {
break;
default:
ERRDRV("%s - bad which_string %d", __func__, which_string);
- RETVOID;
break;
}
- RETVOID;
Away:
return;
/* make sure visorbus server is registered for controlvm callbacks */
if (visorchipset_serverregwait && !serverregistered)
- RETVOID;
+ goto Away;
/* make sure visorclientbus server is regsitered for controlvm
* callbacks
*/
if (visorchipset_clientregwait && !clientregistered)
- RETVOID;
+ goto Away;
memset(&chanInfo, 0, sizeof(VISORCHIPSET_CHANNEL_INFO));
if (!ControlVm_channel) {
if ((ControlVm_channel != NULL) || (Poll_Count >= 250))
; /* keep going */
else
- RETVOID;
+ goto Away;
/* Check events to determine if response to CHIPSET_READY
* should be sent
/* parahotplug_worker */
parahotplug_process_list();
- RETVOID;
-
Away:
if (time_after(jiffies,
/* make sure visorbus server is registered for controlvm callbacks */
if (visorchipset_serverregwait && !serverregistered)
- RETVOID;
+ goto Away;
/* make sure visorclientbus server is regsitered for controlvm
* callbacks
*/
if (visorchipset_clientregwait && !clientregistered)
- RETVOID;
+ goto Away;
POSTCODE_LINUX_2(CRASH_DEV_ENTRY_PC, POSTCODE_SEVERITY_INFO);