Changeset 83
- Timestamp:
- Jan 16, 2007, 11:49:23 PM (18 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/Changelog
r79 r83 1 1 2.3.1: 2 * fix sh_kern.c for kernel 2.6.19 (reported by S. Clormann) 2 3 * don't use sstrip in 'make deb', since dh_shlibdeps uses objdump 3 4 (reported by B. Masuda) -
trunk/src/sh_kern.c
r68 r83 313 313 int * size, int direction) 314 314 { 315 char path[128];316 char * p = NULL;317 unsigned long x1, x2;318 char * name = (char *) in_name;315 char path[128]; 316 char * p = NULL; 317 unsigned long x1 = 0, x2 = 0; 318 unsigned char * name = (unsigned char *) in_name; 319 319 320 320 sl_snprintf(path, 128, "K_%s_%04d", prefix, num); … … 423 423 424 424 #ifdef SH_PROC_CHECK 425 426 /* 427 * Defined in include/linux/fs.h 428 */ 429 430 /* Here. we are only interested in 'lookup'. I.e. the struct 431 * must be <= the real one, and 'lookup' must be at the 432 * correct position. 433 */ 425 434 struct inode_operations { 426 435 int (*create) (int *,int *,int); … … 450 459 }; 451 460 452 /* this one is just for dummy purposes 461 /* 462 * this one is just for dummy purposes 453 463 */ 454 464 struct file_operations { … … 456 466 }; 457 467 468 /* Defined in include/linux/proc_fs.h 469 * Here we are interested in the 'proc_iops' member. 470 */ 458 471 struct proc_dir_entry { 459 472 unsigned short low_ino; … … 900 913 _("proc_root_inode_operations.lookup != proc_root_lookup")); 901 914 } 902 else if ( ( ((unsigned int) * &proc_root_dir.proc_iops) != proc_root_iops) 903 && (proc_root_dir.size != proc_root_iops)) 915 else if ( (((unsigned int) * &proc_root_dir.proc_iops) != proc_root_iops) 916 && (proc_root_dir.size != proc_root_iops) 917 && (((unsigned int) * &proc_root_dir.proc_fops) != proc_root_iops) 918 ) 904 919 { 905 920 sh_error_handle ((-1), FIL__, __LINE__, 0, MSG_KERN_PROC,
Note:
See TracChangeset
for help on using the changeset viewer.