standard error codes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Driver code in staging/drivers/ks7010 uses the error code -E2BIG as
the error returned if a string argument is larger than destination
buffer. Would this not be better suited to the error code -EOVERFLOW?
Does it matter?

For reference;

#define E2BIG        7  /* Argument list too long */
#define EOVERFLOW   75  /* Value too large for defined data type */

thanks,
Tobin.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux