Return-Path: Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Subject: Re: [BUG] Btattach, ioctl fails to set flags from 32-bit user space to 64-bit From: Marcel Holtmann In-Reply-To: Date: Mon, 25 Jan 2016 08:55:11 +0100 Cc: linux-bluetooth@vger.kernel.org Message-Id: <18D7713A-8106-4B08-B49E-29102CEB3803@holtmann.org> References: To: Jaap Jan Meijer Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Jaap, >> Thank you, that was very good guess work. Btattach is now able to >> attach by bcm43241 in the mixed arch situation. Should I supply a >> patch or will you just add it? I'll will send-email a patch anyway. > > I just send a patch that should be more correct on all platforms. Can you try that one out please. actually it might be just some missing COMPATIBLE_IOCTL declarations. I just send a patch for that. The patch is correct by itself, but it might actually fix your issue and no .compat_ioctl is needed. Regards Marcel