[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <adahcg2awag.fsf@cisco.com>
Date: Thu, 21 Feb 2008 12:28:55 -0800
From: Roland Dreier <rdreier@...co.com>
To: Adrian Bunk <bunk@...nel.org>
Cc: Glenn Streiff <gstreiff@...Effect.com>,
Faisal Latif <flatif@...Effect.com>,
linux-kernel@...r.kernel.org, general@...ts.openfabrics.org
Subject: Re: [ofa-general] [2.6 patch] infiniband/hw/nes/nes_verbs.c: fix off-by-one
> This driver should really have gotten some review before being included
> in the kernel.
> Even a simple checkpatch run finds more than > 250 stylistic errors
> (not code bugs but cases where the driver violates the standard code
> formatting rules of kernel code).
Linus has strongly stated that we should merge hardware drivers early,
and I agree: although the nes driver clearly needs more work, there's
no advantage to users with the hardware in forcing them to wait for
2.6.26 to merge the driver, since they'll just have to patch the
grungy code in themselves anyway. And by merging the driver early, we
get fixed up for any tree-wide changes and allow janitors to help with
the cleanup.
(By the way, the code is not that pretty but it a lot closer to
upstream style than most driver submissions)
> And these are just comments from someone with zero knowledge about
> InfiniBand, but I'd expect InfiniBand-specifig bugs might be found
> before they hit users if an InfiniBand maintainer would review the
> complete driver.
Just for the record, although this driver is under drivers/infiniband,
it is actually for a device that does iWARP/10 Gb ethernet. At some
point we may want to rename drivers/infiniband to drivers/rdma, but so
far the churn hasn't seemed worth it for what is basically a cosmetic
issue.
- R.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists