[lkml]   [2008]   [Dec]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 03/27] drivers/net: fix sparse warning: returning void-valued expression
From: Hannes Eder <>
Date: Mon, 22 Dec 2008 20:15:17 +0100

> Fix this sparse warning:
> drivers/net/niu.c:8850:2: warning: returning void-valued expression
> Signed-off-by: Hannes Eder <>

Can we just fix sparse not to generate this warning? It's
marginal, at best. C++ even explicitly defines this as valid
and last time I brought this up Linus even agreed.

The types match, the function returns void and it is returning a void,
what is the problem?

 \ /
  Last update: 2008-12-26 01:21    [W:0.311 / U:2.676 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site