Re: [PATCH 1/3] staging: ft1000: Fix compilation warning.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Randy Dunlap
Date: Wednesday, November 10, 2010 - 9:38 am

On Wed, 10 Nov 2010 11:15:26 +0100 Marek Belisko wrote:



a.  always include the warning or error message that the patch fixes

b.  (quoting from another email yesterday:)

so in your analysis of this compiler warning, was the warning correct & justified,
or was it false?  I.e., is the init to NULL needed?

If it was false, could we just silence the warning by using:

	struct ft1000_info *unitialized_var(pft1000info);

plus #include <linux/compiler.h> ?




---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/3] staging: ft1000: Fix compilation warning., Marek Belisko, (Wed Nov 10, 3:15 am)
[PATCH 3/3] staging: ft1000: Remove unused variables., Marek Belisko, (Wed Nov 10, 3:15 am)
Re: [PATCH 1/3] staging: ft1000: Fix compilation warning., Randy Dunlap, (Wed Nov 10, 9:38 am)
Re: [PATCH 1/3] staging: ft1000: Fix compilation warning., Belisko Marek, (Fri Nov 12, 2:57 am)