tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: Using coccinelle for (quick?) syntax fixing
> On Thu, 12 Aug 2010, Bernd Ernesti wrote:
> >> if (dev_priv == NULL) {
> >> DRM_ERROR("called with no initialization\n");
> >> - DRM_SPINUNLOCK(&dev_priv->cs.cs_mutex);
> ...
> > Hmm, you didn't mention why you are doing that in your initial mail.
>
> Use of pointer after determining it's NULL, in thias case dev_priv
> (it _was_ in one of the prior mails).
yes, but the pointer has already been derefernced. the above
is not the correct fix.
.mrg.
Home |
Main Index |
Thread Index |
Old Index