Re: [PATCH 2/2] staging: most: avoid assignment in if
Just ignore the checkpatch warning. regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
[PATCH 2/2] staging: most: avoid assignment in if
checkpatch is giving a warning about an assignment in the if condition. The assignment was there as the valid mbo pointer was used after we have woken up from wait_event_interruptible(). Now even though we donot assign the pointer to mbo but we will still be able to get the valid pointer for later