File: | python-ethtool/ethtool.c |
Function: | get_sg |
Error: | returning (PyObject*)NULL without setting an exception |
688 static PyObject *get_sg(PyObject *self __unused, PyObject *args)
689 {
690 int value = 0;
691
692 if (get_dev_int_value(ETHTOOL_GSG, args, &value) < 0)
693 return NULL;
when considering range: -0x80000000 <= value <= -1
taking True path
694
695 return Py_BuildValue("b", value);
696 }
697