|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
|||||||||||||||||||||||||||||||||||||||||||||||
2010年09月24日(金) 旧暦 [n年日記] [更新:"2010/09/25 15:57:31"]#1 [NetBSD] 'copy_fs' may be used uninitialized in this function
久し振りに TsubaiBSD を build しているのだけれど
# compile ffs/ffs_snapshot.o /export/nandra/checkout/src/obj/tooldir.NetBSD-5.0_STABLE-amd64/bin/x86_64--netbsd-gcc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings -Werror -ffreestanding -fno-strict-aliasing -Wno-pointer-sign -mno-red-zone -mcmodel=kernel -I/export/nandra/checkout/src/common/include -DUFS_DIRHASH -DFFS_EI -DWAPBL -DAPPLE_UFS -DQUOTA -I/export/nandra/checkout/src/common/include -nostdinc -I. -I/export/nandra/checkout/src/sys/modules/ffs -isystem /export/nandra/checkout/src/sys -isystem /export/nandra/checkout/src/sys/arch -isystem /export/nandra/checkout/src/sys/../common/include -D_KERNEL -D_LKM -D_MODULE -c /export/nandra/checkout/src/sys/ufs/ffs/ffs_snapshot.cI think I remember the symptom, but not able to find the history. Index: sys/ufs/ffs/ffs_snapshot.c =================================================================== RCS file: /export/nandra/Repository/src/sys/ufs/ffs/ffs_snapshot.c,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 ffs_snapshot.c --- sys/ufs/ffs/ffs_snapshot.c 24 Sep 2010 07:06:03 -0000 1.1.1.1 +++ sys/ufs/ffs/ffs_snapshot.c 24 Sep 2010 23:06:03 -0000 @@ -177,7 +177,7 @@ void *sbbuf = NULL; daddr_t *snaplist = NULL, snaplistsize = 0; struct buf *bp, *nbp; - struct fs *copy_fs, *fs = VFSTOUFS(mp)->um_fs; + struct fs *copy_fs = NULL, *fs = VFSTOUFS(mp)->um_fs; struct inode *ip = VTOI(vp); struct lwp *l = curlwp; struct snap_info *si = VFSTOUFS(mp)->um_snapinfo; ( つっこみ )
|
最近の日記 2024年03月10日 ・停電 (瞬電) 2024年03月03日 ・the second try on bare-metal ・useradd 2024年02月29日 ・opendkim and senmail 2024年01月24日 ・chat/iam 0.0.8 2024年01月21日 ・uselocale vs setlocale (textproc/R-readxl) | ||