Re: [PATCH 1/2 v4] Driver for Freescale 8610 and 5121 DIU

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Anton Vorontsov
Date: Friday, March 28, 2008 - 10:48 am

On Fri, Mar 28, 2008 at 12:30:29PM -0500, Scott Wood wrote:

Maybe better would be to define "buf" at the top of this function as
void __user *buf = (void __user *)arg;, i.e. just once?


This if (!arg) appears to be everywhere except default: label, maybe
this could be placed on top too?


-- 
Anton Vorontsov
email: cboumailru@gmail.com
irc://irc.freenode.net/bd2
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
v4 patch to add FSL DIU framebuffer driver, York Sun, (Thu Mar 27, 7:40 pm)
Re: [PATCH 1/2 v4] Driver for Freescale 8610 and 5121 DIU, Anton Vorontsov, (Fri Mar 28, 10:48 am)