File: python-ethtool/ethtool.c
Function: set_coalesce
Error: returning (PyObject*)NULL without setting an exception
822 static PyObject *set_coalesce(PyObject *self __unused, PyObject *args)
823 {
824 	struct ethtool_coalesce coal;
825 	char *devname;
826 	PyObject *dict;
827 
828 	if (!PyArg_ParseTuple(args, "sO", &devname, &dict))
829 		return NULL;
when PyArg_ParseTuple() succeeds
taking False path
830 
831 	if (struct_desc_from_dict(ethtool_coalesce_desc, &coal, dict) != 0)
832 		return NULL;
when considering range: -0x80000000 <= value <= -1
taking True path
833 
834 	if (send_command(ETHTOOL_SCOALESCE, devname, &coal))
835 		return NULL;
836 
837 	Py_INCREF(Py_None);
838 	return Py_None;
839 }
840 
returning (PyObject*)NULL without setting an exception found 3 similar trace(s) to this