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


Groups > linux.kernel > #1512330

Re: [PATCH] cxl: Fix error handling

From Michael Ellerman <mpe@ellerman.id.au>
Newsgroups linux.kernel
Subject Re: [PATCH] cxl: Fix error handling
Date 2016-10-31 06:40 +0100
Message-ID <sydu9-6yo-1@gated-at.bofh.it> (permalink)
References <sy69k-1FQ-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Christophe JAILLET <christophe.jaillet@wanadoo.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@wanadoo.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

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


Thread

[PATCH] cxl: Fix error handling Christophe JAILLET <christophe.jaillet@wanadoo.fr> - 2016-10-30 22:50 +0100
  Re: [PATCH] cxl: Fix error handling Michael Ellerman <mpe@ellerman.id.au> - 2016-10-31 06:40 +0100
    Re: [PATCH] cxl: Fix error handling Jim Davis <jim.epost@gmail.com> - 2016-11-02 00:40 +0100
      Re: [PATCH] cxl: Fix error handling Michael Ellerman <mpe@ellerman.id.au> - 2016-11-02 12:20 +0100
        Re: [PATCH] cxl: Fix error handling Jim Davis <jim.epost@gmail.com> - 2016-11-02 20:10 +0100
          Re: [PATCH] cxl: Fix error handling Michael Ellerman <mpe@ellerman.id.au> - 2016-11-03 11:00 +0100
  Re: [PATCH] cxl: Fix error handling Andrew Donnellan <andrew.donnellan@au1.ibm.com> - 2016-10-31 07:30 +0100
  Re: [PATCH] cxl: Fix error handling Frederic Barrat <fbarrat@linux.vnet.ibm.com> - 2016-11-02 18:00 +0100

csiph-web