[PATCH 13/15] staging: usbip: userspace: libsrc: cleanup parsing

Dan Carpenter dan.carpenter at oracle.com
Thu Apr 4 19:10:10 UTC 2013


This one could probably have been broken into separate patches.

> +		if (buf[0] == 'P' && buf[1] == 'H' && buf[2] == 'Y' &&
> +		    buf[3] == 'S' && buf[4] == 'D' &&
> +		    buf[5] == 'E' && buf[6] == 'S' && /*isspace(buf[7])*/
> +		    buf[7] == ' ') {
>  			continue;

	if (strncmp(buf, "PHYSDES ", 8) == 0)
		continue;

regards,
dan caprenter




More information about the devel mailing list