Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752634AbcDZPXY (ORCPT ); Tue, 26 Apr 2016 11:23:24 -0400 Received: from quartz.orcorp.ca ([184.70.90.242]:45641 "EHLO quartz.orcorp.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751101AbcDZPXU (ORCPT ); Tue, 26 Apr 2016 11:23:20 -0400 Date: Tue, 26 Apr 2016 09:23:18 -0600 From: Jason Gunthorpe To: Dennis Dalessandro Cc: dledford@redhat.com, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/7] IB/hfi1: Remove write() and use ioctl() for user access Message-ID: <20160426152318.GE24104@obsidianresearch.com> References: <20160414153727.6387.96381.stgit@scvm10.sc.intel.com> <20160414164550.GC6247@obsidianresearch.com> <20160414175243.GA9310@phlsvsds.ph.intel.com> <20160420203616.GA28991@obsidianresearch.com> <20160422183844.GB21996@phlsvsds.ph.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160422183844.GB21996@phlsvsds.ph.intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Broken-Reverse-DNS: no host name found for IP address 10.0.0.160 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 579 Lines: 16 On Fri, Apr 22, 2016 at 02:38:45PM -0400, Dennis Dalessandro wrote: > >Stuff like this should be a build bug: > >/* NOTE: assumes unsigned long is 8 bytes */ > > Our Kconfig depends on X86_64. Should we add a BUILD_BUG_ON or something? Yes > as we can maintain the same functionality, which seems doable. It's just > that no one has spoken up about these things in the 9+ months since the > driver was added. We need a bit of time to get it all sorted out. Unfortunately this is a bit of a flaw with the staging process, really it is not designed to handle uAPI work. Jason