lkml.org 
[lkml]   [2008]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] drivers/net/cs89x0.c: compilation warning fix
Leonardo Potenza wrote:
> From: Leonardo Potenza <lpotenza@inwind.it>
>
> Suppress the warning message about the 'netcard_portlist' defined but not used.
>
> Signed-off-by: Leonardo Potenza <lpotenza@inwind.it>
> ---
>
> When building cs89x0 as a module, the following warning message is generated:
> drivers/net/cs89x0.c:198: warning: 'netcard_portlist' defined but not used
>
> Since the netcard_portlist is not so big, I just marked the array as __used.

applied




\
 
 \ /
  Last update: 2008-02-20 17:55    [W:0.050 / U:0.840 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site