Who's job is it to verify a task_struct pointer before using it, the
driver or send_sig()?
/*
* If the user requested to be notified via signal,
* let them know the frame is complete.
*/
if(mtr->proc && mtr->signal)
send_sig(mtr->signal, mtr->proc, 1);
} else {
/* not complete frame yet, but check if user wants a signal each field a
nyway */
if (mtr->sigmode==METEOR_SIG_FIELD && mtr->proc && mtr->signal)
send_sig(mtr->signal, mtr->proc, 1);
}
Thanks!
Ty
-- Tyson D Sawyer Real World Interface, Inc. Senior Systems Engineer Robots for the Real World tsawyer@rwii.com http://www.rwii.com/