<div dir="ltr">I have developed a driver which has become unstable. Now when I debug,I find that it is crashing at <div><a href="http://lxr.free-electrons.com/source/kernel/cred.c?v=3.8#L431">http://lxr.free-electrons.com/source/kernel/cred.c?v=3.8#L431</a><br>
</div><div>get_cred(new); where null is struct cred *new.<br></div><div> </div><div>I think this new might be NULL.</div><div><br></div><div>Now I plan to add an assert in our macro that deals with creds, like for asserting passed object isn't NULL.</div>
<div><br></div><div>Any suggestions as to how I can do that?</div><div><br></div><div>Regards,</div><div>Saket Sinha</div></div>