[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87wpgp13ki.fsf@concordia.ellerman.id.au>
Date: Mon, 31 Oct 2016 16:37:49 +1100
From: Michael Ellerman <mpe@...erman.id.au>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>,
imunsie@....ibm.com, fbarrat@...ux.vnet.ibm.com
Cc: kernel-janitors@...r.kernel.org,
Christophe JAILLET <christophe.jaillet@...adoo.fr>,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] cxl: Fix error handling
Christophe JAILLET <christophe.jaillet@...adoo.fr> writes:
> 'cxl_dev_context_init()' returns an error pointer in case of error, not
> NULL. So test it with IS_ERR.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
> ---
> un-compiled because I don't have the required cross build environment.
Do you run Ubuntu or Fedora? If so it's just a dnf/apt-get away:
$ sudo dnf install gcc-c++-powerpc64-linux-gnu binutils-powerpc64-linux-gnu gcc-powerpc64-linux-gnu
or
$ sudo apt-get install gcc-powerpc64le-linux-gnu gcc-powerpc-linux-gnu libc-dev-powerpc-cross libc-dev-ppc64el-cross
More here:
https://github.com/linuxppc/linux/wiki/Building-powerpc-kernels
cheers
Powered by blists - more mailing lists