https://github.com/torvalds/linux
Revision dbaaff2a2caa03d472b5cc53a3fbfd415c97dc26 authored by Eli Cohen on 27 October 2016, 13:36:44 UTC, committed by Doug Ledford on 17 November 2016, 01:03:44 UTC
When an internal error condition is detected, make sure to set the
device inactive after dispatching the event so ULPs can get a
notification of this event.

Fixes: e126ba97dba9 ('mlx5: Add driver for Mellanox Connect-IB adapters')
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Mohamad Haj Yahia <mohamad@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
1 parent 6bc1a65
Raw File
Tip revision: dbaaff2a2caa03d472b5cc53a3fbfd415c97dc26 authored by Eli Cohen on 27 October 2016, 13:36:44 UTC
IB/mlx5: Fix fatal error dispatching
Tip revision: dbaaff2
elfcore.c
#include <linux/elf.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/binfmts.h>

Elf_Half __weak elf_core_extra_phdrs(void)
{
	return 0;
}

int __weak elf_core_write_extra_phdrs(struct coredump_params *cprm, loff_t offset)
{
	return 1;
}

int __weak elf_core_write_extra_data(struct coredump_params *cprm)
{
	return 1;
}

size_t __weak elf_core_extra_data_size(void)
{
	return 0;
}
back to top