Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1642222

Re: [PATCH 1/3] ipc/sem.c: remove sem_base, embed struct sem

From Christoph Hellwig <hch@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/3] ipc/sem.c: remove sem_base, embed struct sem
Date 2017-05-16 07:50 +0200
Message-ID <tHDwR-1zY-1@gated-at.bofh.it> (permalink)
References <tEZke-1sP-3@gated-at.bofh.it> <tHrP3-2Cq-3@gated-at.bofh.it> <tHrP3-2Cq-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> +	struct sem		sems[0];

I can't contribute much to the code itself, but [0] is an old
GCC extension, for modern code sems[] should do the same things
but is standard C.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/3] ipc/sem.c: remove sem_base, embed struct sem Manfred Spraul <manfred@colorfullife.com> - 2017-05-15 19:20 +0200
  Re: [PATCH 1/3] ipc/sem.c: remove sem_base, embed struct sem Andrew Morton <akpm@linux-foundation.org> - 2017-05-15 22:10 +0200
    Re: [PATCH 1/3] ipc/sem.c: remove sem_base, embed struct sem Kees Cook <keescook@chromium.org> - 2017-05-16 00:20 +0200
  Re: [PATCH 1/3] ipc/sem.c: remove sem_base, embed struct sem Christoph Hellwig <hch@infradead.org> - 2017-05-16 07:50 +0200

csiph-web