From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/14299 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH 0/2] Resolve compiler warnings in master Date: Sat, 29 Jun 2019 17:46:22 -0400 Message-ID: <20190629214622.GN1506@brightrain.aerifal.cx> References: <20190629212244.42963-1-samuel@sholland.org> Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="166014"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.5.21 (2010-09-15) To: musl@lists.openwall.com Original-X-From: musl-return-14315-gllmg-musl=m.gmane.org@lists.openwall.com Sat Jun 29 23:46:37 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 1hhLB6-000h5Z-LP for gllmg-musl@m.gmane.org; Sat, 29 Jun 2019 23:46:36 +0200 Original-Received: (qmail 9828 invoked by uid 550); 29 Jun 2019 21:46:34 -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 9802 invoked from network); 29 Jun 2019 21:46:33 -0000 Content-Disposition: inline In-Reply-To: <20190629212244.42963-1-samuel@sholland.org> Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:14299 Archived-At: On Sat, Jun 29, 2019 at 04:22:42PM -0500, Samuel Holland wrote: > These two patches resolve some compiler warnings about mismatched > attributes and restrict violations. There's another warning, related > to duplicate definitions of TIOCSER_TEMT on some arches; I'm not sure > which header needs to be changed. It results in: > > ../include/sys/ioctl.h:47: warning: "TIOCSER_TEMT" redefined > > The definitions are: > > arch/mips/bits/termios.h:#define TIOCSER_TEMT 0x01 > arch/mips64/bits/termios.h:#define TIOCSER_TEMT 0x01 > arch/mipsn32/bits/termios.h:#define TIOCSER_TEMT 0x01 > arch/powerpc/bits/termios.h:#define TIOCSER_TEMT 0x01 > arch/powerpc64/bits/termios.h:#define TIOCSER_TEMT 0x01 > include/sys/ioctl.h:#define TIOCSER_TEMT 1 I don't see how this is happening with a consistent tree. Commit 3517d74a5e04a377192d1f4882ad6c8dc22ce69a removed it from the bits headers. Rich