Re: [PATCH] infiniband/mlx4: check for mapping error

From: Jack Morgenstein
Date: Tue Mar 17 2015 - 12:46:58 EST


On Mon, 16 Mar 2015 18:49:59 +0100 (CET)
Sebastian Ott <sebott@xxxxxxxxxxxxxxxxxx> wrote:

> From: Sebastian Ott <sebott@xxxxxxxxxxxxxxxxxx>
> To: linux-rdma@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
> cc: Roland Dreier <roland@xxxxxxxxxx>, Sean Hefty
> <sean.hefty@xxxxxxxxx>, Hal Rosenstock <hal.rosenstock@xxxxxxxxx>, Or
> Gerlitz <ogerlitz@xxxxxxxxxxxx>, "David S. Miller"
> <davem@xxxxxxxxxxxxx>, Yishai Hadas <yishaih@xxxxxxxxxxxx>, Ira Weiny
> <ira.weiny@xxxxxxxxx>, Jack Morgenstein <jackm@xxxxxxxxxxxxxxxxxx>,
> Matan Barak <matanb@xxxxxxxxxxxx>, Moni Shoua <monis@xxxxxxxxxxxx>,
> Jiri Kosina <jkosina@xxxxxxx> Subject: [PATCH] infiniband/mlx4: check
> for mapping error Date: Mon, 16 Mar 2015 18:49:59 +0100 (CET)
> User-Agent: Alpine 2.11 (LFD 23 2013-08-11) Organization: "IBM
> Deutschland Research & Development GmbH / Vorsitzende des
> Aufsichtsrats: Martina Koederitz GeschÃftsfÃhrung: Dirk Wittkopp Sitz
> der Gesellschaft: BÃblingen / Registergericht: Amtsgericht Stuttgart,
> HRB 243294"
>
>
> Since ib_dma_map_single can fail use ib_dma_mapping_error to check
> for errors.
>
> Signed-off-by: Sebastian Ott <sebott@xxxxxxxxxxxxxxxxxx>

Acked-by: Jack Morgenstein <jackm@xxxxxxxxxxxxxxxxxx>

> ---

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/