From owner-svn-src-all@freebsd.org Thu Aug 24 00:04:55 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3C025DF172C; Thu, 24 Aug 2017 00:04:55 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-it0-x22b.google.com (mail-it0-x22b.google.com [IPv6:2607:f8b0:4001:c0b::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 046F422C1; Thu, 24 Aug 2017 00:04:55 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-it0-x22b.google.com with SMTP id f135so5608455ita.0; Wed, 23 Aug 2017 17:04:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=52z7XYk1x9iTadOpV2tT+1dCM1KagU7GE0Z3RFF0T+A=; b=a7XiYuHCttCxlzBSIOiXJ7Vo9odNWX7CItGi1bnwHCc2IB1Cax6c7DKyGCOkVSqYLo v64lEKuEqwHTI+Y17qYZw3T9NKPnW8NNnRUOHKutl8BTzqA7I0TECl/2ZbtIMZp2YlQR FfcJC/pc0gumQIsYFixPXLIvvnuOMWCMmvkcgDV06YC4XWE+46l7Fjc2Z/kWOylyVN6s D5XYHwJaU+8qKRFqzor9NeA92MbXOAcnoGW2K7RPXmfskIq5AyaymciTCEi89hWwusSB xQODjLA3qfNFHu1roI2ZD97OVekDahKerOedlTTTl0C24M2jy6YL2uZONvUOIUnMRs3c PmWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=52z7XYk1x9iTadOpV2tT+1dCM1KagU7GE0Z3RFF0T+A=; b=lI9cu+AngboysHhsesz90hTbSoEvWnxPHCz37/53+VD+T9FfWG7Bv0EAMgWEgJc5kA Y0Fl8J5Ipu6zrxu8a4skp2GxDZWiuMAGcRUCTwlD0RD2ei2yO8qqoMwG8eCsR88D5lux LEUspUs5yyyyUMf0Qi+vP6vQF+Zn1jry7oGoa/jVLv/pOM3x4gTB5JbzPbngXF3rLLDU OhthQn6jXC3ZsmjdMOU9by+uQV6FxU5UTXvIV9i2Cww2fEAZvx7bB0pSv5uqUJ2p8tiQ txeMAGIYog6w3L1Ic9AmaOOZeN3kQrsQgYSSMSFJvODwz7pC0yGVroJ4uci/QbUXxgQG R8Pw== X-Gm-Message-State: AHYfb5iq0V5jcDjS2ArMsUsmKoR8HwJbhIxzDRF1JE4uyweZOSZEkV+g 85bRzkBqxPSszSVJgdRB7i+WYSFiE4WiiCs= X-Received: by 10.36.37.143 with SMTP id g137mr4608260itg.35.1503533094186; Wed, 23 Aug 2017 17:04:54 -0700 (PDT) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.24.66 with HTTP; Wed, 23 Aug 2017 17:04:33 -0700 (PDT) In-Reply-To: <201708231209.v7NC9bBJ070335@repo.freebsd.org> References: <201708231209.v7NC9bBJ070335@repo.freebsd.org> From: Ed Maste Date: Wed, 23 Aug 2017 20:04:33 -0400 X-Google-Sender-Auth: 1rbfkwdaUaHiQZbvPWv5AKFkqM0 Message-ID: Subject: Re: svn commit: r322810 - in head: share/man/man4 sys/conf sys/dev/mlx5/mlx5_ib sys/modules sys/modules/mlx5ib To: Hans Petter Selasky Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2017 00:04:55 -0000 On 23 August 2017 at 08:09, Hans Petter Selasky wrote: > Author: hselasky > Date: Wed Aug 23 12:09:37 2017 > New Revision: 322810 > URL: https://svnweb.freebsd.org/changeset/base/322810 > > Log: > Add new mlx5ib(4) driver to the kernel source tree which supports > Remote DMA over Converged Ethernet, RoCE, for the ConnectX-4 series of > PCI express network cards. i386 lint kernel is now failing with: /scratch/tmp/emaste/freebsd/sys/dev/mlx5/mlx5_ib/mlx5_ib_mem.c:58:21: error: incompatible pointer types passing 'uintptr_t *' (aka 'unsigned int *') to parameter of type 'const unsigned long *' [-Werror,-Wincompatible-pointer-types] m = find_first_bit(&tmp, 8 * sizeof(tmp)); ^~~~ /scratch/tmp/emaste/freebsd/sys/compat/linuxkpi/common/include/linux/bitops.h:111:37: note: passing argument to parameter 'addr' here find_first_bit(const unsigned long *addr, unsigned long size) ^ /scratch/tmp/emaste/freebsd/sys/dev/mlx5/mlx5_ib/mlx5_ib_mem.c:70:23: error: incompatible pointer types passing 'uintptr_t *' (aka 'unsigned int *') to parameter of type 'const unsigned long *' [-Werror,-Wincompatible-pointer-types] find_first_bit(&tmp, 8 * sizeof(tmp))); ^~~~ /scratch/tmp/emaste/freebsd/sys/compat/linuxkpi/common/include/linux/kernel.h:366:17: note: expanded from macro 'min_t' type __min2 = (y); \ ^ /scratch/tmp/emaste/freebsd/sys/compat/linuxkpi/common/include/linux/bitops.h:111:37: note: passing argument to parameter 'addr' here find_first_bit(const unsigned long *addr, unsigned long size) ^ /scratch/tmp/emaste/freebsd/sys/dev/mlx5/mlx5_ib/mlx5_ib_mem.c:78:25: error: incompatible pointer types passing 'uintptr_t *' (aka 'unsigned int *') to parameter of type 'const unsigned long *' [-Werror,-Wincompatible-pointer-types] m = find_first_bit(&tmp, 8 * sizeof(tmp)); ^~~~ /scratch/tmp/emaste/freebsd/sys/compat/linuxkpi/common/include/linux/bitops.h:111:37: note: passing argument to parameter 'addr' here find_first_bit(const unsigned long *addr, unsigned long size) ^ 3 errors generated.