File: | python-ethtool/ethtool.c |
Function: | get_tso |
Error: | returning (PyObject*)NULL without setting an exception |
649 static PyObject *get_tso(PyObject *self __unused, PyObject *args)
650 {
651 int value = 0;
652
653 if (get_dev_int_value(ETHTOOL_GTSO, args, &value) < 0)
654 return NULL;
when considering range: -0x80000000 <= value <= -1
taking True path
655
656 return Py_BuildValue("b", value);
657 }
658