File: python-ethtool/ethtool.c
Function: get_ringparam
Error: returning (PyObject*)NULL without setting an exception
852 static PyObject *get_ringparam(PyObject *self __unused, PyObject *args)
853 {
854 	struct ethtool_ringparam ring;
855 
856 	if (get_dev_value(ETHTOOL_GRINGPARAM, args, &ring) < 0)
857 		return NULL;
when considering range: -0x80000000 <= value <= -1
taking True path
858 
859 	return struct_desc_create_dict(ethtool_ringparam_desc, &ring);
860 }
861 
returning (PyObject*)NULL without setting an exception