Re: [PATCH] staging: dgnc: replace DGNC_VERIFY_BOARD macro

2016-10-18 Thread Greg KH
On Mon, Oct 17, 2016 at 11:46:36PM +0200, Fernando ApesteguĂ­a wrote: > On Mon, Oct 17, 2016 at 10:29 AM, Greg KH wrote: > > On Fri, Oct 14, 2016 at 07:22:57PM +0200, Fernando Apesteguia wrote: > >> The patch replaces the macro with a function (dgnc_get_board) and > >>

Re: [PATCH] staging: dgnc: replace DGNC_VERIFY_BOARD macro

2016-10-17 Thread Fernando ApesteguĂ­a
On Mon, Oct 17, 2016 at 10:29 AM, Greg KH wrote: > On Fri, Oct 14, 2016 at 07:22:57PM +0200, Fernando Apesteguia wrote: >> The patch replaces the macro with a function (dgnc_get_board) and >> substitutes the macro statement with a call to that function and a >>

Re: [PATCH] staging: dgnc: replace DGNC_VERIFY_BOARD macro

2016-10-17 Thread Greg KH
On Fri, Oct 14, 2016 at 07:22:57PM +0200, Fernando Apesteguia wrote: > The patch replaces the macro with a function (dgnc_get_board) and > substitutes the macro statement with a call to that function and a > comparison on the returned value. > > This removes a checkpatch warning. > >

[PATCH] staging: dgnc: replace DGNC_VERIFY_BOARD macro

2016-10-14 Thread Fernando Apesteguia
The patch replaces the macro with a function (dgnc_get_board) and substitutes the macro statement with a call to that function and a comparison on the returned value. This removes a checkpatch warning. Signed-off-by: Fernando Apesteguia ---