소스 검색

Merge master.kernel.org:/home/rmk/linux-2.6-serial

Linus Torvalds 20 년 전
부모
커밋
c8ebce6eeb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      drivers/serial/8250_early.c

+ 1 - 1
drivers/serial/8250_early.c

@@ -164,7 +164,7 @@ static int __init parse_options(struct early_uart_device *device, char *options)
 
 
 	if ((options = strchr(options, ','))) {
 	if ((options = strchr(options, ','))) {
 		options++;
 		options++;
-		device->baud = simple_strtoul(options, 0, 0);
+		device->baud = simple_strtoul(options, NULL, 0);
 		length = min(strcspn(options, " "), sizeof(device->options));
 		length = min(strcspn(options, " "), sizeof(device->options));
 		strncpy(device->options, options, length);
 		strncpy(device->options, options, length);
 	} else {
 	} else {