#ifndef _LIB_UBSAN_H #define _LIB_UBSAN_H enum { type_kind_int = 0, type_kind_float = 1, type_unknown = 0xffff }; struct type_descriptor { u16 type_kind; u16 type_info; char type_name[1]; }; struct source_location { const char *file_name; union { unsigned long reported; struct { u32 line; u32 column; }; }; }; struct overflow_data { struct source_location location; struct type_descriptor *type; }; struct type_mismatch_data { struct source_location location; struct type_descriptor *type; unsigned long alignment; unsigned char type_check_kind; }; struct nonnull_arg_data { struct source_location location; struct source_location attr_location; int arg_index; }; struct nonnull_return_data { struct source_location location; struct source_location attr_location; }; struct vla_bound_data { struct source_location location; struct type_descriptor *type; }; struct out_of_bounds_data { struct source_location location; struct type_descriptor *array_type; struct type_descriptor *index_type; }; struct shift_out_of_bounds_data { struct source_location location; struct type_descriptor *lhs_type; struct type_descriptor *rhs_type; }; struct unreachable_data { struct source_location location; }; struct invalid_value_data { struct source_location location; struct type_descriptor *type; }; #if defined(CONFIG_ARCH_SUPPORTS_INT128) && defined(__SIZEOF_INT128__) typedef __int128 s_max; typedef unsigned __int128 u_max; #else typedef s64 s_max; typedef u64 u_max; #endif #endif le class='tabs'> summaryrefslogtreecommitdiff
path: root/net/xfrm/xfrm_state.c
diff options
context:
space:
mode:
authorRaju Lakkaraju <Raju.Lakkaraju@microsemi.com>2017-02-07 19:10:26 +0530
committerDavid S. Miller <davem@davemloft.net>2017-02-08 13:29:04 -0500
commit04d8a0a5f3b6887543850d991a5e37c4ec90e250 (patch)
treeee1fafb2122c2b29c7cb19e571bd7229afdbf847 /net/xfrm/xfrm_state.c
parentff4cf0e5ce952488074aa7f47734af1794f55fbc (diff)
net: phy: Add LED mode driver for Microsemi PHYs.
LED Mode: Microsemi PHY support 2 LEDs (LED[0] and LED[1]) to display different status information that can be selected by setting LED mode. LED Mode parameter (vsc8531, led-0-mode) and (vsc8531, led-1-mode) get from Device Tree. Signed-off-by: Raju Lakkaraju <Raju.Lakkaraju@microsemi.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_state.c')