From patchwork Thu Aug 4 18:24:32 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Xose Vazquez Perez X-Patchwork-Id: 9264047 X-Patchwork-Delegate: christophe.varoqui@free.fr Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 075F260839 for ; Thu, 4 Aug 2016 18:28:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F04E428409 for ; Thu, 4 Aug 2016 18:28:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E4DCD2841F; Thu, 4 Aug 2016 18:28:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com [209.132.183.24]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B287C2841A for ; Thu, 4 Aug 2016 18:28:16 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u74IOfuX019071; Thu, 4 Aug 2016 14:24:41 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u74IOeGU015119 for ; Thu, 4 Aug 2016 14:24:40 -0400 Received: from mx1.redhat.com (ext-mx05.extmail.prod.ext.phx2.redhat.com [10.5.110.29]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u74IOeHs021409 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 4 Aug 2016 14:24:40 -0400 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 52D4B74E for ; Thu, 4 Aug 2016 18:24:39 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id x83so399989wma.3 for ; Thu, 04 Aug 2016 11:24:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=naAUmaPIK+X1O4nyyvgA4dLvuD0F4MVZN2v1GRTNc+k=; b=HW1vjmTTyeKYEqahKFBAlEbGP0iv2r8lVcVdFQjYHxDllr8vsyVlFW/TBwf2vsxbwx Y4cJs2H39nvmWw3iYH/k1ELWIGnw9zChmjOjUDlZvAVdSLOlBz6ikywEIQwaVHZjRXaz qehncnT91cu/MiztLU1hG4tjhPrUC2PswPn83mTU8xstHgi2A9met1ufMJJIQB3GK6/Y Q2ax0LffQMDCzql/kZ+MSQtDlGllqfNlh/eoxOq+GFy09tjECLS7ZqrHr2QsY9arbIgV wKDgEEI2e4AwjfDNBWzBg3R9uvoMAP76xmjoTPOkz9FWFm7E2+R+6cqAiR/I7/u4En4j RMuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=naAUmaPIK+X1O4nyyvgA4dLvuD0F4MVZN2v1GRTNc+k=; b=kDotdHSK62yP9O+NqT4yPxSE3TJPJBFJiMqD/d7sv6d4ISL0+Iw77dLJeL/XqIKrd8 1egFrQ3DL5/0tiWu0vkIA9RJgAlxP/gkXgYSuTS6fvUb1grZAKz+YKwRRv60KH86NWAP AUu+6/x4rAzB5kTP8XKYEEFbVeDrsXdpOBcMa+jfiegwounITW1DjVCPsEHCA5trAx2C eypa8bPrYjGggoNfJP8CR4awjpwpTALU9yBPlF1fHoRuBUVrd11AbOlweyZJTeHrGp90 rPqmy1QtKtpuf02hmL2QpXg/+tmQAiYtDZYTbCLXAEp2+xHJD7WQ5H9iT7qyZ4c642V2 YtPg== X-Gm-Message-State: AEkoouvk+1dDdFpT+5BMZHy1ykhFf0s6SktSS75VKgT3Va2gzMeNBWNiMPRZ7z6Z1xYwlQ== X-Received: by 10.28.214.130 with SMTP id n124mr70548525wmg.37.1470335078038; Thu, 04 Aug 2016 11:24:38 -0700 (PDT) Received: from localhost ([37.29.145.144]) by smtp.gmail.com with ESMTPSA id i1sm14000571wjl.9.2016.08.04.11.24.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Aug 2016 11:24:37 -0700 (PDT) From: Xose Vazquez Perez To: Date: Thu, 4 Aug 2016 20:24:32 +0200 Message-Id: <1470335072-13867-2-git-send-email-xose.vazquez@gmail.com> In-Reply-To: <1470335072-13867-1-git-send-email-xose.vazquez@gmail.com> References: <1470335072-13867-1-git-send-email-xose.vazquez@gmail.com> MIME-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Thu, 04 Aug 2016 18:24:39 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Thu, 04 Aug 2016 18:24:39 +0000 (UTC) for IP:'74.125.82.66' DOMAIN:'mail-wm0-f66.google.com' HELO:'mail-wm0-f66.google.com' FROM:'xose.vazquez@gmail.com' RCPT:'' X-RedHat-Spam-Score: -0.02 (BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS) 74.125.82.66 mail-wm0-f66.google.com 74.125.82.66 mail-wm0-f66.google.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.29 X-loop: dm-devel@redhat.com Cc: device-mapper development , Xose Vazquez Perez Subject: [dm-devel] [PATCH 2/2] multipath-tools: replace daddr_t type with long in kpartx/solaris.c X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Virus-Scanned: ClamAV using ClamSMTP daddr_t is an unknow type for musl libc musl-gcc output: solaris.c:14:2: error: unknown type name ‘daddr_t’ Replace it with long. Compiled tested only, please review. Cc: Christophe Varoqui Cc: device-mapper development Signed-off-by: Xose Vazquez Perez --- kpartx/solaris.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kpartx/solaris.c b/kpartx/solaris.c index 355a6cb..01da379 100644 --- a/kpartx/solaris.c +++ b/kpartx/solaris.c @@ -11,7 +11,7 @@ struct solaris_x86_slice { unsigned short s_tag; /* ID tag of partition */ unsigned short s_flag; /* permision flags */ - daddr_t s_start; /* start sector no of partition */ + long s_start; /* start sector no of partition */ long s_size; /* # of blocks in partition */ };