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: 29788 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;