Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756330AbbGTT43 (ORCPT ); Mon, 20 Jul 2015 15:56:29 -0400 Received: from bh-25.webhostbox.net ([208.91.199.152]:48060 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754579AbbGTT40 (ORCPT ); Mon, 20 Jul 2015 15:56:26 -0400 Message-ID: <55AD5265.5070109@roeck-us.net> Date: Mon, 20 Jul 2015 12:56:21 -0700 From: Guenter Roeck User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Yoshinori Sato CC: "linux-kernel@vger.kernel.org" , Geert Uytterhoeven , Arnd Bergmann , OGAWA Hirofumi , Jens Axboe , "linux-next@vger.kernel.org" Subject: Build failures in -next due to commit "asm-generic: {get,put}_user ptr argument evaluate only 1 time" Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Authenticated_sender: linux@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: linux@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1102 Lines: 29 Hi, Commit 52b2512d507d ("asm-generic: {get,put}_user ptr argument evaluate only 1 time") causes the following compile error with various architectures (arc, arcv2, c6x, hexagon, um, unicore32) in -next. block/scsi_ioctl.c: In function ‘sg_scsi_ioctl’: block/scsi_ioctl.c:436:2: error: invalid initializer if (get_user(opcode, sic->data)) ^ make[1]: *** [block/scsi_ioctl.o] Error 1 A possible fix would be to use &sic->data[0] instead, but I am not sure if this change in semantics of get_user would be acceptable. Another failure due to the same commit is seen when building arc:axs103_defconfig. fs/fat/dir.c: In function ‘fat_ioctl_filldir’: fs/fat/dir.c:752:43: error: invalid initializer FAT_IOCTL_FILLDIR_FUNC(fat_ioctl_filldir, __fat_dirent) This error is related to the put_user changes. No idea how to fix that one. Guenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/