Re: [U-Boot] [PATCH 3/3] cfb_console.c: checkpatch cleanup

2011-07-30 Thread Wolfgang Denk
Dear Sergei, In message <4e341151.8080...@mvista.com> you wrote: > > > - if ((pGD = video_hw_init()) == NULL) > > + pGD = video_hw_init()) == ; > > Did you try to compile this? :-) Heh. What's your guess? Sorry, will send update. Sergei, for quite some time you have been performing c

Re: [U-Boot] [PATCH 3/3] cfb_console.c: checkpatch cleanup

2011-07-30 Thread Sergei Shtylyov
Hello. On 29-07-2011 23:55, Wolfgang Denk wrote: > Fix the following: > ERROR: do not initialise statics to 0 or NULL > ERROR: do not use assignment in if condition > Signed-off-by: Wolfgang Denk > --- > drivers/video/cfb_console.c | 16 ++-- > 1 files changed, 10 insertions(+)

[U-Boot] [PATCH 3/3] cfb_console.c: checkpatch cleanup

2011-07-29 Thread Wolfgang Denk
Fix the following: ERROR: do not initialise statics to 0 or NULL ERROR: do not use assignment in if condition Signed-off-by: Wolfgang Denk --- drivers/video/cfb_console.c | 16 ++-- 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/drivers/video/cfb_console.c b/drive