Print this page
10115 ses topo module needs smatch fixes

*** 476,487 **** ses_ct_print("start contract event thread"); efd = open64(CTFS_ROOT "/device/pbundle", O_RDONLY); fds.fd = efd; fds.events = POLLIN; fds.revents = 0; ! sigaddset(&sigset, sesthread.thr_sig); ! pthread_sigmask(SIG_UNBLOCK, &sigset, NULL); for (;;) { /* check if we've been asked to exit */ (void) pthread_mutex_lock(&sesthread.mt); if (sesthread.doexit) { (void) pthread_mutex_unlock(&sesthread.mt); --- 476,487 ---- ses_ct_print("start contract event thread"); efd = open64(CTFS_ROOT "/device/pbundle", O_RDONLY); fds.fd = efd; fds.events = POLLIN; fds.revents = 0; ! (void) sigaddset(&sigset, sesthread.thr_sig); ! (void) pthread_sigmask(SIG_UNBLOCK, &sigset, NULL); for (;;) { /* check if we've been asked to exit */ (void) pthread_mutex_lock(&sesthread.mt); if (sesthread.doexit) { (void) pthread_mutex_unlock(&sesthread.mt);