[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOi1vP-67FmaioEh_y9=J6Wp+G2+KmKhicy18-uKAPTy7t_1sw@mail.gmail.com>
Date: Mon, 6 Feb 2017 11:19:12 +0100
From: Ilya Dryomov <idryomov@...il.com>
To: Stafford Horne <shorne@...il.com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"Yan, Zheng" <zyan@...hat.com>, Sage Weil <sage@...hat.com>,
"David S. Miller" <davem@...emloft.net>,
Ceph Development <ceph-devel@...r.kernel.org>,
netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH 1/2] libceph: Remove unneeded stddef.h include
On Sun, Feb 5, 2017 at 8:07 AM, Stafford Horne <shorne@...il.com> wrote:
> This was causing a build failure for openrisc when using musl and
> gcc 5.4.0 since the file is not available in the toolchain.
>
> It doesnt seem this is needed and removing it does not cause any build
> warnings for me.
>
> Signed-off-by: Stafford Horne <shorne@...il.com>
> ---
> net/ceph/snapshot.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/net/ceph/snapshot.c b/net/ceph/snapshot.c
> index 154683f..705414e 100644
> --- a/net/ceph/snapshot.c
> +++ b/net/ceph/snapshot.c
> @@ -18,8 +18,6 @@
> * 02110-1301, USA.
> */
>
> -#include <stddef.h>
> -
> #include <linux/types.h>
> #include <linux/export.h>
> #include <linux/ceph/libceph.h>
Applied.
Thanks,
Ilya
Powered by blists - more mailing lists