From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/14190 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Petr Vorel Newsgroups: gmane.linux.lib.musl.general Subject: [PATCH 2/2] define mt_fileno and mt_fileno struct mtget members as mt_blkno Date: Fri, 7 Jun 2019 07:14:44 +0200 Message-ID: <20190607051444.20316-2-petr.vorel@gmail.com> References: <20190607051444.20316-1-petr.vorel@gmail.com> Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="9695"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Petr Vorel To: musl@lists.openwall.com Original-X-From: musl-return-14207-gllmg-musl=m.gmane.org@lists.openwall.com Fri Jun 07 07:15:18 2019 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1hZ7Dh-0002PL-OB for gllmg-musl@m.gmane.org; Fri, 07 Jun 2019 07:15:17 +0200 Original-Received: (qmail 23630 invoked by uid 550); 7 Jun 2019 05:15:11 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 22497 invoked from network); 7 Jun 2019 05:15:10 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DpGaaHfyh1UWfAW1tDiNQBlCDRRZFTjVJxBoKGoWASM=; b=Av9Sj/6V9o5LXIfmhPagGJSeCvuL4Iw/gE77bD0J7RZBr9MACzzH3UH5EQRuzDjTdE rbjCNz2CordBecWepIRxA9NGyblmd76SQ4cFWeMq/gzGu5RiSBwlra2c2T7kdozYLwlc uJt8eefnT5bSDwa174Um+e5CQBJmhbfMQ3GblnBDGpypAEnkbZZ34QZgy3AQ0F+jyFOa UV62qb8qZRQGSexxLx+7qdMWAHlzlBt9hQPfgT6mTkKrg7RtFB8GT6ofH5NKqaJ9OhKl iCgjOyWmyBFs1fLH9kElGVlHw6uHySNQat9WXNbhM45E7I8T4f2bfnUyVSzkwEdq75eK GHdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=DpGaaHfyh1UWfAW1tDiNQBlCDRRZFTjVJxBoKGoWASM=; b=oWeKLbFk1tM3Pvkr8KjsYojToH0YLP21m+nnNyLGfbudjbWKBoJzVW4oIS64V+8dC3 QT+fMtyRnPSANQr7MQclzchHZSKUJK5PxBpClmDjQU8g51wlnG8IL0Uq+usptYcnYDcZ tSSQoSf0C8QT9smBqGDzND/A7Oz665c3k13cQ+bvAU9XVzJnhN80aB18fypLC4VfAANa pKBxB8eSfUJgO4TkYnz4ZJa49OZvpwNz75dYGkaPydbFufvhIRYUiSuRv5Cco1P/jV+b rl0Ta8RQsaKkfaVmhg6hgfDhhJgoI2HyQkqsidHBYhBE3oCpDAqZuew9jTtF+/c9VVt4 nPNQ== X-Gm-Message-State: APjAAAVrLR0KEBMXg3gD60D45YjQuS8OJr0RblC6BtPW/OHt6vNC3cfo JlbonPQW6ljmuKJEnBss/3s7fGtz X-Google-Smtp-Source: APXvYqz303gQbLZUa98Hu4YPRESF2GgH/4m1M59jpc2UqEQ6PJCoZdLNsW1WK9SivXOmNVhai6xEiQ== X-Received: by 2002:adf:dfc6:: with SMTP id q6mr4476736wrn.104.1559884499196; Thu, 06 Jun 2019 22:14:59 -0700 (PDT) X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190607051444.20316-1-petr.vorel@gmail.com> Xref: news.gmane.org gmane.linux.lib.musl.general:14190 Archived-At: following kernel definition, this fixes size on mips. Signed-off-by: Petr Vorel --- include/sys/mtio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/sys/mtio.h b/include/sys/mtio.h index f16a529b..4dd4c548 100644 --- a/include/sys/mtio.h +++ b/include/sys/mtio.h @@ -54,8 +54,8 @@ struct mtget { long mt_dsreg; long mt_gstat; long mt_erreg; - int mt_fileno; - int mt_blkno; + daddr_t mt_fileno; + daddr_t mt_blkno; }; #define MT_ISUNKNOWN 0x01 -- 2.21.0