Fix minor compiler comments in CUDA code.

remotes/origin/master-1.1.x
Victor Julien 15 years ago
parent 2f1262b446
commit 43b2e63c1e

@ -24,6 +24,7 @@
#include "output.h"
#include "cuda-packet-batcher.h"
#include "source-pfring.h"
#include "detect-engine-mpm.h"
#include "alert-fastlog.h"
#include "alert-prelude.h"

@ -24,6 +24,7 @@
#include "output.h"
#include "cuda-packet-batcher.h"
#include "source-pfring.h"
#include "detect-engine-mpm.h"
#include "alert-fastlog.h"
#include "alert-prelude.h"

@ -2369,6 +2369,7 @@ void B2gCudaKillDispatcherThreadRC(void)
static int B2gCudaTest01(void)
{
Packet *p = NULL;
MpmCtx mpm_ctx;
MpmThreadCtx mpm_thread_ctx;
B2gCudaCtx *ctx = NULL;
@ -2427,7 +2428,7 @@ static int B2gCudaTest01(void)
pb->packets_offset_buffer[0] = 0;
pb->packets_payload_offset_buffer[0] = 0;
Packet *p = SCMalloc(SIZE_OF_PACKET);
p = SCMalloc(SIZE_OF_PACKET);
if (p == NULL)
goto end;
memset(p, 0, SIZE_OF_PACKET);

@ -654,6 +654,7 @@ void MpmCudaConfCleanup(MpmCudaConf *conf)
/************************************Unittests*********************************/
#ifdef UNITTESTS
#ifdef __SC_CUDA_SUPPORT__
static int MpmInitYamlConf(char *conf)
@ -1217,6 +1218,7 @@ static int MpmTest11(void)
}
#endif /* __SC_CUDA_SUPPORT__ */
#endif /* UNITTESTS */
void MpmRegisterTests(void) {
#ifdef UNITTESTS

Loading…
Cancel
Save