From patchwork Thu Oct 18 16:56:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 986073 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-96509-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="QxCdH1x3"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42bZvL1KV4z9sBn for ; Fri, 19 Oct 2018 03:56:29 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id :mime-version:content-type; q=dns; s=default; b=fKpM28cFitNW/FSE gsmAEa54QAV/emXN/tVMw9WzrMMO6YM3lBFjdokPJRJ8Hb0408ZnERAVEDP0Z0Or 2gxazlJNadceJm+RAtLpKw4gI1g6Ln2o+y2ISNOjGcpM9S+mt7p2fYB/EKRdKmEt MElMCEdQ8MshYHV4u7LLYFIBduQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id :mime-version:content-type; s=default; bh=kokEbJdJKeXaw8Qh7b7Iov MawXM=; b=QxCdH1x3g10ss8qM/VqprZlhEa29dX80mE/aTbnwIkjhyKlK09jK6d MD+eugzcQ/LEnUlc5Qzi9Afs0dvk3V1UI6Kb0NrH+aX1A0J3nzsJXoI6BsR6Dcws kOxpgmUPqqggNeEOm8pN892464FurVfriJy/q9vDSQyYs4U2rOsnY= Received: (qmail 33579 invoked by alias); 18 Oct 2018 16:56:24 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 33567 invoked by uid 89); 18 Oct 2018 16:56:23 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=band X-HELO: mx1.redhat.com From: Florian Weimer To: libc-alpha@sourceware.org Cc: Ilya Yu. Malakhov Subject: [PATCH] signal: Use correct type for si_band in siginfo_t [BZ #23562] Date: Thu, 18 Oct 2018 18:56:12 +0200 Message-ID: <877eifgpn7.fsf@oldenburg.str.redhat.com> MIME-Version: 1.0 Perhaps I a SPARC maintainer could review this as well? I tested it on x86-64 and found no regressions. Based on the sources, the change should only impact SPARC. 2018-10-18 Ilya Yu. Malakhov [BZ #23562] * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h (struct siginfo_t): Use correct type for si_band. diff --git a/sysdeps/unix/sysv/linux/bits/types/siginfo_t.h b/sysdeps/unix/sysv/linux/bits/types/siginfo_t.h index 33766d1813..43c4e009a4 100644 --- a/sysdeps/unix/sysv/linux/bits/types/siginfo_t.h +++ b/sysdeps/unix/sysv/linux/bits/types/siginfo_t.h @@ -107,7 +107,7 @@ typedef struct /* SIGPOLL. */ struct { - long int si_band; /* Band event for SIGPOLL. */ + __SI_BAND_TYPE si_band; /* Band event for SIGPOLL. */ int si_fd; } _sigpoll;