東川印記

一本東川,笑看爭龍斗虎;寰茫兦者,度橫佰昧人生。

android5.0版源码编译之02功能修改

2015年3月20日星期五



1,不锁屏
①设置默认锁屏时间
文件
/home/senrsl/android/source/WORKING_DIRECTORY/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
修改
  1. <integer name="def_screen_off_timeout">-1</integer>
之前为60000,修改为-1不锁屏。

②开机不锁屏
这个文件跑的比较快
4.0版本的时候,在frameworks/base/policy/src/com/android/internal/policy /impl/KeyguardViewMediator.java
4.4版本的时候,在 frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardViewMediator.java
5.0版本的时候,在/home/senrsl/android/source/WORKING_DIRECTORY/frameworks /base/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
就是改个不锁屏而已,谷歌你大爷的至于吗。。。。
我用的5.0版本,第206行,改值为false
  1. private boolean mExternallyEnabled = false;
这样便实现开机不锁屏,且长时间不用也不锁屏问题。

2,修改开机画面
开机动画分三屏,分别是第一屏,第二屏,第三屏;
①第一屏,之前2.1可以,现在5.0发现默认不显示
/home/senrsl/android/source/WORKING_DIRECTORY/system/core/init/init.c
第700行
  1. static int console_init_action(int nargs, char **args)
  2. {
  3.     int fd;
  4.     if (console[0]) {
  5.         snprintf(console_name, sizeof(console_name), "/dev/%s", console);
  6.     }
  7.     fd = open(console_name, O_RDWR);
  8.     if (fd >= 0)
  9.         have_console = 1;
  10.     close(fd);
  11.     fd = open("/dev/tty0", O_WRONLY);
  12.     if (fd >= 0) {
  13.         const char *msg;
  14.             msg = "\n"
  15.         "\n"
  16.         "\n"
  17.         "\n"
  18.         "\n"
  19.         "\n"
  20.         "\n"  // console is 40 cols x 30 lines
  21.         "\n"
  22.         "\n"
  23.         "\n"
  24.         "\n"
  25.         "\n"
  26.         "\n"
  27.         "\n"
  28.         "             SB ";//A N D R O I D
  29.         write(fd, msg, strlen(msg));
  30.         close(fd);
  31.     }
  32.     return 0;
  33. }
②第二屏 android图片进度条形式,5.0直接更改图片后make -16可行
删了下面这俩动画再编译开机动画就没了
  1. /home/senrsl/android/source/WORKING_DIRECTORY/frameworks/base/core/res/assets/images/android-logo-mask.png
  2. /home/senrsl/android/source/WORKING_DIRECTORY/frameworks/base/core/res/assets/images/android-logo-shine.png
这俩文件定义在
  1. /home/senrsl/android/source/WORKING_DIRECTORY/frameworks/base/cmds/bootanimation/BootAnimation.cpp
第329行
  1. bool BootAnimation::android()
  2. {
  3.     initTexture(&mAndroid[0], mAssets, "images/android-logo-mask.png");
  4.     initTexture(&mAndroid[1], mAssets, "images/android-logo-shine.png");
  5.     // clear screen
  6.     glShadeModel(GL_FLAT);
  7.     glDisable(GL_DITHER);
  8.     glDisable(GL_SCISSOR_TEST);
  9.     glClearColor(0,0,0,1);
  10.     glClear(GL_COLOR_BUFFER_BIT);
  11.     eglSwapBuffers(mDisplay, mSurface);
  12.     glEnable(GL_TEXTURE_2D);
  13.     glTexEnvx(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE);
  14.     const GLint xc = (mWidth  - mAndroid[0].w) / 2;
  15.     const GLint yc = (mHeight - mAndroid[0].h) / 2;
  16.     const Rect updateRect(xc, yc, xc + mAndroid[0].w, yc + mAndroid[0].h);
  17.     glScissor(updateRect.left, mHeight - updateRect.bottom, updateRect.width(),
  18.             updateRect.height());
  19.     // Blend state
  20.     glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
  21.     glTexEnvx(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE);
  22.     const nsecs_t startTime = systemTime();
  23.     do {
  24.         nsecs_t now = systemTime();
  25.         double time = now - startTime;
  26.         float t = 4.0f * float(time / us2ns(16667)) / mAndroid[1].w;
  27.         GLint offset = (1 - (t - floorf(t))) * mAndroid[1].w;
  28.         GLint x = xc - offset;
  29.         glDisable(GL_SCISSOR_TEST);
  30.         glClear(GL_COLOR_BUFFER_BIT);
  31.         glEnable(GL_SCISSOR_TEST);
  32.         glDisable(GL_BLEND);
  33.         glBindTexture(GL_TEXTURE_2D, mAndroid[1].name);
  34.         glDrawTexiOES(x,                 yc, 0, mAndroid[1].w, mAndroid[1].h);
  35.         glDrawTexiOES(x + mAndroid[1].w, yc, 0, mAndroid[1].w, mAndroid[1].h);
  36.         glEnable(GL_BLEND);
  37.         glBindTexture(GL_TEXTURE_2D, mAndroid[0].name);
  38.         glDrawTexiOES(xc, yc, 0, mAndroid[0].w, mAndroid[0].h);
  39.         EGLBoolean res = eglSwapBuffers(mDisplay, mSurface);
  40.         if (res == EGL_FALSE)
  41.             break;
  42.         // 12fps: don't animate too fast to preserve CPU
  43.         const nsecs_t sleepTime = 83333 - ns2us(systemTime() - now);
  44.         if (sleepTime > 0)
  45.             usleep(sleepTime);
  46.         checkExit();
  47.     } while (!exitPending());
  48.     glDeleteTextures(1, &mAndroid[0].name);
  49.     glDeleteTextures(1, &mAndroid[1].name);
  50.     return false;
  51. }

③第三屏,厂商定制
找第二屏的时候搜到一个,这个是厂家定制的,asus是华硕
  1. /home/senrsl/android/source/WORKING_DIRECTORY/device/asus/fugu/bootanimation.zip
好吧,查来查去,各网站对这三屏的解释混乱。

系统UI定制
SystemUI是
/home/senrsl/android/source/WORKING_DIRECTORY/frameworks/base/packages/SystemUI
这个是基本的UI相关


手头测试手机版本是4.4.2的,我决定下个4.4.2的源码。
分支目录https://android.googlesource.com/platform/manifest/+refs
切换分支,同步代码
  1. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.4.2_r2
  2. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY$ repo sync

goto 同步代码遇到问题



编译
编译单个模块以替换手机
修改了framework下的资源,直接make发现没有生效,查询得知需要先编译资源。
①编译res下的资源文件
  1. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY/frameworks/base/core/res$ mm
编译出framework-res.apk
编译完成后会在com.android.internal.R中生成资源引用,目录为/home/senrsl/android/source /WORKING_DIRECTORY/out/target/common/R/com/android/internal;
②编译framework的源码
  1. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY/frameworks/base$ mm
编译生成framework.jar
然后执行adb push 替换手机上的相应文件。

一开始以为这个作用于虚拟机,测试发现emulator在修改完源码后,直接make -j16就行,上面的那些mm操作都不用。




m,mm,mmm的区别
命令定义于build/envsetup.sh;
  1. m:编译所有的模块
  2. mm:编译当前目录下的模块,当前目录下要有Android.mk文件
  3. mmm:编译指定路径下的模块,指定路径下要有Android.mk文件


编译内核
下载
  1. senrsl@senrsl-ubuntu:~/android/source$ mkdir kernel
  2. senrsl@senrsl-ubuntu:~/android/source$ cd kernel/
  3. senrsl@senrsl-ubuntu:~/android/source/kernel$  git clone https://android.googlesource.com/kernel/common.git
  4. 正克隆到 'common'...
  5. remote: Sending approximately 862.01 MiB ...
  6. remote: Counting objects: 120667, done
  7. remote: Finding sources: 100% (944/944)
  8. remote: Total 3961676 (delta 3308472), reused 3961338 (delta 3308472)
  9. 接收对象中: 100% (3961676/3961676), 861.47 MiB | 3.66 MiB/s, done.
  10. 处理 delta 中: 100% (3315160/3315160), done.
  11. 检查连接... 完成。
  12. senrsl@senrsl-ubuntu:~/android/source/kernel$ cd common/
  13. senrsl@senrsl-ubuntu:~/android/source/kernel/common$ git checkout -b android-3.4 remotes/origin/android-3.4
  14. Checking out files: 100% (38857/38857), done.
  15. 分支 android-3.4 设置为跟踪来自 origin 的远程分支 android-3.4。
  16. 切换到一个新分支 'android-3.4'
  17. senrsl@senrsl-ubuntu:~/android/source/kernel/common$ export PATH=/home/senrsl/android/source/WORKING_DIRECTORY/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin:$PATH
  18. #下一步,想要执行make xxx_defconfig,发现common里没有,然后下个goldfish,下了goldfish3.10版发现也 没有,然后下了个低版本的就有了
  19. senrsl@senrsl-ubuntu:~/android/source/kernel/goldfish$ git checkout -b android-goldfish-2.6.29  remotes/origin/android-goldfish-2.6.29
  20. 分支 android-goldfish-2.6.29 设置为跟踪来自 origin 的远程分支 android-goldfish-2.6.29。
  21. 切换到一个新分支 'android-goldfish-2.6.29'
  22. senrsl@senrsl-ubuntu:~/android/source/kernel/goldfish$ make goldfish_defconfig
  23. arch/arm/configs/goldfish_defconfig:289:warning: override: FB_EARLYSUSPEND changes choice state
  24. #
  25. # configuration written to .config
  26. #
  27. senrsl@senrsl-ubuntu:~/android/source/kernel/goldfish$ make
  28. scripts/kconfig/conf -s arch/arm/Kconfig
  29.   CHK     include/linux/version.h
  30.   UPD     include/linux/version.h
  31.   Generating include/asm-arm/mach-types.h
  32.   CHK     include/linux/utsrelease.h
  33.   UPD     include/linux/utsrelease.h
  34.   SYMLINK include/asm -> include/asm-arm
  35.   CC      kernel/bounds.s
  36.   GEN     include/linux/bounds.h
  37.   CC      arch/arm/kernel/asm-offsets.s
  38.   GEN     include/asm/asm-offsets.h
  39.   CALL    scripts/checksyscalls.sh
  40. <stdin>:1097:2: warning: #warning syscall fadvise64 not implemented [-Wcpp]
  41. <stdin>:1265:2: warning: #warning syscall migrate_pages not implemented [-Wcpp]
  42. <stdin>:1321:2: warning: #warning syscall pselect6 not implemented [-Wcpp]
  43. <stdin>:1325:2: warning: #warning syscall ppoll not implemented [-Wcpp]
  44. <stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented [-Wcpp]
  45.   CC      scripts/mod/empty.o
  46.   HOSTCC  scripts/mod/mk_elfconfig
  47.   MKELF   scripts/mod/elfconfig.h
  48.   HOSTCC  scripts/mod/file2alias.o
  49.   HOSTCC  scripts/mod/modpost.o
  50. scripts/mod/modpost.c: In function 'get_markers':
  51. scripts/mod/modpost.c:1539:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
  52.     asprintf(&line, "%s\t%s\t%s\n", name, mod->name, fmt);
  53.             ^
  54. scripts/mod/modpost.c: In function 'add_marker':
  55. scripts/mod/modpost.c:1959:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
  56.   asprintf(&line, "%s\t%s\t%s\n", name, mod->name, fmt);
  57.           ^
  58.   HOSTCC  scripts/mod/sumversion.o
  59.   HOSTLD  scripts/mod/modpost
  60.   HOSTCC  scripts/ihex2fw
  61. scripts/ihex2fw.c: In function 'output_records':
  62. scripts/ihex2fw.c:261:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  63.    write(outfd, &p->addr, writelen);
  64.         ^
  65. scripts/ihex2fw.c:266:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  66.   write(outfd, zeroes, 6);
  67.        ^
  68.   HOSTCC  scripts/kallsyms
  69. scripts/kallsyms.c: In function 'read_symbol':
  70. scripts/kallsyms.c:74:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
  71.     fgets(str, 500, in);
  72.          ^
  73.   HOSTCC  scripts/conmakehash
  74.   HOSTCC  scripts/bin2c
  75.   CC      init/main.o
  76. In file included from include/linux/mempolicy.h:62:0,
  77.                  from init/main.c:51:
  78. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  79. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  80.   volatile char c;
  81.                 ^
  82.   CHK     include/linux/compile.h
  83.   UPD     include/linux/compile.h
  84.   CC      init/version.o
  85.   CC      init/do_mounts.o
  86. In file included from include/linux/nfs_fs.h:45:0,
  87.                  from init/do_mounts.c:18:
  88. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  89. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  90.   volatile char c;
  91.                 ^
  92.   CC      init/do_mounts_rd.o
  93.   CC      init/do_mounts_initrd.o
  94.   LD      init/mounts.o
  95.   CC      init/initramfs.o
  96.   CC      init/calibrate.o
  97.   LD      init/built-in.o
  98.   HOSTCC  usr/gen_init_cpio
  99.   GEN     usr/initramfs_data.cpio.gz
  100.   AS      usr/initramfs_data.o
  101.   LD      usr/built-in.o
  102.   CC      arch/arm/kernel/compat.o
  103.   CC      arch/arm/kernel/elf.o
  104.   AS      arch/arm/kernel/entry-armv.o
  105.   AS      arch/arm/kernel/entry-common.o
  106.   CC      arch/arm/kernel/irq.o
  107.   CC      arch/arm/kernel/process.o
  108.   CC      arch/arm/kernel/ptrace.o
  109.   CC      arch/arm/kernel/setup.o
  110.   CC      arch/arm/kernel/signal.o
  111. arch/arm/kernel/signal.c: In function 'restore_sigframe':
  112. arch/arm/kernel/signal.c:214:30: warning: variable 'aux' set but not used [-Wunused-but-set-variable]
  113.   struct aux_sigframe __user *aux;
  114.                               ^
  115.   CC      arch/arm/kernel/sys_arm.o
  116.   CC      arch/arm/kernel/stacktrace.o
  117.   CC      arch/arm/kernel/time.o
  118.   CC      arch/arm/kernel/traps.o
  119.   CC      arch/arm/kernel/io.o
  120.   LD      arch/arm/kernel/built-in.o
  121.   AS      arch/arm/kernel/head.o
  122.   CC      arch/arm/kernel/init_task.o
  123.   LDS     arch/arm/kernel/vmlinux.lds
  124.   CC      arch/arm/mm/dma-mapping.o
  125.   CC      arch/arm/mm/extable.o
  126.   CC      arch/arm/mm/fault.o
  127.   CC      arch/arm/mm/init.o
  128.   CC      arch/arm/mm/iomap.o
  129.   CC      arch/arm/mm/fault-armv.o
  130. In file included from arch/arm/mm/fault-armv.c:18:0:
  131. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  132. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  133.   volatile char c;
  134.                 ^
  135.   CC      arch/arm/mm/flush.o
  136. In file included from arch/arm/mm/flush.c:12:0:
  137. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  138. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  139.   volatile char c;
  140.                 ^
  141.   CC      arch/arm/mm/ioremap.o
  142.   CC      arch/arm/mm/mmap.o
  143.   CC      arch/arm/mm/pgd.o
  144.   CC      arch/arm/mm/mmu.o
  145. arch/arm/mm/mmu.c: In function 'sanity_check_meminfo':
  146. arch/arm/mm/mmu.c:697:25: warning: comparison between pointer and integer [enabled by default]
  147.        __va(bank->start) < PAGE_OFFSET) {
  148.                          ^
  149.   CC      arch/arm/mm/alignment.o
  150. arch/arm/mm/alignment.c: In function 'do_alignment':
  151. arch/arm/mm/alignment.c:278:15: warning: 'offset.un' may be used uninitialized in this function [-Wmaybe-uninitialized]
  152.    offset.un = -offset.un;
  153.                ^
  154. arch/arm/mm/alignment.c:626:21: note: 'offset.un' was declared here
  155.   union offset_union offset;
  156.                      ^
  157.   AS      arch/arm/mm/abort-ev5tj.o
  158.   CC      arch/arm/mm/copypage-v4wb.o
  159.   AS      arch/arm/mm/tlb-v4wbi.o
  160.   AS      arch/arm/mm/proc-arm926.o
  161.   LD      arch/arm/mm/built-in.o
  162.   LD      arch/arm/common/built-in.o
  163.   CC      arch/arm/mach-goldfish/pdev_bus.o
  164. arch/arm/mach-goldfish/pdev_bus.c: In function 'goldfish_pdev_bus_interrupt':
  165. arch/arm/mach-goldfish/pdev_bus.c:153:14: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
  166.   irqreturn_t ret = IRQ_NONE;
  167.               ^
  168.   CC      arch/arm/mach-goldfish/timer.o
  169.   CC      arch/arm/mach-goldfish/switch.o
  170.   CC      arch/arm/mach-goldfish/pm.o
  171.   CC      arch/arm/mach-goldfish/board-goldfish.o
  172.   LD      arch/arm/mach-goldfish/built-in.o
  173.   CC      arch/arm/vfp/vfpmodule.o
  174.   AS      arch/arm/vfp/entry.o
  175.   AS      arch/arm/vfp/vfphw.o
  176.   CC      arch/arm/vfp/vfpsingle.o
  177.   CC      arch/arm/vfp/vfpdouble.o
  178.   LD      arch/arm/vfp/vfp.o
  179.   LD      arch/arm/vfp/built-in.o
  180.   CC      kernel/sched.o
  181. In file included from include/linux/blkdev.h:12:0,
  182.                  from kernel/sched.c:47:
  183. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  184. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  185.   volatile char c;
  186.                 ^
  187. kernel/sched.c: In function 'alloc_fair_sched_group':
  188. kernel/sched.c:8732:13: warning: variable 'rq' set but not used [-Wunused-but-set-variable]
  189.   struct rq *rq;
  190.              ^
  191. kernel/sched.c: In function 'alloc_rt_sched_group':
  192. kernel/sched.c:8819:13: warning: variable 'rq' set but not used [-Wunused-but-set-variable]
  193.   struct rq *rq;
  194.              ^
  195.   CC      kernel/fork.o
  196. In file included from include/linux/mempolicy.h:62:0,
  197.                  from kernel/fork.c:22:
  198. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  199. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  200.   volatile char c;
  201.                 ^
  202.   CC      kernel/exec_domain.o
  203.   CC      kernel/panic.o
  204.   CC      kernel/printk.o
  205.   CC      kernel/cpu.o
  206.   CC      kernel/exit.o
  207. In file included from include/linux/mempolicy.h:62:0,
  208.                  from kernel/exit.c:32:
  209. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  210. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  211.   volatile char c;
  212.                 ^
  213.   CC      kernel/itimer.o
  214.   TIMEC   kernel/timeconst.h
  215. defined(@array) is deprecated at kernel/timeconst.pl line 373.
  216.     (Maybe you should just omit the defined()?)
  217.   CC      kernel/time.o
  218.   CC      kernel/softirq.o
  219.   CC      kernel/resource.o
  220.   CC      kernel/sysctl.o
  221. In file included from include/linux/nfs_fs.h:45:0,
  222.                  from kernel/sysctl.c:47:
  223. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  224. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  225.   volatile char c;
  226.                 ^
  227. kernel/sysctl.c: In function 'do_sysctl':
  228. kernel/sysctl.c:1690:7: warning: variable 'old_len' set but not used [-Wunused-but-set-variable]
  229.    int old_len;
  230.        ^
  231. kernel/sysctl.c: At top level:
  232. kernel/sysctl.c:104:12: warning: 'one' defined but not used [-Wunused-variable]
  233.  static int one = 1;
  234.             ^
  235.   CC      kernel/capability.o
  236.   CC      kernel/ptrace.o
  237. In file included from kernel/ptrace.c:16:0:
  238. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  239. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  240.   volatile char c;
  241.                 ^
  242.   CC      kernel/timer.o
  243.   CC      kernel/user.o
  244.   CC      kernel/signal.o
  245.   CC      kernel/sys.o
  246.   CC      kernel/kmod.o
  247.   CC      kernel/workqueue.o
  248. In file included from include/linux/mempolicy.h:62:0,
  249.                  from kernel/workqueue.c:31:
  250. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  251. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  252.   volatile char c;
  253.                 ^
  254.   CC      kernel/pid.o
  255.   CC      kernel/rcupdate.o
  256.   CC      kernel/extable.o
  257.   CC      kernel/params.o
  258.   CC      kernel/posix-timers.o
  259.   CC      kernel/kthread.o
  260.   CC      kernel/wait.o
  261.   CC      kernel/kfifo.o
  262.   CC      kernel/sys_ni.o
  263.   CC      kernel/posix-cpu-timers.o
  264.   CC      kernel/mutex.o
  265.   CC      kernel/hrtimer.o
  266. kernel/hrtimer.c: In function 'hrtimer_get_remaining':
  267. kernel/hrtimer.c:1023:29: warning: variable 'base' set but not used [-Wunused-but-set-variable]
  268.   struct hrtimer_clock_base *base;
  269.                              ^
  270. In file included from include/linux/hrtimer.h:19:0,
  271.                  from kernel/hrtimer.c:37:
  272. kernel/hrtimer.c: In function 'hrtimer_interrupt':
  273. include/linux/ktime.h:167:22: warning: 'now' may be used uninitialized in this function [-Wmaybe-uninitialized]
  274.   res.tv64 = lhs.tv64 - rhs.tv64;
  275.                       ^
  276. kernel/hrtimer.c:1199:24: note: 'now' was declared here
  277.   ktime_t expires_next, now;
  278.                         ^
  279.   CC      kernel/rwsem.o
  280.   CC      kernel/nsproxy.o
  281.   CC      kernel/srcu.o
  282.   CC      kernel/semaphore.o
  283.   CC      kernel/notifier.o
  284.   CC      kernel/ksysfs.o
  285.   CC      kernel/pm_qos_params.o
  286.   CC      kernel/sched_clock.o
  287.   CC      kernel/cred.o
  288.   CC      kernel/async.o
  289.   CC      kernel/freezer.o
  290.   CC      kernel/irq/handle.o
  291.   CC      kernel/irq/manage.o
  292. kernel/irq/manage.c: In function '__setup_irq':
  293. kernel/irq/manage.c:395:14: warning: variable 'old_name' set but not used [-Wunused-but-set-variable]
  294.   const char *old_name = NULL;
  295.               ^
  296.   CC      kernel/irq/spurious.o
  297.   CC      kernel/irq/resend.o
  298.   CC      kernel/irq/chip.o
  299.   CC      kernel/irq/devres.o
  300.   CC      kernel/irq/autoprobe.o
  301.   CC      kernel/irq/proc.o
  302.   LD      kernel/irq/built-in.o
  303.   CC      kernel/power/main.o
  304.   CC      kernel/power/console.o
  305.   CC      kernel/power/process.o
  306.   CC      kernel/power/wakelock.o
  307. kernel/power/wakelock.c: In function 'print_active_locks':
  308. kernel/power/wakelock.c:228:16: warning: unused variable 'irqflags' [-Wunused-variable]
  309.   unsigned long irqflags;
  310.                 ^
  311.   CC      kernel/power/userwakelock.o
  312.   CC      kernel/power/earlysuspend.o
  313.   CC      kernel/power/fbearlysuspend.o
  314. kernel/power/fbearlysuspend.c: In function 'stop_drawing_early_suspend':
  315. kernel/power/fbearlysuspend.c:33:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
  316.   int ret;
  317.       ^
  318.   CC      kernel/power/poweroff.o
  319.   LD      kernel/power/built-in.o
  320.   CC      kernel/time/timekeeping.o
  321.   CC      kernel/time/ntp.o
  322.   CC      kernel/time/clocksource.o
  323.   CC      kernel/time/jiffies.o
  324.   CC      kernel/time/timer_list.o
  325.   CC      kernel/time/clockevents.o
  326.   CC      kernel/time/tick-common.o
  327.   CC      kernel/time/tick-oneshot.o
  328.   CC      kernel/time/tick-sched.o
  329.   LD      kernel/time/built-in.o
  330.   CC      kernel/futex.o
  331. In file included from kernel/futex.c:51:0:
  332. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  333. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  334.   volatile char c;
  335.                 ^
  336. kernel/futex.c: In function 'futex_wake_op':
  337. kernel/futex.c:803:7: warning: variable 'dummy' set but not used [-Wunused-but-set-variable]
  338.    u32 dummy;
  339.        ^
  340.   CC      kernel/rtmutex.o
  341.   CC      kernel/up.o
  342.   CC      kernel/uid16.o
  343.   CC      kernel/kallsyms.o
  344.   CC      kernel/cgroup.o
  345. In file included from kernel/cgroup.c:33:0:
  346. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  347. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  348.   volatile char c;
  349.                 ^
  350.   CC      kernel/cgroup_debug.o
  351.   CC      kernel/cgroup_freezer.o
  352.   GZIP    kernel/config_data.gz
  353.   IKCFG   kernel/config_data.h
  354.   CC      kernel/configs.o
  355.   CC      kernel/res_counter.o
  356.   CC      kernel/rcuclassic.o
  357.   CC      kernel/utsname_sysctl.o
  358.   CC      kernel/dma-coherent.o
  359.   LD      kernel/built-in.o
  360.   CC      mm/bootmem.o
  361.   CC      mm/filemap.o
  362. In file included from mm/filemap.c:23:0:
  363. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  364. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  365.   volatile char c;
  366.                 ^
  367. mm/filemap.c: In function 'generic_perform_write':
  368. mm/filemap.c:2194:11: warning: variable 'index' set but not used [-Wunused-but-set-variable]
  369.    pgoff_t index;  /* Pagecache index for current page */
  370.            ^
  371.   CC      mm/mempool.o
  372. In file included from include/linux/blkdev.h:12:0,
  373.                  from mm/mempool.c:15:
  374. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  375. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  376.   volatile char c;
  377.                 ^
  378.   CC      mm/oom_kill.o
  379.   CC      mm/fadvise.o
  380. In file included from mm/fadvise.c:14:0:
  381. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  382. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  383.   volatile char c;
  384.                 ^
  385.   CC      mm/maccess.o
  386.   CC      mm/page_alloc.o
  387. In file included from mm/page_alloc.c:21:0:
  388. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  389. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  390.   volatile char c;
  391.                 ^
  392.   CC      mm/page-writeback.o
  393. In file included from mm/page-writeback.c:21:0:
  394. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  395. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  396.   volatile char c;
  397.                 ^
  398.   CC      mm/pdflush.o
  399.   CC      mm/readahead.o
  400. In file included from include/linux/blkdev.h:12:0,
  401.                  from mm/readahead.c:14:
  402. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  403. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  404.   volatile char c;
  405.                 ^
  406.   CC      mm/swap.o
  407. In file included from mm/swap.c:21:0:
  408. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  409. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  410.   volatile char c;
  411.                 ^
  412.   CC      mm/truncate.o
  413. In file included from mm/truncate.c:15:0:
  414. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  415. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  416.   volatile char c;
  417.                 ^
  418.   CC      mm/vmscan.o
  419. In file included from mm/vmscan.c:19:0:
  420. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  421. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  422.   volatile char c;
  423.                 ^
  424.   CC      mm/shmem.o
  425. In file included from mm/shmem.c:45:0:
  426. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  427. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  428.   volatile char c;
  429.                 ^
  430.   CC      mm/prio_tree.o
  431.   CC      mm/util.o
  432.   CC      mm/mmzone.o
  433.   CC      mm/vmstat.o
  434.   CC      mm/backing-dev.o
  435.   CC      mm/page_isolation.o
  436.   CC      mm/mm_init.o
  437.   CC      mm/fremap.o
  438. In file included from mm/fremap.c:13:0:
  439. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  440. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  441.   volatile char c;
  442.                 ^
  443.   CC      mm/highmem.o
  444. In file included from mm/highmem.c:23:0:
  445. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  446. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  447.   volatile char c;
  448.                 ^
  449.   CC      mm/madvise.o
  450. In file included from mm/madvise.c:9:0:
  451. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  452. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  453.   volatile char c;
  454.                 ^
  455.   CC      mm/memory.o
  456. In file included from mm/memory.c:47:0:
  457. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  458. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  459.   volatile char c;
  460.                 ^
  461. mm/memory.c: In function 'free_pgd_range':
  462. mm/memory.c:223:16: warning: variable 'start' set but not used [-Wunused-but-set-variable]
  463.   unsigned long start;
  464.                 ^
  465.   CC      mm/mincore.o
  466. In file included from mm/mincore.c:11:0:
  467. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  468. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  469.   volatile char c;
  470.                 ^
  471.   CC      mm/mlock.o
  472. In file included from mm/mlock.c:13:0:
  473. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  474. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  475.   volatile char c;
  476.                 ^
  477.   CC      mm/mmap.o
  478. In file included from mm/mmap.c:14:0:
  479. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  480. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  481.   volatile char c;
  482.                 ^
  483. mm/mmap.c: In function 'acct_stack_growth':
  484. mm/mmap.c:1556:16: warning: variable 'new_start' set but not used [-Wunused-but-set-variable]
  485.   unsigned long new_start;
  486.                 ^
  487.   CC      mm/mprotect.o
  488. In file included from include/linux/mempolicy.h:62:0,
  489.                  from mm/mprotect.c:19:
  490. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  491. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  492.   volatile char c;
  493.                 ^
  494.   CC      mm/mremap.o
  495.   CC      mm/msync.o
  496.   CC      mm/rmap.o
  497. In file included from mm/rmap.c:42:0:
  498. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  499. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  500.   volatile char c;
  501.                 ^
  502.   CC      mm/vmalloc.o
  503.   CC      mm/pagewalk.o
  504.   CC      mm/page_io.o
  505. In file included from mm/page_io.c:15:0:
  506. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  507. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  508.   volatile char c;
  509.                 ^
  510.   CC      mm/swap_state.o
  511. In file included from mm/swap_state.c:15:0:
  512. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  513. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  514.   volatile char c;
  515.                 ^
  516.   CC      mm/swapfile.o
  517. In file included from mm/swapfile.c:15:0:
  518. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  519. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  520.   volatile char c;
  521.                 ^
  522.   CC      mm/thrash.o
  523.   CC      mm/dmapool.o
  524.   CC      mm/ashmem.o
  525. In file included from include/linux/mempolicy.h:62:0,
  526.                  from include/linux/shmem_fs.h:5,
  527.                  from mm/ashmem.c:30:
  528. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  529. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  530.   volatile char c;
  531.                 ^
  532.   CC      mm/slab.o
  533. In file included from include/linux/mempolicy.h:62:0,
  534.                  from mm/slab.c:109:
  535. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  536. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  537.   volatile char c;
  538.                 ^
  539. mm/slab.c: In function 'cache_reap':
  540. mm/slab.c:4026:8: warning: variable 'freed' set but not used [-Wunused-but-set-variable]
  541.     int freed;
  542.         ^
  543.   LD      mm/built-in.o
  544.   CC      fs/open.o
  545. In file included from fs/open.c:27:0:
  546. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  547. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  548.   volatile char c;
  549.                 ^
  550.   CC      fs/read_write.o
  551. In file included from fs/read_write.c:17:0:
  552. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  553. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  554.   volatile char c;
  555.                 ^
  556.   CC      fs/file_table.o
  557.   CC      fs/super.o
  558. In file included from include/linux/blkdev.h:12:0,
  559.                  from fs/super.c:28:
  560. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  561. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  562.   volatile char c;
  563.                 ^
  564.   CC      fs/char_dev.o
  565.   CC      fs/stat.o
  566. In file included from fs/stat.c:16:0:
  567. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  568. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  569.   volatile char c;
  570.                 ^
  571.   CC      fs/exec.o
  572. In file included from fs/exec.c:35:0:
  573. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  574. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  575.   volatile char c;
  576.                 ^
  577.   CC      fs/pipe.o
  578. In file included from fs/pipe.c:18:0:
  579. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  580. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  581.   volatile char c;
  582.                 ^
  583.   CC      fs/namei.o
  584. In file included from fs/namei.c:23:0:
  585. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  586. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  587.   volatile char c;
  588.                 ^
  589.   CC      fs/fcntl.o
  590.   CC      fs/ioctl.o
  591. In file included from include/linux/buffer_head.h:13:0,
  592.                  from fs/ioctl.c:17:
  593. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  594. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  595.   volatile char c;
  596.                 ^
  597.   CC      fs/readdir.o
  598.   CC      fs/select.o
  599.   CC      fs/fifo.o
  600.   CC      fs/dcache.o
  601.   CC      fs/inode.o
  602. In file included from fs/inode.c:20:0:
  603. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  604. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  605.   volatile char c;
  606.                 ^
  607.   CC      fs/attr.o
  608.   CC      fs/bad_inode.o
  609.   CC      fs/file.o
  610.   CC      fs/filesystems.o
  611.   CC      fs/namespace.o
  612.   CC      fs/seq_file.o
  613.   CC      fs/xattr.o
  614.   CC      fs/libfs.o
  615. In file included from fs/libfs.c:7:0:
  616. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  617. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  618.   volatile char c;
  619.                 ^
  620.   CC      fs/fs-writeback.o
  621. In file included from include/linux/blkdev.h:12:0,
  622.                  from fs/fs-writeback.c:23:
  623. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  624. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  625.   volatile char c;
  626.                 ^
  627.   CC      fs/pnode.o
  628.   CC      fs/drop_caches.o
  629.   CC      fs/splice.o
  630. In file included from fs/splice.c:22:0:
  631. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  632. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  633.   volatile char c;
  634.                 ^
  635.   CC      fs/sync.o
  636. In file included from fs/sync.c:13:0:
  637. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  638. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  639.   volatile char c;
  640.                 ^
  641.   CC      fs/utimes.o
  642.   CC      fs/stack.o
  643.   CC      fs/buffer.o
  644. In file included from include/linux/blkdev.h:12:0,
  645.                  from fs/buffer.c:28:
  646. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  647. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  648.   volatile char c;
  649.                 ^
  650.   CC      fs/bio.o
  651. In file included from include/linux/blkdev.h:12:0,
  652.                  from fs/bio.c:21:
  653. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  654. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  655.   volatile char c;
  656.                 ^
  657.   CC      fs/block_dev.o
  658. In file included from include/linux/blkdev.h:12:0,
  659.                  from fs/block_dev.c:17:
  660. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  661. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  662.   volatile char c;
  663.                 ^
  664.   CC      fs/direct-io.o
  665. In file included from fs/direct-io.c:29:0:
  666. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  667. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  668.   volatile char c;
  669.                 ^
  670.   CC      fs/mpage.o
  671. In file included from include/linux/buffer_head.h:13:0,
  672.                  from fs/mpage.c:21:
  673. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  674. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  675.   volatile char c;
  676.                 ^
  677.   CC      fs/ioprio.o
  678. In file included from include/linux/blkdev.h:12:0,
  679.                  from fs/ioprio.c:24:
  680. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  681. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  682.   volatile char c;
  683.                 ^
  684.   CC      fs/devpts/inode.o
  685.   LD      fs/devpts/devpts.o
  686.   LD      fs/devpts/built-in.o
  687.   CC      fs/exportfs/expfs.o
  688.   LD      fs/exportfs/exportfs.o
  689.   LD      fs/exportfs/built-in.o
  690.   CC      fs/fat/cache.o
  691. In file included from include/linux/buffer_head.h:13:0,
  692.                  from fs/fat/cache.c:12:
  693. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  694. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  695.   volatile char c;
  696.                 ^
  697.   CC      fs/fat/dir.o
  698. In file included from include/linux/buffer_head.h:13:0,
  699.                  from fs/fat/dir.c:20:
  700. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  701. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  702.   volatile char c;
  703.                 ^
  704.   CC      fs/fat/fatent.o
  705. In file included from include/linux/blkdev.h:12:0,
  706.                  from fs/fat/fatent.c:9:
  707. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  708. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  709.   volatile char c;
  710.                 ^
  711.   CC      fs/fat/file.o
  712. In file included from include/linux/buffer_head.h:13:0,
  713.                  from fs/fat/file.c:13:
  714. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  715. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  716.   volatile char c;
  717.                 ^
  718.   CC      fs/fat/inode.o
  719. In file included from fs/fat/inode.c:19:0:
  720. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  721. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  722.   volatile char c;
  723.                 ^
  724.   CC      fs/fat/misc.o
  725. In file included from include/linux/buffer_head.h:13:0,
  726.                  from fs/fat/misc.c:11:
  727. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  728. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  729.   volatile char c;
  730.                 ^
  731.   CC      fs/fat/namei_msdos.o
  732. In file included from include/linux/buffer_head.h:13:0,
  733.                  from fs/fat/namei_msdos.c:11:
  734. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  735. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  736.   volatile char c;
  737.                 ^
  738.   CC      fs/fat/namei_vfat.o
  739. In file included from include/linux/buffer_head.h:13:0,
  740.                  from fs/fat/namei_vfat.c:23:
  741. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  742. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  743.   volatile char c;
  744.                 ^
  745.   LD      fs/fat/fat.o
  746.   LD      fs/fat/vfat.o
  747.   LD      fs/fat/msdos.o
  748.   LD      fs/fat/built-in.o
  749.   CC      fs/lockd/clntlock.o
  750. In file included from include/linux/nfs_fs.h:45:0,
  751.                  from fs/lockd/clntlock.c:12:
  752. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  753. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  754.   volatile char c;
  755.                 ^
  756.   CC      fs/lockd/clntproc.o
  757. In file included from include/linux/nfs_fs.h:45:0,
  758.                  from fs/lockd/clntproc.c:13:
  759. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  760. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  761.   volatile char c;
  762.                 ^
  763.   CC      fs/lockd/host.o
  764.   CC      fs/lockd/svc.o
  765.   CC      fs/lockd/svclock.o
  766.   CC      fs/lockd/svcshare.o
  767.   CC      fs/lockd/svcproc.o
  768.   CC      fs/lockd/svcsubs.o
  769.   CC      fs/lockd/mon.o
  770.   CC      fs/lockd/xdr.o
  771.   CC      fs/lockd/grace.o
  772.   CC      fs/lockd/xdr4.o
  773.   CC      fs/lockd/svc4proc.o
  774.   LD      fs/lockd/lockd.o
  775.   LD      fs/lockd/built-in.o
  776.   LD      fs/nfs_common/built-in.o
  777.   CC      fs/nfsd/nfssvc.o
  778.   CC      fs/nfsd/nfsctl.o
  779. In file included from fs/nfsd/nfsctl.c:24:0:
  780. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  781. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  782.   volatile char c;
  783.                 ^
  784.   CC      fs/nfsd/nfsproc.o
  785. fs/nfsd/nfsproc.c: In function 'nfsd_proc_create':
  786. fs/nfsd/nfsproc.c:307:7: warning: variable 'is_borc' set but not used [-Wunused-but-set-variable]
  787.    int is_borc = 0;
  788.        ^
  789.   CC      fs/nfsd/nfsfh.o
  790.   CC      fs/nfsd/vfs.o
  791. In file included from fs/nfsd/vfs.c:33:0:
  792. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  793. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  794.   volatile char c;
  795.                 ^
  796.   CC      fs/nfsd/export.o
  797. fs/nfsd/export.c: In function 'svc_export_parse':
  798. fs/nfsd/export.c:554:15: warning: 'an_int' may be used uninitialized in this function [-Wmaybe-uninitialized]
  799.    exp.ex_flags= an_int;
  800.                ^
  801.   CC      fs/nfsd/auth.o
  802.   CC      fs/nfsd/lockd.o
  803.   CC      fs/nfsd/nfscache.o
  804.   CC      fs/nfsd/nfsxdr.o
  805.   CC      fs/nfsd/stats.o
  806.   CC      fs/nfsd/nfs3proc.o
  807.   CC      fs/nfsd/nfs3xdr.o
  808.   LD      fs/nfsd/nfsd.o
  809.   LD      fs/nfsd/built-in.o
  810.   CC      fs/nls/nls_base.o
  811.   CC      fs/nls/nls_cp437.o
  812.   CC      fs/nls/nls_iso8859-1.o
  813.   LD      fs/nls/built-in.o
  814.   CC      fs/notify/dnotify/dnotify.o
  815.   LD      fs/notify/dnotify/built-in.o
  816.   CC      fs/notify/inotify/inotify.o
  817. fs/notify/inotify/inotify.c: In function 'inotify_destroy':
  818. fs/notify/inotify/inotify.c:628:23: warning: variable 'sb' set but not used [-Wunused-but-set-variable]
  819.    struct super_block *sb;
  820.                        ^
  821. fs/notify/inotify/inotify.c: In function 'inotify_rm_wd':
  822. fs/notify/inotify/inotify.c:857:22: warning: variable 'sb' set but not used [-Wunused-but-set-variable]
  823.   struct super_block *sb;
  824.                       ^
  825.   CC      fs/notify/inotify/inotify_user.o
  826.   LD      fs/notify/inotify/built-in.o
  827.   LD      fs/notify/built-in.o
  828.   CC      fs/partitions/check.o
  829. In file included from fs/partitions/check.h:1:0,
  830.                  from fs/partitions/check.c:23:
  831. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  832. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  833.   volatile char c;
  834.                 ^
  835. fs/partitions/check.c: At top level:
  836. fs/partitions/check.c:307:51: warning: 'struct kobj_uvent_env' declared inside parameter list [enabled by default]
  837.  static int part_uevent(struct device *dev, struct kobj_uvent_env *env)
  838.                                                    ^
  839. fs/partitions/check.c:307:51: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
  840. fs/partitions/check.c: In function 'part_uevent':
  841. fs/partitions/check.c:312:2: warning: passing argument 1 of 'add_uevent_var' from incompatible pointer type [enabled by default]
  842.   add_uevent_var(env, "PARTN=%u", part->partno);
  843.   ^
  844. In file included from include/linux/module.h:16:0,
  845.                  from fs/partitions/check.c:17:
  846. include/linux/kobject.h:203:5: note: expected 'struct kobj_uevent_env *' but argument is of type 'struct kobj_uvent_env *'
  847.  int add_uevent_var(struct kobj_uevent_env *env, const char *format, ...)
  848.      ^
  849. fs/partitions/check.c:309:18: warning: unused variable 'disk' [-Wunused-variable]
  850.   struct gendisk *disk = dev_to_disk(dev);
  851.                   ^
  852. fs/partitions/check.c: At top level:
  853. fs/partitions/check.c:320:2: warning: initialization from incompatible pointer type [enabled by default]
  854.   .uevent  = part_uevent,
  855.   ^
  856. fs/partitions/check.c:320:2: warning: (near initialization for 'part_type.uevent') [enabled by default]
  857.   CC      fs/partitions/msdos.o
  858. In file included from fs/partitions/check.h:1:0,
  859.                  from fs/partitions/msdos.c:23:
  860. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  861. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  862.   volatile char c;
  863.                 ^
  864.   LD      fs/partitions/built-in.o
  865.   CC      fs/proc/mmu.o
  866.   CC      fs/proc/task_mmu.o
  867. In file included from fs/proc/task_mmu.c:7:0:
  868. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  869. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  870.   volatile char c;
  871.                 ^
  872.   CC      fs/proc/inode.o
  873.   CC      fs/proc/root.o
  874.   CC      fs/proc/base.o
  875.   CC      fs/proc/generic.o
  876.   CC      fs/proc/array.o
  877. In file included from fs/proc/array.c:69:0:
  878. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  879. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  880.   volatile char c;
  881.                 ^
  882.   CC      fs/proc/proc_tty.o
  883.   CC      fs/proc/cmdline.o
  884.   CC      fs/proc/cpuinfo.o
  885.   CC      fs/proc/devices.o
  886.   CC      fs/proc/interrupts.o
  887.   CC      fs/proc/loadavg.o
  888.   CC      fs/proc/meminfo.o
  889.   CC      fs/proc/stat.o
  890.   CC      fs/proc/uptime.o
  891.   CC      fs/proc/version.o
  892.   CC      fs/proc/proc_sysctl.o
  893.   CC      fs/proc/proc_net.o
  894.   CC      fs/proc/kmsg.o
  895.   CC      fs/proc/page.o
  896.   LD      fs/proc/proc.o
  897.   LD      fs/proc/built-in.o
  898.   CC      fs/ramfs/inode.o
  899. In file included from fs/ramfs/inode.c:28:0:
  900. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  901. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  902.   volatile char c;
  903.                 ^
  904.   CC      fs/ramfs/file-mmu.o
  905.   LD      fs/ramfs/ramfs.o
  906.   LD      fs/ramfs/built-in.o
  907.   CC      fs/smbfs/proc.o
  908. In file included from include/linux/smb_fs.h:29:0,
  909.                  from fs/smbfs/proc.c:23:
  910. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  911. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  912.   volatile char c;
  913.                 ^
  914. fs/smbfs/proc.c: In function 'smb_proc_writeX':
  915. fs/smbfs/proc.c:1497:6: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  916.   u8 *p;
  917.       ^
  918. fs/smbfs/proc.c: In function 'smb_proc_query_cifsunix':
  919. fs/smbfs/proc.c:3398:6: warning: variable 'caps' set but not used [-Wunused-but-set-variable]
  920.   u64 caps;
  921.       ^
  922. fs/smbfs/proc.c:3397:13: warning: variable 'minor' set but not used [-Wunused-but-set-variable]
  923.   int major, minor;
  924.              ^
  925. fs/smbfs/proc.c:3397:6: warning: variable 'major' set but not used [-Wunused-but-set-variable]
  926.   int major, minor;
  927.       ^
  928.   CC      fs/smbfs/dir.o
  929. In file included from include/linux/smb_fs.h:29:0,
  930.                  from fs/smbfs/dir.c:18:
  931. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  932. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  933.   volatile char c;
  934.                 ^
  935.   CC      fs/smbfs/cache.o
  936. In file included from include/linux/smb_fs.h:29:0,
  937.                  from fs/smbfs/cache.c:16:
  938. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  939. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  940.   volatile char c;
  941.                 ^
  942.   CC      fs/smbfs/sock.o
  943. In file included from include/linux/smb_fs.h:29:0,
  944.                  from fs/smbfs/sock.c:25:
  945. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  946. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  947.   volatile char c;
  948.                 ^
  949.   CC      fs/smbfs/inode.o
  950. In file included from include/linux/smb_fs.h:29:0,
  951.                  from fs/smbfs/inode.c:29:
  952. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  953. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  954.   volatile char c;
  955.                 ^
  956.   CC      fs/smbfs/file.o
  957. In file included from fs/smbfs/file.c:17:0:
  958. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  959. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  960.   volatile char c;
  961.                 ^
  962.   CC      fs/smbfs/ioctl.o
  963. In file included from include/linux/smb_fs.h:29:0,
  964.                  from fs/smbfs/ioctl.c:18:
  965. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  966. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  967.   volatile char c;
  968.                 ^
  969.   CC      fs/smbfs/getopt.o
  970.   CC      fs/smbfs/symlink.o
  971. In file included from fs/smbfs/symlink.c:15:0:
  972. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  973. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  974.   volatile char c;
  975.                 ^
  976.   CC      fs/smbfs/smbiod.o
  977. In file included from include/linux/smb_fs.h:29:0,
  978.                  from fs/smbfs/smbiod.c:24:
  979. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  980. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  981.   volatile char c;
  982.                 ^
  983.   CC      fs/smbfs/request.o
  984. In file included from include/linux/smb_fs.h:29:0,
  985.                  from fs/smbfs/request.c:16:
  986. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  987. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  988.   volatile char c;
  989.                 ^
  990.   LD      fs/smbfs/smbfs.o
  991.   LD      fs/smbfs/built-in.o
  992.   CC      fs/sysfs/inode.o
  993. In file included from fs/sysfs/inode.c:15:0:
  994. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  995. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  996.   volatile char c;
  997.                 ^
  998.   CC      fs/sysfs/file.o
  999.   CC      fs/sysfs/dir.o
  1000.   CC      fs/sysfs/symlink.o
  1001.   CC      fs/sysfs/mount.o
  1002. In file included from fs/sysfs/mount.c:17:0:
  1003. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1004. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1005.   volatile char c;
  1006.                 ^
  1007.   CC      fs/sysfs/bin.o
  1008.   CC      fs/sysfs/group.o
  1009.   LD      fs/sysfs/built-in.o
  1010.   CC      fs/yaffs2/yaffs_ecc.o
  1011.   CC      fs/yaffs2/yaffs_fs.o
  1012. In file included from fs/yaffs2/yaffs_fs.c:49:0:
  1013. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1014. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1015.   volatile char c;
  1016.                 ^
  1017.   CC      fs/yaffs2/yaffs_guts.o
  1018. fs/yaffs2/yaffs_guts.c: In function 'yaffs_CheckChunkErased':
  1019. fs/yaffs2/yaffs_guts.c:903:6: warning: variable 'result' set but not used [-Wunused-but-set-variable]
  1020.   int result;
  1021.       ^
  1022. fs/yaffs2/yaffs_guts.c: In function 'yaffs_UpdateObjectHeader':
  1023. fs/yaffs2/yaffs_guts.c:3678:6: warning: variable 'result' set but not used [-Wunused-but-set-variable]
  1024.   int result = 0;
  1025.       ^
  1026. fs/yaffs2/yaffs_guts.c: In function 'yaffs_GrabChunkCache':
  1027. fs/yaffs2/yaffs_guts.c:3970:6: warning: variable 'pushout' set but not used [-Wunused-but-set-variable]
  1028.   int pushout;
  1029.       ^
  1030. fs/yaffs2/yaffs_guts.c: In function 'yaffs_Scan':
  1031. fs/yaffs2/yaffs_guts.c:5460:6: warning: variable 'result' set but not used [-Wunused-but-set-variable]
  1032.   int result;
  1033.       ^
  1034. fs/yaffs2/yaffs_guts.c: In function 'yaffs_CheckObjectDetailsLoaded':
  1035. fs/yaffs2/yaffs_guts.c:5899:6: warning: variable 'alloc_failed' set but not used [-Wunused-but-set-variable]
  1036.   int alloc_failed = 0;
  1037.       ^
  1038. fs/yaffs2/yaffs_guts.c:5898:6: warning: variable 'result' set but not used [-Wunused-but-set-variable]
  1039.   int result;
  1040.       ^
  1041. fs/yaffs2/yaffs_guts.c: In function 'yaffs_ScanBackwards':
  1042. fs/yaffs2/yaffs_guts.c:5961:6: warning: variable 'deleted' set but not used [-Wunused-but-set-variable]
  1043.   int deleted;
  1044.       ^
  1045. fs/yaffs2/yaffs_guts.c:5959:6: warning: variable 'result' set but not used [-Wunused-but-set-variable]
  1046.   int result;
  1047.       ^
  1048. fs/yaffs2/yaffs_guts.c: In function 'yaffs_GetObjectName':
  1049. fs/yaffs2/yaffs_guts.c:6917:7: warning: variable 'result' set but not used [-Wunused-but-set-variable]
  1050.    int result;
  1051.        ^
  1052. fs/yaffs2/yaffs_guts.c: At top level:
  1053. fs/yaffs2/yaffs_guts.c:1572:12: warning: 'yaffs_DeleteWorker' defined but not used [-Wunused-function]
  1054.  static int yaffs_DeleteWorker(yaffs_Object *in, yaffs_Tnode *tn, __u32 level,
  1055.             ^
  1056. fs/yaffs2/yaffs_guts.c:601:12: warning: 'yaffs_VerifyTnodeWorker' defined but not used [-Wunused-function]
  1057.  static int yaffs_VerifyTnodeWorker(yaffs_Object *obj, yaffs_Tnode *tn,
  1058.             ^
  1059.   CC      fs/yaffs2/yaffs_checkptrw.o
  1060.   CC      fs/yaffs2/yaffs_packedtags1.o
  1061.   CC      fs/yaffs2/yaffs_packedtags2.o
  1062.   CC      fs/yaffs2/yaffs_nand.o
  1063.   CC      fs/yaffs2/yaffs_qsort.o
  1064.   CC      fs/yaffs2/yaffs_tagscompat.o
  1065.   CC      fs/yaffs2/yaffs_tagsvalidity.o
  1066.   CC      fs/yaffs2/yaffs_mtdif.o
  1067.   CC      fs/yaffs2/yaffs_mtdif1.o
  1068. fs/yaffs2/yaffs_mtdif1.c: In function 'nandmtd1_QueryNANDBlock':
  1069. fs/yaffs2/yaffs_mtdif1.c:330:6: warning: variable 'retval' set but not used [-Wunused-but-set-variable]
  1070.   int retval;
  1071.       ^
  1072.   CC      fs/yaffs2/yaffs_mtdif2.o
  1073.   LD      fs/yaffs2/yaffs.o
  1074.   LD      fs/yaffs2/built-in.o
  1075.   CC      fs/eventpoll.o
  1076.   CC      fs/anon_inodes.o
  1077.   CC      fs/signalfd.o
  1078.   CC      fs/timerfd.o
  1079.   CC      fs/eventfd.o
  1080.   CC      fs/aio.o
  1081.   CC      fs/locks.o
  1082.   CC      fs/nfsctl.o
  1083.   CC      fs/binfmt_misc.o
  1084. In file included from fs/binfmt_misc.c:26:0:
  1085. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1086. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1087.   volatile char c;
  1088.                 ^
  1089.   CC      fs/binfmt_script.o
  1090.   CC      fs/binfmt_elf.o
  1091. In file included from fs/binfmt_elf.c:35:0:
  1092. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1093. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1094.   volatile char c;
  1095.                 ^
  1096. fs/binfmt_elf.c: In function 'load_elf_binary':
  1097. fs/binfmt_elf.c:585:16: warning: variable 'reloc_func_desc' set but not used [-Wunused-but-set-variable]
  1098.   unsigned long reloc_func_desc = 0;
  1099.                 ^
  1100.   LD      fs/built-in.o
  1101.   CC      ipc/util.o
  1102.   CC      ipc/msgutil.o
  1103.   CC      ipc/msg.o
  1104.   CC      ipc/sem.o
  1105.   CC      ipc/shm.o
  1106. In file included from include/linux/mempolicy.h:62:0,
  1107.                  from include/linux/shmem_fs.h:5,
  1108.                  from ipc/shm.c:31:
  1109. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1110. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1111.   volatile char c;
  1112.                 ^
  1113. ipc/shm.c: In function 'is_file_shm_hugepages':
  1114. ipc/shm.c:300:25: warning: variable 'sfd' set but not used [-Wunused-but-set-variable]
  1115.    struct shm_file_data *sfd;
  1116.                          ^
  1117.   CC      ipc/ipcns_notifier.o
  1118.   CC      ipc/ipc_sysctl.o
  1119.   LD      ipc/built-in.o
  1120.   CC      security/commoncap.o
  1121. In file included from security/commoncap.c:19:0:
  1122. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1123. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1124.   volatile char c;
  1125.                 ^
  1126.   LD      security/built-in.o
  1127.   CC      crypto/api.o
  1128.   CC      crypto/cipher.o
  1129.   CC      crypto/digest.o
  1130.   CC      crypto/compress.o
  1131.   CC      crypto/algapi.o
  1132.   CC      crypto/scatterwalk.o
  1133. In file included from crypto/scatterwalk.c:21:0:
  1134. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1135. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1136.   volatile char c;
  1137.                 ^
  1138.   CC      crypto/proc.o
  1139.   CC      crypto/ablkcipher.o
  1140.   CC      crypto/blkcipher.o
  1141.   CC      crypto/hash.o
  1142.   CC      crypto/ahash.o
  1143.   CC      crypto/shash.o
  1144.   CC      crypto/algboss.o
  1145.   CC      crypto/testmgr.o
  1146.   LD      crypto/crypto.o
  1147.   LD      crypto/crypto_algapi.o
  1148.   CC      crypto/aead.o
  1149.   LD      crypto/crypto_blkcipher.o
  1150.   CC      crypto/chainiv.o
  1151.   CC      crypto/eseqiv.o
  1152.   LD      crypto/crypto_hash.o
  1153.   LD      crypto/cryptomgr.o
  1154.   CC      crypto/hmac.o
  1155.   CC      crypto/md5.o
  1156.   CC      crypto/sha1_generic.o
  1157.   CC      crypto/sha256_generic.o
  1158.   CC      crypto/ecb.o
  1159.   CC      crypto/cbc.o
  1160.   CC      crypto/pcbc.o
  1161.   CC      crypto/des_generic.o
  1162.   CC      crypto/twofish.o
  1163.   CC      crypto/twofish_common.o
  1164.   CC      crypto/aes_generic.o
  1165.   CC      crypto/crc32c.o
  1166.   CC      crypto/authenc.o
  1167.   CC      crypto/rng.o
  1168.   CC      crypto/krng.o
  1169.   LD      crypto/built-in.o
  1170.   CC      block/elevator.o
  1171. In file included from include/linux/blkdev.h:12:0,
  1172.                  from block/elevator.c:27:
  1173. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1174. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1175.   volatile char c;
  1176.                 ^
  1177.   CC      block/blk-core.o
  1178. In file included from include/linux/blkdev.h:12:0,
  1179.                  from block/blk-core.c:18:
  1180. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1181. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1182.   volatile char c;
  1183.                 ^
  1184. block/blk-core.c: In function 'blk_account_io_completion':
  1185. block/blk-core.c:1677:7: warning: variable 'cpu' set but not used [-Wunused-but-set-variable]
  1186.    int cpu;
  1187.        ^
  1188.   CC      block/blk-tag.o
  1189. In file included from include/linux/blkdev.h:12:0,
  1190.                  from block/blk-tag.c:7:
  1191. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1192. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1193.   volatile char c;
  1194.                 ^
  1195.   CC      block/blk-sysfs.o
  1196. In file included from include/linux/blkdev.h:12:0,
  1197.                  from block/blk-sysfs.c:7:
  1198. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1199. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1200.   volatile char c;
  1201.                 ^
  1202.   CC      block/blk-barrier.o
  1203. In file included from include/linux/blkdev.h:12:0,
  1204.                  from block/blk-barrier.c:7:
  1205. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1206. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1207.   volatile char c;
  1208.                 ^
  1209.   CC      block/blk-settings.o
  1210. In file included from include/linux/blkdev.h:12:0,
  1211.                  from block/blk-settings.c:8:
  1212. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1213. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1214.   volatile char c;
  1215.                 ^
  1216.   CC      block/blk-ioc.o
  1217. In file included from include/linux/blkdev.h:12:0,
  1218.                  from block/blk-ioc.c:8:
  1219. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1220. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1221.   volatile char c;
  1222.                 ^
  1223.   CC      block/blk-map.o
  1224. In file included from include/linux/blkdev.h:12:0,
  1225.                  from block/blk-map.c:7:
  1226. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1227. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1228.   volatile char c;
  1229.                 ^
  1230.   CC      block/blk-exec.o
  1231. In file included from include/linux/blkdev.h:12:0,
  1232.                  from block/blk-exec.c:7:
  1233. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1234. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1235.   volatile char c;
  1236.                 ^
  1237.   CC      block/blk-merge.o
  1238. In file included from include/linux/blkdev.h:12:0,
  1239.                  from block/blk-merge.c:7:
  1240. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1241. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1242.   volatile char c;
  1243.                 ^
  1244. block/blk-merge.c: In function '__blk_recalc_rq_segments':
  1245. block/blk-merge.c:44:15: warning: variable 'phys_size' set but not used [-Wunused-but-set-variable]
  1246.   unsigned int phys_size;
  1247.                ^
  1248.   CC      block/blk-softirq.o
  1249. In file included from include/linux/blkdev.h:12:0,
  1250.                  from block/blk-softirq.c:8:
  1251. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1252. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1253.   volatile char c;
  1254.                 ^
  1255.   CC      block/blk-timeout.o
  1256. In file included from include/linux/blkdev.h:12:0,
  1257.                  from block/blk-timeout.c:6:
  1258. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1259. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1260.   volatile char c;
  1261.                 ^
  1262.   CC      block/ioctl.o
  1263. In file included from include/linux/blkdev.h:12:0,
  1264.                  from block/ioctl.c:2:
  1265. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1266. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1267.   volatile char c;
  1268.                 ^
  1269.   CC      block/genhd.o
  1270. In file included from include/linux/blkdev.h:12:0,
  1271.                  from block/genhd.c:10:
  1272. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1273. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1274.   volatile char c;
  1275.                 ^
  1276.   CC      block/scsi_ioctl.o
  1277. In file included from include/linux/blkdev.h:12:0,
  1278.                  from block/scsi_ioctl.c:23:
  1279. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1280. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1281.   volatile char c;
  1282.                 ^
  1283.   CC      block/cmd-filter.o
  1284. In file included from include/linux/blkdev.h:12:0,
  1285.                  from include/scsi/scsi_cmnd.h:5,
  1286.                  from include/scsi/scsi.h:12,
  1287.                  from block/cmd-filter.c:26:
  1288. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1289. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1290.   volatile char c;
  1291.                 ^
  1292.   CC      block/noop-iosched.o
  1293. In file included from include/linux/blkdev.h:12:0,
  1294.                  from block/noop-iosched.c:4:
  1295. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1296. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1297.   volatile char c;
  1298.                 ^
  1299.   CC      block/as-iosched.o
  1300. In file included from include/linux/blkdev.h:12:0,
  1301.                  from block/as-iosched.c:10:
  1302. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1303. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1304.   volatile char c;
  1305.                 ^
  1306.   CC      block/deadline-iosched.o
  1307. In file included from include/linux/blkdev.h:12:0,
  1308.                  from block/deadline-iosched.c:8:
  1309. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1310. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1311.   volatile char c;
  1312.                 ^
  1313.   CC      block/cfq-iosched.o
  1314. In file included from include/linux/blkdev.h:12:0,
  1315.                  from block/cfq-iosched.c:10:
  1316. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1317. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1318.   volatile char c;
  1319.                 ^
  1320.   LD      block/built-in.o
  1321.   LD      drivers/auxdisplay/built-in.o
  1322.   CC      drivers/base/core.o
  1323.   CC      drivers/base/sys.o
  1324.   CC      drivers/base/bus.o
  1325.   CC      drivers/base/dd.o
  1326.   CC      drivers/base/driver.o
  1327.   CC      drivers/base/class.o
  1328.   CC      drivers/base/platform.o
  1329.   CC      drivers/base/cpu.o
  1330.   CC      drivers/base/firmware.o
  1331.   CC      drivers/base/init.o
  1332.   CC      drivers/base/map.o
  1333.   CC      drivers/base/devres.o
  1334.   CC      drivers/base/attribute_container.o
  1335.   CC      drivers/base/transport_class.o
  1336.   CC      drivers/base/power/sysfs.o
  1337.   CC      drivers/base/power/main.o
  1338.   LD      drivers/base/power/built-in.o
  1339.   CC      drivers/base/dma-mapping.o
  1340.   CC      drivers/base/firmware_class.o
  1341.   LD      drivers/base/built-in.o
  1342.   CC      drivers/block/brd.o
  1343. In file included from include/linux/blkdev.h:12:0,
  1344.                  from drivers/block/brd.c:15:
  1345. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1346. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1347.   volatile char c;
  1348.                 ^
  1349.   CC      drivers/block/loop.o
  1350. In file included from include/linux/blkdev.h:12:0,
  1351.                  from drivers/block/loop.c:61:
  1352. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1353. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1354.   volatile char c;
  1355.                 ^
  1356.   CC      drivers/block/nbd.o
  1357. In file included from include/linux/blkdev.h:12:0,
  1358.                  from drivers/block/nbd.c:17:
  1359. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1360. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1361.   volatile char c;
  1362.                 ^
  1363.   LD      drivers/block/built-in.o
  1364.   LD      drivers/cdrom/built-in.o
  1365.   CC      drivers/char/mem.o
  1366.   CC      drivers/char/random.o
  1367.   CC      drivers/char/tty_io.o
  1368.   CC      drivers/char/n_tty.o
  1369.   CC      drivers/char/tty_ioctl.o
  1370.   CC      drivers/char/tty_ldisc.o
  1371.   CC      drivers/char/tty_buffer.o
  1372.   CC      drivers/char/tty_port.o
  1373.   CC      drivers/char/pty.o
  1374.   CC      drivers/char/misc.o
  1375.   CC      drivers/char/vt_ioctl.o
  1376.   CC      drivers/char/vc_screen.o
  1377.   CC      drivers/char/selection.o
  1378.   CC      drivers/char/keyboard.o
  1379.   CC      drivers/char/consolemap.o
  1380.   CONMK   drivers/char/consolemap_deftbl.c
  1381.   CC      drivers/char/consolemap_deftbl.o
  1382.   CC      drivers/char/vt.o
  1383. drivers/char/vt.c: In function 'vc_do_resize':
  1384. drivers/char/vt.c:826:49: warning: variable 'old_screen_size' set but not used [-Wunused-but-set-variable]
  1385.   unsigned int old_cols, old_rows, old_row_size, old_screen_size;
  1386.                                                  ^
  1387. drivers/char/vt.c:826:15: warning: variable 'old_cols' set but not used [-Wunused-but-set-variable]
  1388.   unsigned int old_cols, old_rows, old_row_size, old_screen_size;
  1389.                ^
  1390. drivers/char/vt.c: In function 'do_con_write':
  1391. drivers/char/vt.c:2115:6: warning: variable 'orig_count' set but not used [-Wunused-but-set-variable]
  1392.   int orig_count;
  1393.       ^
  1394. drivers/char/vt.c:2114:23: warning: variable 'orig_buf' set but not used [-Wunused-but-set-variable]
  1395.   const unsigned char *orig_buf = NULL;
  1396.                        ^
  1397.   SHIPPED drivers/char/defkeymap.c
  1398.   CC      drivers/char/defkeymap.o
  1399.   CC      drivers/char/sysrq.o
  1400. In file included from include/linux/buffer_head.h:13:0,
  1401.                  from drivers/char/sysrq.c:32:
  1402. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1403. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1404.   volatile char c;
  1405.                 ^
  1406.   CC      drivers/char/hw_random/core.o
  1407.   LD      drivers/char/hw_random/rng-core.o
  1408.   LD      drivers/char/hw_random/built-in.o
  1409.   CC      drivers/char/goldfish_tty.o
  1410.   LD      drivers/char/built-in.o
  1411.   LD      drivers/clocksource/built-in.o
  1412.   CC      drivers/connector/cn_queue.o
  1413.   CC      drivers/connector/connector.o
  1414.   LD      drivers/connector/cn.o
  1415.   CC      drivers/connector/cn_proc.o
  1416.   LD      drivers/connector/built-in.o
  1417.   LD      drivers/crypto/built-in.o
  1418.   LD      drivers/firmware/built-in.o
  1419.   LD      drivers/gpio/built-in.o
  1420.   LD      drivers/gpu/drm/built-in.o
  1421.   LD      drivers/gpu/built-in.o
  1422.   CC      drivers/hid/hid-core.o
  1423.   CC      drivers/hid/hid-input.o
  1424.   LD      drivers/hid/hid.o
  1425.   LD      drivers/hid/built-in.o
  1426.   CC [M]  drivers/hid/hid-dummy.o
  1427.   LD      drivers/i2c/algos/built-in.o
  1428.   LD      drivers/i2c/busses/built-in.o
  1429.   LD      drivers/i2c/chips/built-in.o
  1430.   LD      drivers/i2c/built-in.o
  1431.   LD      drivers/idle/built-in.o
  1432.   LD      drivers/ieee1394/built-in.o
  1433.   CC      drivers/input/input.o
  1434.   CC      drivers/input/input-compat.o
  1435.   CC      drivers/input/ff-core.o
  1436.   LD      drivers/input/input-core.o
  1437.   CC      drivers/input/mousedev.o
  1438.   CC      drivers/input/evdev.o
  1439.   CC      drivers/input/keyboard/atkbd.o
  1440.   CC      drivers/input/keyboard/goldfish_events.o
  1441.   LD      drivers/input/keyboard/built-in.o
  1442.   LD      drivers/input/misc/built-in.o
  1443.   LD      drivers/input/built-in.o
  1444.   CC      drivers/input/serio/serio.o
  1445.   CC      drivers/input/serio/libps2.o
  1446.   LD      drivers/input/serio/built-in.o
  1447.   LD      drivers/lguest/built-in.o
  1448.   LD      drivers/macintosh/built-in.o
  1449.   CC      drivers/md/dm.o
  1450. In file included from include/linux/blkdev.h:12:0,
  1451.                  from include/linux/device-mapper.h:12,
  1452.                  from drivers/md/dm.h:14,
  1453.                  from drivers/md/dm.c:8:
  1454. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1455. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1456.   volatile char c;
  1457.                 ^
  1458. drivers/md/dm.c: In function 'dm_request':
  1459. drivers/md/dm.c:933:6: warning: variable 'cpu' set but not used [-Wunused-but-set-variable]
  1460.   int cpu;
  1461.       ^
  1462.   CC      drivers/md/dm-table.o
  1463. In file included from include/linux/blkdev.h:12:0,
  1464.                  from include/linux/device-mapper.h:12,
  1465.                  from drivers/md/dm.h:14,
  1466.                  from drivers/md/dm-table.c:8:
  1467. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1468. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1469.   volatile char c;
  1470.                 ^
  1471.   CC      drivers/md/dm-target.o
  1472. In file included from include/linux/blkdev.h:12:0,
  1473.                  from include/linux/device-mapper.h:12,
  1474.                  from drivers/md/dm.h:14,
  1475.                  from drivers/md/dm-target.c:7:
  1476. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1477. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1478.   volatile char c;
  1479.                 ^
  1480.   CC      drivers/md/dm-linear.o
  1481. In file included from include/linux/blkdev.h:12:0,
  1482.                  from include/linux/device-mapper.h:12,
  1483.                  from drivers/md/dm.h:14,
  1484.                  from drivers/md/dm-linear.c:7:
  1485. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1486. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1487.   volatile char c;
  1488.                 ^
  1489.   CC      drivers/md/dm-stripe.o
  1490. In file included from include/linux/blkdev.h:12:0,
  1491.                  from include/linux/device-mapper.h:12,
  1492.                  from drivers/md/dm-stripe.c:7:
  1493. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1494. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1495.   volatile char c;
  1496.                 ^
  1497.   CC      drivers/md/dm-ioctl.o
  1498. In file included from include/linux/blkdev.h:12:0,
  1499.                  from include/linux/device-mapper.h:12,
  1500.                  from drivers/md/dm.h:14,
  1501.                  from drivers/md/dm-ioctl.c:8:
  1502. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1503. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1504.   volatile char c;
  1505.                 ^
  1506.   CC      drivers/md/dm-io.o
  1507. In file included from include/linux/blkdev.h:12:0,
  1508.                  from include/linux/device-mapper.h:12,
  1509.                  from drivers/md/dm-io.c:8:
  1510. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1511. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1512.   volatile char c;
  1513.                 ^
  1514.   CC      drivers/md/dm-kcopyd.o
  1515. In file included from include/linux/blkdev.h:12:0,
  1516.                  from drivers/md/dm-kcopyd.c:14:
  1517. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1518. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1519.   volatile char c;
  1520.                 ^
  1521.   CC      drivers/md/dm-sysfs.o
  1522. In file included from include/linux/blkdev.h:12:0,
  1523.                  from include/linux/device-mapper.h:12,
  1524.                  from drivers/md/dm.h:14,
  1525.                  from drivers/md/dm-sysfs.c:9:
  1526. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1527. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1528.   volatile char c;
  1529.                 ^
  1530.   CC      drivers/md/dm-uevent.o
  1531. In file included from include/linux/blkdev.h:12:0,
  1532.                  from include/linux/device-mapper.h:12,
  1533.                  from drivers/md/dm.h:14,
  1534.                  from drivers/md/dm-uevent.c:26:
  1535. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1536. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1537.   volatile char c;
  1538.                 ^
  1539.   LD      drivers/md/dm-mod.o
  1540.   CC      drivers/md/dm-crypt.o
  1541. In file included from include/linux/blkdev.h:12:0,
  1542.                  from drivers/md/dm-crypt.c:15:
  1543. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1544. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1545.   volatile char c;
  1546.                 ^
  1547.   LD      drivers/md/built-in.o
  1548.   LD      drivers/media/common/tuners/built-in.o
  1549.   LD      drivers/media/common/built-in.o
  1550.   LD      drivers/media/video/built-in.o
  1551.   LD      drivers/media/built-in.o
  1552.   LD      drivers/mfd/built-in.o
  1553.   CC      drivers/misc/pmem.o
  1554. In file included from include/linux/mempolicy.h:62:0,
  1555.                  from drivers/misc/pmem.c:24:
  1556. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1557. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1558.   volatile char c;
  1559.                 ^
  1560. drivers/misc/pmem.c: In function 'pmem_unmap_pfn_range':
  1561. drivers/misc/pmem.c:496:6: warning: variable 'garbage_pages' set but not used [-Wunused-but-set-variable]
  1562.   int garbage_pages;
  1563.       ^
  1564.   CC      drivers/misc/goldfish_audio.o
  1565.   LD      drivers/misc/eeprom/built-in.o
  1566.   CC      drivers/misc/qemupipe/qemu_pipe.o
  1567. drivers/misc/qemupipe/qemu_pipe.c: In function 'qemu_pipe_read_write':
  1568. drivers/misc/qemupipe/qemu_pipe.c:297:9: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1569.     char c;
  1570.          ^
  1571.   LD      drivers/misc/qemupipe/built-in.o
  1572.   CC      drivers/misc/qemutrace/qemu_trace.o
  1573. drivers/misc/qemutrace/qemu_trace.c: In function 'qemu_trace_pid_exec':
  1574. drivers/misc/qemutrace/qemu_trace.c:308:1: warning: the frame size of 4096 bytes is larger than 1024 bytes [-Wframe-larger-than=]
  1575.  }
  1576.  ^
  1577. drivers/misc/qemutrace/qemu_trace.c: In function 'qemu_trace_execve':
  1578. drivers/misc/qemutrace/qemu_trace.c:166:1: warning: the frame size of 4104 bytes is larger than 1024 bytes [-Wframe-larger-than=]
  1579.  }
  1580.  ^
  1581. drivers/misc/qemutrace/qemu_trace.c: In function 'qemu_trace_mmap':
  1582. drivers/misc/qemutrace/qemu_trace.c:192:1: warning: the frame size of 4096 bytes is larger than 1024 bytes [-Wframe-larger-than=]
  1583.  }
  1584.  ^
  1585.   CC      drivers/misc/qemutrace/qemu_trace_sysfs.o
  1586.   LD      drivers/misc/qemutrace/built-in.o
  1587.   LD      drivers/misc/built-in.o
  1588.   CC      drivers/mmc/card/block.o
  1589. In file included from include/linux/blkdev.h:12:0,
  1590.                  from drivers/mmc/card/block.c:29:
  1591. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1592. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1593.   volatile char c;
  1594.                 ^
  1595.   CC      drivers/mmc/card/queue.o
  1596. In file included from include/linux/blkdev.h:12:0,
  1597.                  from drivers/mmc/card/queue.c:13:
  1598. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1599. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1600.   volatile char c;
  1601.                 ^
  1602.   LD      drivers/mmc/card/mmc_block.o
  1603.   LD      drivers/mmc/card/built-in.o
  1604.   CC      drivers/mmc/core/core.o
  1605. In file included from drivers/mmc/core/core.c:19:0:
  1606. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1607. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1608.   volatile char c;
  1609.                 ^
  1610.   CC      drivers/mmc/core/bus.o
  1611.   CC      drivers/mmc/core/host.o
  1612. In file included from drivers/mmc/core/host.c:17:0:
  1613. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1614. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1615.   volatile char c;
  1616.                 ^
  1617.   CC      drivers/mmc/core/mmc.o
  1618.   CC      drivers/mmc/core/mmc_ops.o
  1619.   CC      drivers/mmc/core/sd.o
  1620.   CC      drivers/mmc/core/sd_ops.o
  1621.   CC      drivers/mmc/core/sdio.o
  1622.   CC      drivers/mmc/core/sdio_ops.o
  1623.   CC      drivers/mmc/core/sdio_bus.o
  1624.   CC      drivers/mmc/core/sdio_cis.o
  1625.   CC      drivers/mmc/core/sdio_io.o
  1626.   CC      drivers/mmc/core/sdio_irq.o
  1627.   LD      drivers/mmc/core/mmc_core.o
  1628.   LD      drivers/mmc/core/built-in.o
  1629.   CC      drivers/mmc/host/goldfish.o
  1630. In file included from include/linux/blkdev.h:12:0,
  1631.                  from drivers/mmc/host/goldfish.c:30:
  1632. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1633. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1634.   volatile char c;
  1635.                 ^
  1636.   LD      drivers/mmc/host/built-in.o
  1637.   LD      drivers/mmc/built-in.o
  1638.   CC      drivers/mtd/mtdcore.o
  1639.   CC      drivers/mtd/mtdsuper.o
  1640.   LD      drivers/mtd/mtd.o
  1641.   CC      drivers/mtd/mtdchar.o
  1642.   CC      drivers/mtd/mtd_blkdevs.o
  1643. In file included from include/linux/blkdev.h:12:0,
  1644.                  from drivers/mtd/mtd_blkdevs.c:15:
  1645. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1646. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1647.   volatile char c;
  1648.                 ^
  1649.   CC      drivers/mtd/mtdblock.o
  1650.   CC      drivers/mtd/chips/chipreg.o
  1651.   LD      drivers/mtd/chips/built-in.o
  1652.   CC      drivers/mtd/devices/goldfish_nand.o
  1653.   LD      drivers/mtd/devices/built-in.o
  1654.   LD      drivers/mtd/lpddr/built-in.o
  1655.   LD      drivers/mtd/maps/built-in.o
  1656.   LD      drivers/mtd/nand/built-in.o
  1657.   LD      drivers/mtd/onenand/built-in.o
  1658.   LD      drivers/mtd/tests/built-in.o
  1659.   LD      drivers/mtd/built-in.o
  1660.   CC      drivers/net/mii.o
  1661.   CC      drivers/net/Space.o
  1662.   CC      drivers/net/loopback.o
  1663.   CC      drivers/net/tun.o
  1664.   CC      drivers/net/smc91x.o
  1665. drivers/net/smc91x.c: In function 'smc_tx':
  1666. drivers/net/smc91x.c:707:51: warning: variable 'pkt_len' set but not used [-Wunused-but-set-variable]
  1667.   unsigned int saved_packet, packet_no, tx_status, pkt_len;
  1668.                                                    ^
  1669. drivers/net/smc91x.c: In function 'smc_phy_configure':
  1670. drivers/net/smc91x.c:1042:6: warning: variable 'status' set but not used [-Wunused-but-set-variable]
  1671.   int status;
  1672.       ^
  1673.   LD      drivers/net/arm/built-in.o
  1674.   LD      drivers/net/wireless/built-in.o
  1675.   LD      drivers/net/built-in.o
  1676.   LD      drivers/platform/built-in.o
  1677.   CC      drivers/power/power_supply_core.o
  1678.   CC      drivers/power/power_supply_sysfs.o
  1679.   LD      drivers/power/power_supply.o
  1680.   CC      drivers/power/goldfish_battery.o
  1681.   LD      drivers/power/built-in.o
  1682.   CC      drivers/rtc/rtc-lib.o
  1683.   CC      drivers/rtc/hctosys.o
  1684.   CC      drivers/rtc/class.o
  1685.   CC      drivers/rtc/interface.o
  1686.   CC      drivers/rtc/alarm.o
  1687.   CC      drivers/rtc/rtc-dev.o
  1688.   CC      drivers/rtc/rtc-proc.o
  1689.   CC      drivers/rtc/rtc-sysfs.o
  1690.   LD      drivers/rtc/rtc-core.o
  1691.   CC      drivers/rtc/rtc-goldfish.o
  1692.   LD      drivers/rtc/built-in.o
  1693.   LD      drivers/serial/built-in.o
  1694.   CC      drivers/staging/staging.o
  1695.   CC      drivers/staging/android/binder.o
  1696.   CC      drivers/staging/android/logger.o
  1697.   CC      drivers/staging/android/timed_output.o
  1698.   CC      drivers/staging/android/lowmemorykiller.o
  1699.   LD      drivers/staging/android/built-in.o
  1700.   LD      drivers/staging/built-in.o
  1701.   CC      drivers/video/fb_notify.o
  1702.   CC      drivers/video/fbmem.o
  1703.   CC      drivers/video/fbmon.o
  1704.   CC      drivers/video/fbcmap.o
  1705.   CC      drivers/video/fbsysfs.o
  1706.   CC      drivers/video/modedb.o
  1707.   CC      drivers/video/fbcvt.o
  1708.   LD      drivers/video/fb.o
  1709.   LD      drivers/video/backlight/built-in.o
  1710.   CC      drivers/video/console/dummycon.o
  1711.   LD      drivers/video/console/built-in.o
  1712.   LD      drivers/video/display/built-in.o
  1713.   CC      drivers/video/cfbfillrect.o
  1714.   CC      drivers/video/cfbcopyarea.o
  1715.   CC      drivers/video/cfbimgblt.o
  1716.   CC      drivers/video/goldfishfb.o
  1717.   LD      drivers/video/built-in.o
  1718.   LD      drivers/built-in.o
  1719.   LD      sound/built-in.o
  1720.   LD      firmware/built-in.o
  1721.   CC      net/socket.o
  1722.   CC      net/802/p8022.o
  1723.   CC      net/802/psnap.o
  1724.   CC      net/802/stp.o
  1725.   LD      net/802/built-in.o
  1726.   CC      net/8021q/vlan_core.o
  1727.   CC      net/8021q/vlan.o
  1728.   CC      net/8021q/vlan_dev.o
  1729.   CC      net/8021q/vlan_netlink.o
  1730.   CC      net/8021q/vlanproc.o
  1731.   LD      net/8021q/8021q.o
  1732.   LD      net/8021q/built-in.o
  1733.   CC      net/bridge/br.o
  1734.   CC      net/bridge/br_device.o
  1735.   CC      net/bridge/br_fdb.o
  1736.   CC      net/bridge/br_forward.o
  1737.   CC      net/bridge/br_if.o
  1738.   CC      net/bridge/br_input.o
  1739.   CC      net/bridge/br_ioctl.o
  1740.   CC      net/bridge/br_notify.o
  1741.   CC      net/bridge/br_stp.o
  1742.   CC      net/bridge/br_stp_bpdu.o
  1743.   CC      net/bridge/br_stp_if.o
  1744.   CC      net/bridge/br_stp_timer.o
  1745.   CC      net/bridge/br_netlink.o
  1746.   CC      net/bridge/br_sysfs_if.o
  1747.   CC      net/bridge/br_sysfs_br.o
  1748.   LD      net/bridge/bridge.o
  1749.   LD      net/bridge/built-in.o
  1750.   CC      net/core/sock.o
  1751.   CC      net/core/request_sock.o
  1752.   CC      net/core/skbuff.o
  1753.   CC      net/core/iovec.o
  1754.   CC      net/core/datagram.o
  1755.   CC      net/core/stream.o
  1756.   CC      net/core/scm.o
  1757.   CC      net/core/gen_stats.o
  1758.   CC      net/core/gen_estimator.o
  1759.   CC      net/core/net_namespace.o
  1760.   CC      net/core/sysctl_net_core.o
  1761.   CC      net/core/skb_dma_map.o
  1762.   CC      net/core/dev.o
  1763.   CC      net/core/ethtool.o
  1764.   CC      net/core/dev_mcast.o
  1765.   CC      net/core/dst.o
  1766.   CC      net/core/netevent.o
  1767.   CC      net/core/neighbour.o
  1768.   CC      net/core/rtnetlink.o
  1769.   CC      net/core/utils.o
  1770.   CC      net/core/link_watch.o
  1771.   CC      net/core/filter.o
  1772.   CC      net/core/flow.o
  1773.   CC      net/core/net-sysfs.o
  1774.   LD      net/core/built-in.o
  1775.   CC      net/ethernet/eth.o
  1776.   LD      net/ethernet/built-in.o
  1777.   CC      net/ipv4/route.o
  1778.   CC      net/ipv4/inetpeer.o
  1779.   CC      net/ipv4/protocol.o
  1780.   CC      net/ipv4/ip_input.o
  1781.   CC      net/ipv4/ip_fragment.o
  1782.   CC      net/ipv4/ip_forward.o
  1783.   CC      net/ipv4/ip_options.o
  1784.   CC      net/ipv4/ip_output.o
  1785.   CC      net/ipv4/ip_sockglue.o
  1786.   CC      net/ipv4/inet_hashtables.o
  1787.   CC      net/ipv4/inet_timewait_sock.o
  1788.   CC      net/ipv4/inet_connection_sock.o
  1789.   CC      net/ipv4/tcp.o
  1790.   CC      net/ipv4/tcp_input.o
  1791. net/ipv4/tcp_input.c: In function 'tcp_clean_rtx_queue':
  1792. net/ipv4/tcp_input.c:3181:7: warning: variable 'end_seq' set but not used [-Wunused-but-set-variable]
  1793.    u32 end_seq;
  1794.        ^
  1795.   CC      net/ipv4/tcp_output.o
  1796.   CC      net/ipv4/tcp_timer.o
  1797.   CC      net/ipv4/tcp_ipv4.o
  1798.   CC      net/ipv4/tcp_minisocks.o
  1799.   CC      net/ipv4/tcp_cong.o
  1800.   CC      net/ipv4/datagram.o
  1801.   CC      net/ipv4/raw.o
  1802.   CC      net/ipv4/udp.o
  1803.   CC      net/ipv4/udplite.o
  1804.   CC      net/ipv4/arp.o
  1805.   CC      net/ipv4/icmp.o
  1806.   CC      net/ipv4/devinet.o
  1807.   CC      net/ipv4/af_inet.o
  1808.   CC      net/ipv4/igmp.o
  1809.   CC      net/ipv4/fib_frontend.o
  1810.   CC      net/ipv4/fib_semantics.o
  1811.   CC      net/ipv4/inet_fragment.o
  1812.   CC      net/ipv4/sysctl_net_ipv4.o
  1813.   CC      net/ipv4/sysfs_net_ipv4.o
  1814.   CC      net/ipv4/fib_hash.o
  1815.   CC      net/ipv4/proc.o
  1816.   CC      net/ipv4/ipmr.o
  1817.   CC      net/ipv4/syncookies.o
  1818.   CC      net/ipv4/esp4.o
  1819.   CC      net/ipv4/tunnel4.o
  1820.   CC      net/ipv4/xfrm4_mode_transport.o
  1821.   CC      net/ipv4/xfrm4_mode_tunnel.o
  1822.   CC      net/ipv4/ipconfig.o
  1823. In file included from include/linux/nfs_fs.h:45:0,
  1824.                  from net/ipv4/ipconfig.c:55:
  1825. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  1826. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  1827.   volatile char c;
  1828.                 ^
  1829.   CC      net/ipv4/netfilter.o
  1830.   CC      net/ipv4/netfilter/nf_nat_rule.o
  1831.   CC      net/ipv4/netfilter/nf_nat_standalone.o
  1832. net/ipv4/netfilter/nf_nat_standalone.c: In function 'nf_nat_fn':
  1833. net/ipv4/netfilter/nf_nat_standalone.c:117:2: warning: case value '4' not in enumerated type 'enum ip_conntrack_info' [-Wswitch]
  1834.   case IP_CT_RELATED+IP_CT_IS_REPLY:
  1835.   ^
  1836. In file included from include/linux/tracepoint.h:18:0,
  1837.                  from include/linux/module.h:19,
  1838.                  from include/linux/textsearch.h:7,
  1839.                  from include/linux/skbuff.h:26,
  1840.                  from include/linux/icmp.h:86,
  1841.                  from net/ipv4/netfilter/nf_nat_standalone.c:9:
  1842. net/ipv4/netfilter/nf_nat_standalone.c: In function 'nf_nat_standalone_init':
  1843. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'nat_decode_session' will never be NULL [-Waddress]
  1844.        ((v) != NULL)) \
  1845.             ^
  1846. net/ipv4/netfilter/nf_nat_standalone.c:293:2: note: in expansion of macro 'rcu_assign_pointer'
  1847.   rcu_assign_pointer(ip_nat_decode_session, nat_decode_session);
  1848.   ^
  1849.   CC      net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.o
  1850.   CC      net/ipv4/netfilter/nf_conntrack_proto_icmp.o
  1851.   CC      net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.o
  1852.   CC      net/ipv4/netfilter/nf_nat_core.o
  1853. In file included from include/linux/tracepoint.h:18:0,
  1854.                  from include/linux/module.h:19,
  1855.                  from net/ipv4/netfilter/nf_nat_core.c:11:
  1856. net/ipv4/netfilter/nf_nat_core.c: In function 'nf_nat_protocol_unregister':
  1857. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'nf_nat_unknown_protocol' will never be NULL [-Waddress]
  1858.        ((v) != NULL)) \
  1859.             ^
  1860. net/ipv4/netfilter/nf_nat_core.c:541:2: note: in expansion of macro 'rcu_assign_pointer'
  1861.   rcu_assign_pointer(nf_nat_protos[proto->protonum],
  1862.   ^
  1863. net/ipv4/netfilter/nf_nat_core.c: In function 'nf_nat_init':
  1864. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'nf_nat_unknown_protocol' will never be NULL [-Waddress]
  1865.        ((v) != NULL)) \
  1866.             ^
  1867. net/ipv4/netfilter/nf_nat_core.c:736:3: note: in expansion of macro 'rcu_assign_pointer'
  1868.    rcu_assign_pointer(nf_nat_protos[i], &nf_nat_unknown_protocol);
  1869.    ^
  1870. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'nf_nat_protocol_tcp' will never be NULL [-Waddress]
  1871.        ((v) != NULL)) \
  1872.             ^
  1873. net/ipv4/netfilter/nf_nat_core.c:737:2: note: in expansion of macro 'rcu_assign_pointer'
  1874.   rcu_assign_pointer(nf_nat_protos[IPPROTO_TCP], &nf_nat_protocol_tcp);
  1875.   ^
  1876. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'nf_nat_protocol_udp' will never be NULL [-Waddress]
  1877.        ((v) != NULL)) \
  1878.             ^
  1879. net/ipv4/netfilter/nf_nat_core.c:738:2: note: in expansion of macro 'rcu_assign_pointer'
  1880.   rcu_assign_pointer(nf_nat_protos[IPPROTO_UDP], &nf_nat_protocol_udp);
  1881.   ^
  1882. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'nf_nat_protocol_icmp' will never be NULL [-Waddress]
  1883.        ((v) != NULL)) \
  1884.             ^
  1885. net/ipv4/netfilter/nf_nat_core.c:739:2: note: in expansion of macro 'rcu_assign_pointer'
  1886.   rcu_assign_pointer(nf_nat_protos[IPPROTO_ICMP], &nf_nat_protocol_icmp);
  1887.   ^
  1888. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'nf_nat_seq_adjust' will never be NULL [-Waddress]
  1889.        ((v) != NULL)) \
  1890.             ^
  1891. net/ipv4/netfilter/nf_nat_core.c:748:2: note: in expansion of macro 'rcu_assign_pointer'
  1892.   rcu_assign_pointer(nf_nat_seq_adjust_hook, nf_nat_seq_adjust);
  1893.   ^
  1894. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'nfnetlink_parse_nat_setup' will never be NULL [-Waddress]
  1895.        ((v) != NULL)) \
  1896.             ^
  1897. net/ipv4/netfilter/nf_nat_core.c:750:2: note: in expansion of macro 'rcu_assign_pointer'
  1898.   rcu_assign_pointer(nfnetlink_parse_nat_setup_hook,
  1899.   ^
  1900.   CC      net/ipv4/netfilter/nf_nat_helper.o
  1901. net/ipv4/netfilter/nf_nat_helper.c: In function 'adjust_tcp_sequence':
  1902. net/ipv4/netfilter/nf_nat_helper.c:45:32: warning: variable 'other_way' set but not used [-Wunused-but-set-variable]
  1903.   struct nf_nat_seq *this_way, *other_way;
  1904.                                 ^
  1905.   CC      net/ipv4/netfilter/nf_nat_proto_unknown.o
  1906.   CC      net/ipv4/netfilter/nf_nat_proto_common.o
  1907.   CC      net/ipv4/netfilter/nf_nat_proto_tcp.o
  1908.   CC      net/ipv4/netfilter/nf_nat_proto_udp.o
  1909.   CC      net/ipv4/netfilter/nf_nat_proto_icmp.o
  1910.   LD      net/ipv4/netfilter/nf_conntrack_ipv4.o
  1911.   LD      net/ipv4/netfilter/nf_nat.o
  1912.   CC      net/ipv4/netfilter/nf_defrag_ipv4.o
  1913.   CC      net/ipv4/netfilter/nf_nat_amanda.o
  1914. In file included from include/linux/tracepoint.h:18:0,
  1915.                  from include/linux/module.h:19,
  1916.                  from net/ipv4/netfilter/nf_nat_amanda.c:12:
  1917. net/ipv4/netfilter/nf_nat_amanda.c: In function 'nf_nat_amanda_init':
  1918. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'help' will never be NULL [-Waddress]
  1919.        ((v) != NULL)) \
  1920.             ^
  1921. net/ipv4/netfilter/nf_nat_amanda.c:73:2: note: in expansion of macro 'rcu_assign_pointer'
  1922.   rcu_assign_pointer(nf_nat_amanda_hook, help);
  1923.   ^
  1924.   CC      net/ipv4/netfilter/nf_nat_ftp.o
  1925. In file included from include/linux/tracepoint.h:18:0,
  1926.                  from include/linux/module.h:19,
  1927.                  from net/ipv4/netfilter/nf_nat_ftp.c:11:
  1928. net/ipv4/netfilter/nf_nat_ftp.c: In function 'nf_nat_ftp_init':
  1929. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'nf_nat_ftp' will never be NULL [-Waddress]
  1930.        ((v) != NULL)) \
  1931.             ^
  1932. net/ipv4/netfilter/nf_nat_ftp.c:151:2: note: in expansion of macro 'rcu_assign_pointer'
  1933.   rcu_assign_pointer(nf_nat_ftp_hook, nf_nat_ftp);
  1934.   ^
  1935.   CC      net/ipv4/netfilter/nf_nat_h323.o
  1936. In file included from include/linux/tracepoint.h:18:0,
  1937.                  from include/linux/module.h:19,
  1938.                  from net/ipv4/netfilter/nf_nat_h323.c:12:
  1939. net/ipv4/netfilter/nf_nat_h323.c: In function 'init':
  1940. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'set_h245_addr' will never be NULL [-Waddress]
  1941.        ((v) != NULL)) \
  1942.             ^
  1943. net/ipv4/netfilter/nf_nat_h323.c:546:2: note: in expansion of macro 'rcu_assign_pointer'
  1944.   rcu_assign_pointer(set_h245_addr_hook, set_h245_addr);
  1945.   ^
  1946. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'set_h225_addr' will never be NULL [-Waddress]
  1947.        ((v) != NULL)) \
  1948.             ^
  1949. net/ipv4/netfilter/nf_nat_h323.c:547:2: note: in expansion of macro 'rcu_assign_pointer'
  1950.   rcu_assign_pointer(set_h225_addr_hook, set_h225_addr);
  1951.   ^
  1952. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'set_sig_addr' will never be NULL [-Waddress]
  1953.        ((v) != NULL)) \
  1954.             ^
  1955. net/ipv4/netfilter/nf_nat_h323.c:548:2: note: in expansion of macro 'rcu_assign_pointer'
  1956.   rcu_assign_pointer(set_sig_addr_hook, set_sig_addr);
  1957.   ^
  1958. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'set_ras_addr' will never be NULL [-Waddress]
  1959.        ((v) != NULL)) \
  1960.             ^
  1961. net/ipv4/netfilter/nf_nat_h323.c:549:2: note: in expansion of macro 'rcu_assign_pointer'
  1962.   rcu_assign_pointer(set_ras_addr_hook, set_ras_addr);
  1963.   ^
  1964. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'nat_rtp_rtcp' will never be NULL [-Waddress]
  1965.        ((v) != NULL)) \
  1966.             ^
  1967. net/ipv4/netfilter/nf_nat_h323.c:550:2: note: in expansion of macro 'rcu_assign_pointer'
  1968.   rcu_assign_pointer(nat_rtp_rtcp_hook, nat_rtp_rtcp);
  1969.   ^
  1970. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'nat_t120' will never be NULL [-Waddress]
  1971.        ((v) != NULL)) \
  1972.             ^
  1973. net/ipv4/netfilter/nf_nat_h323.c:551:2: note: in expansion of macro 'rcu_assign_pointer'
  1974.   rcu_assign_pointer(nat_t120_hook, nat_t120);
  1975.   ^
  1976. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'nat_h245' will never be NULL [-Waddress]
  1977.        ((v) != NULL)) \
  1978.             ^
  1979. net/ipv4/netfilter/nf_nat_h323.c:552:2: note: in expansion of macro 'rcu_assign_pointer'
  1980.   rcu_assign_pointer(nat_h245_hook, nat_h245);
  1981.   ^
  1982. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'nat_callforwarding' will never be NULL [-Waddress]
  1983.        ((v) != NULL)) \
  1984.             ^
  1985. net/ipv4/netfilter/nf_nat_h323.c:553:2: note: in expansion of macro 'rcu_assign_pointer'
  1986.   rcu_assign_pointer(nat_callforwarding_hook, nat_callforwarding);
  1987.   ^
  1988. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'nat_q931' will never be NULL [-Waddress]
  1989.        ((v) != NULL)) \
  1990.             ^
  1991. net/ipv4/netfilter/nf_nat_h323.c:554:2: note: in expansion of macro 'rcu_assign_pointer'
  1992.   rcu_assign_pointer(nat_q931_hook, nat_q931);
  1993.   ^
  1994.   CC      net/ipv4/netfilter/nf_nat_irc.o
  1995. In file included from include/linux/tracepoint.h:18:0,
  1996.                  from include/linux/module.h:19,
  1997.                  from net/ipv4/netfilter/nf_nat_irc.c:13:
  1998. net/ipv4/netfilter/nf_nat_irc.c: In function 'nf_nat_irc_init':
  1999. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'help' will never be NULL [-Waddress]
  2000.        ((v) != NULL)) \
  2001.             ^
  2002. net/ipv4/netfilter/nf_nat_irc.c:78:2: note: in expansion of macro 'rcu_assign_pointer'
  2003.   rcu_assign_pointer(nf_nat_irc_hook, help);
  2004.   ^
  2005.   CC      net/ipv4/netfilter/nf_nat_pptp.o
  2006. In file included from include/linux/tracepoint.h:18:0,
  2007.                  from include/linux/module.h:19,
  2008.                  from net/ipv4/netfilter/nf_nat_pptp.c:20:
  2009. net/ipv4/netfilter/nf_nat_pptp.c: In function 'nf_nat_helper_pptp_init':
  2010. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'pptp_outbound_pkt' will never be NULL [-Waddress]
  2011.        ((v) != NULL)) \
  2012.             ^
  2013. net/ipv4/netfilter/nf_nat_pptp.c:284:2: note: in expansion of macro 'rcu_assign_pointer'
  2014.   rcu_assign_pointer(nf_nat_pptp_hook_outbound, pptp_outbound_pkt);
  2015.   ^
  2016. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'pptp_inbound_pkt' will never be NULL [-Waddress]
  2017.        ((v) != NULL)) \
  2018.             ^
  2019. net/ipv4/netfilter/nf_nat_pptp.c:287:2: note: in expansion of macro 'rcu_assign_pointer'
  2020.   rcu_assign_pointer(nf_nat_pptp_hook_inbound, pptp_inbound_pkt);
  2021.   ^
  2022. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'pptp_exp_gre' will never be NULL [-Waddress]
  2023.        ((v) != NULL)) \
  2024.             ^
  2025. net/ipv4/netfilter/nf_nat_pptp.c:290:2: note: in expansion of macro 'rcu_assign_pointer'
  2026.   rcu_assign_pointer(nf_nat_pptp_hook_exp_gre, pptp_exp_gre);
  2027.   ^
  2028. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'pptp_nat_expected' will never be NULL [-Waddress]
  2029.        ((v) != NULL)) \
  2030.             ^
  2031. net/ipv4/netfilter/nf_nat_pptp.c:293:2: note: in expansion of macro 'rcu_assign_pointer'
  2032.   rcu_assign_pointer(nf_nat_pptp_hook_expectfn, pptp_nat_expected);
  2033.   ^
  2034.   CC      net/ipv4/netfilter/nf_nat_tftp.o
  2035. In file included from include/linux/tracepoint.h:18:0,
  2036.                  from include/linux/module.h:19,
  2037.                  from net/ipv4/netfilter/nf_nat_tftp.c:8:
  2038. net/ipv4/netfilter/nf_nat_tftp.c: In function 'nf_nat_tftp_init':
  2039. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'help' will never be NULL [-Waddress]
  2040.        ((v) != NULL)) \
  2041.             ^
  2042. net/ipv4/netfilter/nf_nat_tftp.c:47:2: note: in expansion of macro 'rcu_assign_pointer'
  2043.   rcu_assign_pointer(nf_nat_tftp_hook, help);
  2044.   ^
  2045.   CC      net/ipv4/netfilter/nf_nat_proto_dccp.o
  2046.   CC      net/ipv4/netfilter/nf_nat_proto_gre.o
  2047.   CC      net/ipv4/netfilter/nf_nat_proto_udplite.o
  2048.   CC      net/ipv4/netfilter/nf_nat_proto_sctp.o
  2049. net/ipv4/netfilter/nf_nat_proto_sctp.c: In function 'sctp_manip_pkt':
  2050. net/ipv4/netfilter/nf_nat_proto_sctp.c:38:16: warning: variable 'newip' set but not used [-Wunused-but-set-variable]
  2051.   __be32 oldip, newip;
  2052.                 ^
  2053. net/ipv4/netfilter/nf_nat_proto_sctp.c:38:9: warning: variable 'oldip' set but not used [-Wunused-but-set-variable]
  2054.   __be32 oldip, newip;
  2055.          ^
  2056.   CC      net/ipv4/netfilter/ip_tables.o
  2057. net/ipv4/netfilter/ip_tables.c: In function 'ipt_do_table':
  2058. net/ipv4/netfilter/ip_tables.c:320:12: warning: variable 'datalen' set but not used [-Wunused-but-set-variable]
  2059.   u_int16_t datalen;
  2060.             ^
  2061.   CC      net/ipv4/netfilter/iptable_filter.o
  2062.   CC      net/ipv4/netfilter/iptable_mangle.o
  2063.   LD      net/ipv4/netfilter/iptable_nat.o
  2064.   CC      net/ipv4/netfilter/iptable_raw.o
  2065.   CC      net/ipv4/netfilter/ipt_ah.o
  2066.   CC      net/ipv4/netfilter/ipt_ecn.o
  2067.   CC      net/ipv4/netfilter/ipt_ttl.o
  2068.   CC      net/ipv4/netfilter/ipt_LOG.o
  2069.   CC      net/ipv4/netfilter/ipt_MASQUERADE.o
  2070.   CC      net/ipv4/netfilter/ipt_NETMAP.o
  2071.   CC      net/ipv4/netfilter/ipt_REDIRECT.o
  2072.   CC      net/ipv4/netfilter/ipt_REJECT.o
  2073.   CC      net/ipv4/netfilter/arp_tables.o
  2074.   CC      net/ipv4/netfilter/arpt_mangle.o
  2075.   CC      net/ipv4/netfilter/arptable_filter.o
  2076.   LD      net/ipv4/netfilter/built-in.o
  2077.   CC      net/ipv4/tcp_cubic.o
  2078.   CC      net/ipv4/xfrm4_policy.o
  2079.   CC      net/ipv4/xfrm4_state.o
  2080.   CC      net/ipv4/xfrm4_input.o
  2081.   CC      net/ipv4/xfrm4_output.o
  2082.   LD      net/ipv4/built-in.o
  2083.   CC      net/ipv6/af_inet6.o
  2084.   CC      net/ipv6/anycast.o
  2085.   CC      net/ipv6/ip6_output.o
  2086. net/ipv6/ip6_output.c: In function 'ip6_nd_hdr':
  2087. net/ipv6/ip6_output.c:308:6: warning: variable 'totlen' set but not used [-Wunused-but-set-variable]
  2088.   int totlen;
  2089.       ^
  2090.   CC      net/ipv6/ip6_input.o
  2091.   CC      net/ipv6/addrconf.o
  2092.   CC      net/ipv6/addrlabel.o
  2093.   CC      net/ipv6/route.o
  2094. net/ipv6/route.c: In function 'icmp6_dst_gc':
  2095. net/ipv6/route.c:1015:26: warning: variable 'next' set but not used [-Wunused-but-set-variable]
  2096.   struct dst_entry *dst, *next, **pprev;
  2097.                           ^
  2098.   CC      net/ipv6/ip6_fib.o
  2099.   CC      net/ipv6/ipv6_sockglue.o
  2100.   CC      net/ipv6/ndisc.o
  2101.   CC      net/ipv6/udp.o
  2102.   CC      net/ipv6/udplite.o
  2103.   CC      net/ipv6/raw.o
  2104.   CC      net/ipv6/protocol.o
  2105.   CC      net/ipv6/icmp.o
  2106.   CC      net/ipv6/mcast.o
  2107.   CC      net/ipv6/reassembly.o
  2108.   CC      net/ipv6/tcp_ipv6.o
  2109.   CC      net/ipv6/exthdrs.o
  2110.   CC      net/ipv6/datagram.o
  2111.   CC      net/ipv6/ip6_flowlabel.o
  2112.   CC      net/ipv6/inet6_connection_sock.o
  2113.   CC      net/ipv6/sysctl_net_ipv6.o
  2114.   CC      net/ipv6/xfrm6_policy.o
  2115.   CC      net/ipv6/xfrm6_state.o
  2116.   CC      net/ipv6/xfrm6_input.o
  2117.   CC      net/ipv6/xfrm6_output.o
  2118.   CC      net/ipv6/netfilter.o
  2119.   CC      net/ipv6/proc.o
  2120.   CC      net/ipv6/syncookies.o
  2121.   LD      net/ipv6/ipv6.o
  2122.   CC      net/ipv6/xfrm6_mode_transport.o
  2123.   CC      net/ipv6/xfrm6_mode_tunnel.o
  2124.   CC      net/ipv6/xfrm6_mode_beet.o
  2125. net/ipv6/xfrm6_mode_beet.c: In function 'xfrm6_beet_output':
  2126. net/ipv6/xfrm6_mode_beet.c:44:16: warning: variable 'iphv4' set but not used [-Wunused-but-set-variable]
  2127.   struct iphdr *iphv4;
  2128.                 ^
  2129.   CC      net/ipv6/netfilter/ip6_tables.o
  2130.   CC      net/ipv6/netfilter/ip6table_filter.o
  2131.   CC      net/ipv6/netfilter/ip6table_mangle.o
  2132. net/ipv6/netfilter/ip6table_mangle.c: In function 'ip6t_local_out_hook':
  2133. net/ipv6/netfilter/ip6table_mangle.c:102:12: warning: variable 'flowlabel' set but not used [-Wunused-but-set-variable]
  2134.   u_int32_t flowlabel, mark;
  2135.             ^
  2136.   CC      net/ipv6/netfilter/ip6table_raw.o
  2137.   CC      net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.o
  2138.   CC      net/ipv6/netfilter/nf_conntrack_proto_icmpv6.o
  2139.   CC      net/ipv6/netfilter/nf_conntrack_reasm.o
  2140.   LD      net/ipv6/netfilter/nf_conntrack_ipv6.o
  2141.   CC      net/ipv6/netfilter/ip6t_LOG.o
  2142.   CC      net/ipv6/netfilter/ip6t_REJECT.o
  2143.   LD      net/ipv6/netfilter/built-in.o
  2144.   CC      net/ipv6/sit.o
  2145. net/ipv6/sit.c: In function 'ipip6_tunnel_del_prl':
  2146. net/ipv6/sit.c:333:6: warning: variable 'err' set but not used [-Wunused-but-set-variable]
  2147.   int err = 0;
  2148.       ^
  2149.   CC      net/ipv6/addrconf_core.o
  2150.   CC      net/ipv6/exthdrs_core.o
  2151.   CC      net/ipv6/inet6_hashtables.o
  2152.   LD      net/ipv6/built-in.o
  2153.   CC      net/key/af_key.o
  2154.   LD      net/key/built-in.o
  2155.   CC      net/llc/llc_core.o
  2156.   CC      net/llc/llc_input.o
  2157.   CC      net/llc/llc_output.o
  2158.   LD      net/llc/llc.o
  2159.   LD      net/llc/built-in.o
  2160.   CC      net/netfilter/core.o
  2161.   CC      net/netfilter/nf_log.o
  2162.   CC      net/netfilter/nf_queue.o
  2163.   CC      net/netfilter/nf_sockopt.o
  2164.   CC      net/netfilter/nf_conntrack_core.o
  2165. In file included from include/linux/tracepoint.h:18:0,
  2166.                  from include/linux/module.h:19,
  2167.                  from include/linux/textsearch.h:7,
  2168.                  from include/linux/skbuff.h:26,
  2169.                  from include/linux/netfilter.h:6,
  2170.                  from net/netfilter/nf_conntrack_core.c:15:
  2171. net/netfilter/nf_conntrack_core.c: In function 'nf_conntrack_init':
  2172. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'nf_conntrack_attach' will never be NULL [-Waddress]
  2173.        ((v) != NULL)) \
  2174.             ^
  2175. net/netfilter/nf_conntrack_core.c:1263:3: note: in expansion of macro 'rcu_assign_pointer'
  2176.    rcu_assign_pointer(ip_ct_attach, nf_conntrack_attach);
  2177.    ^
  2178. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'destroy_conntrack' will never be NULL [-Waddress]
  2179.        ((v) != NULL)) \
  2180.             ^
  2181. net/netfilter/nf_conntrack_core.c:1264:3: note: in expansion of macro 'rcu_assign_pointer'
  2182.    rcu_assign_pointer(nf_ct_destroy, destroy_conntrack);
  2183.    ^
  2184.   CC      net/netfilter/nf_conntrack_standalone.o
  2185.   CC      net/netfilter/nf_conntrack_expect.o
  2186.   CC      net/netfilter/nf_conntrack_helper.o
  2187.   CC      net/netfilter/nf_conntrack_proto.o
  2188. In file included from include/linux/tracepoint.h:18:0,
  2189.                  from include/linux/module.h:19,
  2190.                  from include/linux/textsearch.h:7,
  2191.                  from include/linux/skbuff.h:26,
  2192.                  from include/linux/netfilter.h:6,
  2193.                  from net/netfilter/nf_conntrack_proto.c:13:
  2194. net/netfilter/nf_conntrack_proto.c: In function 'nf_conntrack_l3proto_unregister':
  2195. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'nf_conntrack_l3proto_generic' will never be NULL [-Waddress]
  2196.        ((v) != NULL)) \
  2197.             ^
  2198. net/netfilter/nf_conntrack_proto.c:217:2: note: in expansion of macro 'rcu_assign_pointer'
  2199.   rcu_assign_pointer(nf_ct_l3protos[proto->l3proto],
  2200.   ^
  2201. net/netfilter/nf_conntrack_proto.c: In function 'nf_conntrack_l4proto_unregister':
  2202. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'nf_conntrack_l4proto_generic' will never be NULL [-Waddress]
  2203.        ((v) != NULL)) \
  2204.             ^
  2205. net/netfilter/nf_conntrack_proto.c:331:2: note: in expansion of macro 'rcu_assign_pointer'
  2206.   rcu_assign_pointer(nf_ct_protos[l4proto->l3proto][l4proto->l4proto],
  2207.   ^
  2208. net/netfilter/nf_conntrack_proto.c: In function 'nf_conntrack_proto_init':
  2209. include/linux/rcupdate.h:196:12: warning: the comparison will always evaluate as 'true' for the address of 'nf_conntrack_l3proto_generic' will never be NULL [-Waddress]
  2210.        ((v) != NULL)) \
  2211.             ^
  2212. net/netfilter/nf_conntrack_proto.c:356:3: note: in expansion of macro 'rcu_assign_pointer'
  2213.    rcu_assign_pointer(nf_ct_l3protos[i],
  2214.    ^
  2215.   CC      net/netfilter/nf_conntrack_l3proto_generic.o
  2216.   CC      net/netfilter/nf_conntrack_proto_generic.o
  2217.   CC      net/netfilter/nf_conntrack_proto_tcp.o
  2218.   CC      net/netfilter/nf_conntrack_proto_udp.o
  2219.   CC      net/netfilter/nf_conntrack_extend.o
  2220.   CC      net/netfilter/nf_conntrack_acct.o
  2221.   CC      net/netfilter/nf_conntrack_ecache.o
  2222.   CC      net/netfilter/nf_conntrack_h323_main.o
  2223.   CC      net/netfilter/nf_conntrack_h323_asn1.o
  2224.   LD      net/netfilter/netfilter.o
  2225.   CC      net/netfilter/nfnetlink.o
  2226.   CC      net/netfilter/nfnetlink_log.o
  2227. net/netfilter/nfnetlink_log.c: In function '__build_packet_message':
  2228. net/netfilter/nfnetlink_log.c:373:9: warning: variable 'tmp_uint' set but not used [-Wunused-but-set-variable]
  2229.   __be32 tmp_uint;
  2230.          ^
  2231.   LD      net/netfilter/nf_conntrack.o
  2232.   CC      net/netfilter/nf_conntrack_proto_dccp.o
  2233.   CC      net/netfilter/nf_conntrack_proto_gre.o
  2234.   CC      net/netfilter/nf_conntrack_proto_sctp.o
  2235.   CC      net/netfilter/nf_conntrack_proto_udplite.o
  2236.   CC      net/netfilter/nf_conntrack_netlink.o
  2237. net/netfilter/nf_conntrack_netlink.c: In function 'ctnetlink_parse_tuple':
  2238. net/netfilter/nf_conntrack_netlink.c:678:11: warning: comparison between 'enum ctattr_tuple' and 'enum ctattr_type' [-Wenum-compare]
  2239.   if (type == CTA_TUPLE_REPLY)
  2240.            ^
  2241.   CC      net/netfilter/nf_conntrack_amanda.o
  2242.   CC      net/netfilter/nf_conntrack_ftp.o
  2243.   LD      net/netfilter/nf_conntrack_h323.o
  2244.   CC      net/netfilter/nf_conntrack_irc.o
  2245.   CC      net/netfilter/nf_conntrack_netbios_ns.o
  2246.   CC      net/netfilter/nf_conntrack_pptp.o
  2247.   CC      net/netfilter/nf_conntrack_sane.o
  2248.   CC      net/netfilter/nf_conntrack_tftp.o
  2249.   CC      net/netfilter/nf_tproxy_core.o
  2250.   CC      net/netfilter/x_tables.o
  2251.   CC      net/netfilter/xt_tcpudp.o
  2252.   CC      net/netfilter/xt_CLASSIFY.o
  2253.   CC      net/netfilter/xt_CONNMARK.o
  2254.   CC      net/netfilter/xt_MARK.o
  2255.   CC      net/netfilter/xt_NFLOG.o
  2256.   CC      net/netfilter/xt_NFQUEUE.o
  2257.   CC      net/netfilter/xt_TPROXY.o
  2258.   CC      net/netfilter/xt_TRACE.o
  2259.   CC      net/netfilter/xt_comment.o
  2260.   CC      net/netfilter/xt_connbytes.o
  2261.   CC      net/netfilter/xt_connlimit.o
  2262.   CC      net/netfilter/xt_connmark.o
  2263.   CC      net/netfilter/xt_conntrack.o
  2264.   CC      net/netfilter/xt_hashlimit.o
  2265.   CC      net/netfilter/xt_helper.o
  2266.   CC      net/netfilter/xt_iprange.o
  2267.   CC      net/netfilter/xt_length.o
  2268.   CC      net/netfilter/xt_limit.o
  2269.   CC      net/netfilter/xt_mac.o
  2270.   CC      net/netfilter/xt_mark.o
  2271.   CC      net/netfilter/xt_pkttype.o
  2272.   CC      net/netfilter/xt_policy.o
  2273.   CC      net/netfilter/xt_quota.o
  2274.   CC      net/netfilter/xt_socket.o
  2275. net/netfilter/xt_socket.c: In function 'socket_mt':
  2276. net/netfilter/xt_socket.c:141:5: warning: 'protocol' may be used uninitialized in this function [-Wmaybe-uninitialized]
  2277.   sk = nf_tproxy_get_sock_v4(dev_net(skb->dev), protocol,
  2278.      ^
  2279. net/netfilter/xt_socket.c:141:5: warning: 'sport' may be used uninitialized in this function [-Wmaybe-uninitialized]
  2280. net/netfilter/xt_socket.c:141:5: warning: 'dport' may be used uninitialized in this function [-Wmaybe-uninitialized]
  2281. net/netfilter/xt_socket.c:141:5: warning: 'saddr' may be used uninitialized in this function [-Wmaybe-uninitialized]
  2282. net/netfilter/xt_socket.c:141:5: warning: 'daddr' may be used uninitialized in this function [-Wmaybe-uninitialized]
  2283.   CC      net/netfilter/xt_state.o
  2284.   CC      net/netfilter/xt_statistic.o
  2285.   CC      net/netfilter/xt_string.o
  2286.   CC      net/netfilter/xt_time.o
  2287.   CC      net/netfilter/xt_u32.o
  2288.   LD      net/netfilter/built-in.o
  2289.   CC      net/netlink/af_netlink.o
  2290.   CC      net/netlink/attr.o
  2291.   CC      net/netlink/genetlink.o
  2292.   LD      net/netlink/built-in.o
  2293.   CC      net/packet/af_packet.o
  2294.   LD      net/packet/built-in.o
  2295.   CC      net/sched/sch_generic.o
  2296.   LD      net/sched/built-in.o
  2297.   CC      net/sunrpc/clnt.o
  2298.   CC      net/sunrpc/xprt.o
  2299.   CC      net/sunrpc/socklib.o
  2300. In file included from net/sunrpc/socklib.c:13:0:
  2301. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  2302. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  2303.   volatile char c;
  2304.                 ^
  2305.   CC      net/sunrpc/xprtsock.o
  2306. In file included from net/sunrpc/xprtsock.c:25:0:
  2307. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  2308. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  2309.   volatile char c;
  2310.                 ^
  2311.   CC      net/sunrpc/sched.o
  2312.   CC      net/sunrpc/auth.o
  2313.   CC      net/sunrpc/auth_null.o
  2314.   CC      net/sunrpc/auth_unix.o
  2315.   CC      net/sunrpc/auth_generic.o
  2316.   CC      net/sunrpc/svc.o
  2317.   CC      net/sunrpc/svcsock.o
  2318.   CC      net/sunrpc/svcauth.o
  2319.   CC      net/sunrpc/svcauth_unix.o
  2320. net/sunrpc/svcauth_unix.c: In function 'unix_gid_parse':
  2321. net/sunrpc/svcauth_unix.c:575:20: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized]
  2322.    ug.h.expiry_time = expiry;
  2323.                     ^
  2324.   CC      net/sunrpc/rpcb_clnt.o
  2325.   CC      net/sunrpc/timer.o
  2326.   CC      net/sunrpc/xdr.o
  2327. In file included from net/sunrpc/xdr.c:13:0:
  2328. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  2329. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  2330.   volatile char c;
  2331.                 ^
  2332.   CC      net/sunrpc/sunrpc_syms.o
  2333.   CC      net/sunrpc/cache.o
  2334.   CC      net/sunrpc/rpc_pipe.o
  2335. In file included from net/sunrpc/rpc_pipe.c:14:0:
  2336. include/linux/pagemap.h: In function 'fault_in_pages_readable':
  2337. include/linux/pagemap.h:416:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  2338.   volatile char c;
  2339.                 ^
  2340.   CC      net/sunrpc/svc_xprt.o
  2341.   CC      net/sunrpc/stats.o
  2342.   CC      net/sunrpc/sysctl.o
  2343.   LD      net/sunrpc/sunrpc.o
  2344.   LD      net/sunrpc/built-in.o
  2345.   CC      net/unix/af_unix.o
  2346. net/unix/af_unix.c: In function 'unix_stream_sendmsg':
  2347. net/unix/af_unix.c:1500:22: warning: variable 'sunaddr' set but not used [-Wunused-but-set-variable]
  2348.   struct sockaddr_un *sunaddr = msg->msg_name;
  2349.                       ^
  2350.   CC      net/unix/garbage.o
  2351.   CC      net/unix/sysctl_net_unix.o
  2352.   LD      net/unix/unix.o
  2353.   LD      net/unix/built-in.o
  2354.   LD      net/wireless/built-in.o
  2355.   CC      net/xfrm/xfrm_policy.o
  2356.   CC      net/xfrm/xfrm_state.o
  2357.   CC      net/xfrm/xfrm_hash.o
  2358.   CC      net/xfrm/xfrm_input.o
  2359.   CC      net/xfrm/xfrm_output.o
  2360.   CC      net/xfrm/xfrm_algo.o
  2361.   CC      net/xfrm/xfrm_sysctl.o
  2362.   LD      net/xfrm/built-in.o
  2363.   CC      net/sysctl_net.o
  2364.   LD      net/built-in.o
  2365.   LD      arch/arm/lib/built-in.o
  2366.   AS      arch/arm/lib/ashldi3.o
  2367.   AS      arch/arm/lib/ashrdi3.o
  2368.   AS      arch/arm/lib/backtrace.o
  2369.   AS      arch/arm/lib/changebit.o
  2370.   AS      arch/arm/lib/clear_user.o
  2371.   AS      arch/arm/lib/clearbit.o
  2372.   AS      arch/arm/lib/copy_from_user.o
  2373.   AS      arch/arm/lib/copy_page.o
  2374.   AS      arch/arm/lib/copy_to_user.o
  2375.   AS      arch/arm/lib/csumipv6.o
  2376.   AS      arch/arm/lib/csumpartial.o
  2377.   AS      arch/arm/lib/csumpartialcopy.o
  2378.   AS      arch/arm/lib/csumpartialcopyuser.o
  2379.   AS      arch/arm/lib/delay.o
  2380.   AS      arch/arm/lib/div64.o
  2381.   AS      arch/arm/lib/findbit.o
  2382.   AS      arch/arm/lib/getuser.o
  2383.   AS      arch/arm/lib/io-readsb.o
  2384.   AS      arch/arm/lib/io-readsl.o
  2385.   AS      arch/arm/lib/io-readsw-armv4.o
  2386.   AS      arch/arm/lib/io-writesb.o
  2387.   AS      arch/arm/lib/io-writesl.o
  2388.   AS      arch/arm/lib/io-writesw-armv4.o
  2389.   AS      arch/arm/lib/lib1funcs.o
  2390.   AS      arch/arm/lib/lshrdi3.o
  2391.   AS      arch/arm/lib/memchr.o
  2392.   AS      arch/arm/lib/memcpy.o
  2393.   AS      arch/arm/lib/memmove.o
  2394.   AS      arch/arm/lib/memset.o
  2395.   AS      arch/arm/lib/memzero.o
  2396.   AS      arch/arm/lib/muldi3.o
  2397.   AS      arch/arm/lib/putuser.o
  2398.   AS      arch/arm/lib/setbit.o
  2399.   AS      arch/arm/lib/sha1.o
  2400.   AS      arch/arm/lib/strchr.o
  2401.   AS      arch/arm/lib/strncpy_from_user.o
  2402.   AS      arch/arm/lib/strnlen_user.o
  2403.   AS      arch/arm/lib/strrchr.o
  2404.   AS      arch/arm/lib/testchangebit.o
  2405.   AS      arch/arm/lib/testclearbit.o
  2406.   AS      arch/arm/lib/testsetbit.o
  2407.   AS      arch/arm/lib/ucmpdi2.o
  2408.   AR      arch/arm/lib/lib.a
  2409.   CC      lib/bcd.o
  2410.   CC      lib/div64.o
  2411.   CC      lib/sort.o
  2412.   CC      lib/parser.o
  2413.   CC      lib/halfmd4.o
  2414.   CC      lib/debug_locks.o
  2415.   CC      lib/random32.o
  2416.   CC      lib/bust_spinlocks.o
  2417.   CC      lib/hexdump.o
  2418.   CC      lib/kasprintf.o
  2419.   CC      lib/bitmap.o
  2420.   CC      lib/scatterlist.o
  2421.   CC      lib/string_helpers.o
  2422.   CC      lib/iomap_copy.o
  2423.   CC      lib/devres.o
  2424.   CC      lib/hweight.o
  2425.   CC      lib/plist.o
  2426.   CC      lib/bitrev.o
  2427.   HOSTCC  lib/gen_crc32table
  2428.   GEN     lib/crc32table.h
  2429.   CC      lib/crc32.o
  2430.   CC      lib/libcrc32c.o
  2431.   CC      lib/textsearch.o
  2432.   CC      lib/ts_kmp.o
  2433.   CC      lib/ts_bm.o
  2434.   CC      lib/ts_fsm.o
  2435.   LD      lib/built-in.o
  2436.   CC      lib/argv_split.o
  2437.   CC      lib/cmdline.o
  2438.   CC      lib/ctype.o
  2439.   CC      lib/dec_and_lock.o
  2440.   CC      lib/dump_stack.o
  2441.   CC      lib/extable.o
  2442.   CC      lib/find_last_bit.o
  2443.   CC      lib/idr.o
  2444.   CC      lib/int_sqrt.o
  2445.   CC      lib/ioremap.o
  2446.   CC      lib/irq_regs.o
  2447.   CC      lib/is_single_threaded.o
  2448.   CC      lib/klist.o
  2449.   CC      lib/kobject.o
  2450.   CC      lib/kobject_uevent.o
  2451.   CC      lib/kref.o
  2452.   CC      lib/prio_heap.o
  2453.   CC      lib/prio_tree.o
  2454.   CC      lib/proportions.o
  2455.   CC      lib/radix-tree.o
  2456.   CC      lib/ratelimit.o
  2457.   CC      lib/rbtree.o
  2458.   CC      lib/reciprocal_div.o
  2459.   CC      lib/rwsem-spinlock.o
  2460.   CC      lib/sha1.o
  2461.   CC      lib/show_mem.o
  2462.   CC      lib/string.o
  2463.   CC      lib/vsprintf.o
  2464.   AR      lib/lib.a
  2465.   LD      vmlinux.o
  2466.   MODPOST vmlinux.o
  2467.   GEN     .version
  2468.   CHK     include/linux/compile.h
  2469.   UPD     include/linux/compile.h
  2470.   CC      init/version.o
  2471.   LD      init/built-in.o
  2472.   LD      .tmp_vmlinux1
  2473.   KSYM    .tmp_kallsyms1.S
  2474.   AS      .tmp_kallsyms1.o
  2475.   LD      .tmp_vmlinux2
  2476.   KSYM    .tmp_kallsyms2.S
  2477.   AS      .tmp_kallsyms2.o
  2478.   LD      vmlinux
  2479.   SYSMAP  System.map
  2480.   SYSMAP  .tmp_System.map
  2481.   OBJCOPY arch/arm/boot/Image
  2482.   Kernel: arch/arm/boot/Image is ready
  2483.   AS      arch/arm/boot/compressed/head.o
  2484. arch/arm/boot/compressed/head.S: Assembler messages:
  2485. arch/arm/boot/compressed/head.S:350: Warning: (null)
  2486. arch/arm/boot/compressed/head.S:430: Warning: (null)
  2487. arch/arm/boot/compressed/head.S:446: Warning: (null)
  2488. arch/arm/boot/compressed/head.S:459: Warning: (null)
  2489. arch/arm/boot/compressed/head.S:696: Warning: (null)
  2490. arch/arm/boot/compressed/head.S:727: Warning: (null)
  2491. arch/arm/boot/compressed/head.S:728: Warning: (null)
  2492. arch/arm/boot/compressed/head.S:775: Warning: (null)
  2493. arch/arm/boot/compressed/head.S:784: Warning: (null)
  2494. arch/arm/boot/compressed/head.S:795: Warning: (null)
  2495. arch/arm/boot/compressed/head.S:809: Warning: (null)
  2496. arch/arm/boot/compressed/head.S:837: Warning: (null)
  2497. arch/arm/boot/compressed/head.S:839: Warning: (null)
  2498. arch/arm/boot/compressed/head.S:840: Warning: (null)
  2499. arch/arm/boot/compressed/head.S:847: Warning: (null)
  2500. arch/arm/boot/compressed/head.S:875: Warning: (null)
  2501.   GZIP    arch/arm/boot/compressed/piggy.gz
  2502.   AS      arch/arm/boot/compressed/piggy.o
  2503.   CC      arch/arm/boot/compressed/misc.o
  2504.   LD      arch/arm/boot/compressed/vmlinux
  2505.   OBJCOPY arch/arm/boot/zImage
  2506.   Kernel: arch/arm/boot/zImage is ready
  2507. senrsl@senrsl-ubuntu:~/android/source/kernel/goldfish$
然后去启动emulator
启动以前建好的叫2.1的模拟器
  1. senrsl@senrsl-ubuntu:~$ emulator -avd 2.1
发现2.1用的内核就是2.6.29。。。。
那就启动编译好的模拟器
执行这两条配置环境
  1. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY$ source build/envsetup.sh
  2. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY$ lunch aosp_arm-eng
然后启动
  1. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY$ emulator
打开后,看到默认用的3.4的内核


使用刚编的内核
  1. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY$ emulator -kernel /home/senrsl/android/source/kernel/goldfish/arch/arm/boot/zImage &
好吧,5.0的系统使用2.1的内核跑不起来,一直黑屏
还是使用2.1的跑吧
  1. senrsl@senrsl-ubuntu:~$ emulator -avd 2.1 -kernel /home/senrsl/android/source/kernel/goldfish/arch/arm/boot/zImage &
  2. [1] 2424
  3. senrsl@senrsl-ubuntu:~$
我屮,运行起来,速度好快!!!
秒开机,点什么都神速,比x86架构都快!
然后看内核


命令行看
  1. senrsl@senrsl-ubuntu:~$ adb shell
  2. # cd proc
  3. # cat version
  4. Linux version 2.6.29-g4bb8fa0 (senrsl@senrsl-ubuntu) (gcc version 4.8 (GCC) ) #1 Thu Mar 19 20:05:41 CST 2015
也就是说,应用成功了。
再看一下默认的
  1. senrsl@senrsl-ubuntu:~$ emulator -avd 2.1
事实证明,默认的2.1虚拟机也很快!

  1. # cat version
  2. Linux version 2.6.29-00261-g0097074 (digit@digit.mtv.corp.google.com) (gcc version 4.4.0 (GCC) ) #14 Tue Feb 2 15:49:02 PST 2010
说明编译是成功的。
现在回到goldfish3.10
  1. senrsl@senrsl-ubuntu:~/android/source/kernel/goldfish$ git checkout android-3.10
  2. Checking out files: 100% (46530/46530), done.
  3. 切换到分支 'android-3.10'
  4. 您的分支与上游分支 'origin/android-3.10' 一致。
  5. senrsl@senrsl-ubuntu:~/android/source/kernel/goldfish$ git branch
  6. * android-3.10
  7.   android-goldfish-2.6.29
  8.   master
goldfish的defconfig找不到
好吧。。。。。


查看android源码的本地分支
  1. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY$ cd .repo/manifests
  2. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY/.repo/manifests$ git branch -a
  3. * default
  4.   remotes/m/android-4.4.2_r2 -> origin/android-4.4.2_r2
  5.   remotes/m/master -> origin/master
  6.   remotes/origin/adt_23.0.3
  7.   remotes/origin/android-1.6_r1
  8.   remotes/origin/android-1.6_r1.1
  9.   remotes/origin/android-1.6_r1.2
  10.   remotes/origin/android-1.6_r1.3
  11.   remotes/origin/android-1.6_r1.4
  12.   remotes/origin/android-1.6_r1.5
  13.   remotes/origin/android-1.6_r2
  14.   remotes/origin/android-2.0.1_r1
  15.   remotes/origin/android-2.0_r1
  16.   remotes/origin/android-2.1_r1
  17.   remotes/origin/android-2.1_r2
  18.   remotes/origin/android-2.1_r2.1p
  19.   remotes/origin/android-2.1_r2.1p2
  20.   remotes/origin/android-2.1_r2.1s
  21.   remotes/origin/android-2.2.1_r1
  22.   remotes/origin/android-2.2.1_r2
  23.   remotes/origin/android-2.2.2_r1
  24.   remotes/origin/android-2.2.3_r1
  25.   remotes/origin/android-2.2.3_r2
  26.   remotes/origin/android-2.2.3_r2.1
  27.   remotes/origin/android-2.2_r1
  28.   remotes/origin/android-2.2_r1.1
  29.   remotes/origin/android-2.2_r1.2
  30.   remotes/origin/android-2.2_r1.3
  31.   remotes/origin/android-2.3.1_r1
  32.   remotes/origin/android-2.3.2_r1
  33.   remotes/origin/android-2.3.3_r1
  34.   remotes/origin/android-2.3.3_r1.1
  35.   remotes/origin/android-2.3.4_r0.9
  36.   remotes/origin/android-2.3.4_r1
  37.   remotes/origin/android-2.3.5_r1
  38.   remotes/origin/android-2.3.6_r0.9
  39.   remotes/origin/android-2.3.6_r1
  40.   remotes/origin/android-2.3.7_r1
  41.   remotes/origin/android-2.3_r1
  42.   remotes/origin/android-4.0.1_r1
  43.   remotes/origin/android-4.0.1_r1.1
  44.   remotes/origin/android-4.0.1_r1.2
  45.   remotes/origin/android-4.0.2_r1
  46.   remotes/origin/android-4.0.3_r1
  47.   remotes/origin/android-4.0.3_r1.1
  48.   remotes/origin/android-4.0.4_r1
  49.   remotes/origin/android-4.0.4_r1.1
  50.   remotes/origin/android-4.0.4_r1.2
  51.   remotes/origin/android-4.0.4_r2
  52.   remotes/origin/android-4.0.4_r2.1
  53.   remotes/origin/android-4.1.1_r1
  54.   remotes/origin/android-4.1.1_r1.1
  55.   remotes/origin/android-4.1.1_r2
  56.   remotes/origin/android-4.1.1_r3
  57.   remotes/origin/android-4.1.1_r4
  58.   remotes/origin/android-4.1.1_r5
  59.   remotes/origin/android-4.1.1_r6
  60.   remotes/origin/android-4.1.1_r6.1
  61.   remotes/origin/android-4.1.2_r1
  62.   remotes/origin/android-4.1.2_r2
  63.   remotes/origin/android-4.1.2_r2.1
  64.   remotes/origin/android-4.2.1_r1
  65.   remotes/origin/android-4.2.1_r1.1
  66.   remotes/origin/android-4.2.1_r1.2
  67.   remotes/origin/android-4.2.2_r1
  68.   remotes/origin/android-4.2.2_r1.1
  69.   remotes/origin/android-4.2.2_r1.2
  70.   remotes/origin/android-4.2.2_r1.2b
  71.   remotes/origin/android-4.2_r1
  72.   remotes/origin/android-4.3.1_r1
  73.   remotes/origin/android-4.3_r0.9
  74.   remotes/origin/android-4.3_r0.9.1
  75.   remotes/origin/android-4.3_r1
  76.   remotes/origin/android-4.3_r1.1
  77.   remotes/origin/android-4.3_r2
  78.   remotes/origin/android-4.3_r2.1
  79.   remotes/origin/android-4.3_r2.2
  80.   remotes/origin/android-4.3_r2.2-cts
  81.   remotes/origin/android-4.3_r2.3
  82.   remotes/origin/android-4.3_r3
  83.   remotes/origin/android-4.3_r3.1
  84.   remotes/origin/android-4.4.1_r1
  85.   remotes/origin/android-4.4.1_r1.0.1
  86.   remotes/origin/android-4.4.2_r1
  87.   remotes/origin/android-4.4.2_r1.0.1
  88.   remotes/origin/android-4.4.2_r2
  89.   remotes/origin/android-4.4.2_r2.0.1
  90.   remotes/origin/android-4.4.3_r1
  91.   remotes/origin/android-4.4.3_r1.0.1
  92.   remotes/origin/android-4.4.3_r1.1
  93.   remotes/origin/android-4.4.3_r1.1.0.1
  94.   remotes/origin/android-4.4.4_r1
  95.   remotes/origin/android-4.4.4_r1.0.1
  96.   remotes/origin/android-4.4.4_r2
  97.   remotes/origin/android-4.4.4_r2.0.1
  98.   remotes/origin/android-4.4_r1
  99.   remotes/origin/android-4.4_r1.0.1
  100.   remotes/origin/android-4.4_r1.1
  101.   remotes/origin/android-4.4_r1.1.0.1
  102.   remotes/origin/android-4.4_r1.2
  103.   remotes/origin/android-4.4_r1.2.0.1
  104.   remotes/origin/android-4.4w_r1
  105.   remotes/origin/android-5.0.0_r1
  106.   remotes/origin/android-5.0.0_r1.0.1
  107.   remotes/origin/android-5.0.0_r2
  108.   remotes/origin/android-5.0.0_r2.0.1
  109.   remotes/origin/android-5.0.0_r3
  110.   remotes/origin/android-5.0.0_r3.0.1
  111.   remotes/origin/android-5.0.0_r4
  112.   remotes/origin/android-5.0.0_r4.0.1
  113.   remotes/origin/android-5.0.0_r5
  114.   remotes/origin/android-5.0.0_r5.0.1
  115.   remotes/origin/android-5.0.0_r5.1
  116.   remotes/origin/android-5.0.0_r5.1.0.1
  117.   remotes/origin/android-5.0.0_r6
  118.   remotes/origin/android-5.0.0_r6.0.1
  119.   remotes/origin/android-5.0.0_r7
  120.   remotes/origin/android-5.0.0_r7.0.1
  121.   remotes/origin/android-5.0.1_r1
  122.   remotes/origin/android-5.0.2_r1
  123.   remotes/origin/android-5.1.0_r1
  124.   remotes/origin/android-cts-2.2_r8
  125.   remotes/origin/android-cts-2.3_r10
  126.   remotes/origin/android-cts-2.3_r11
  127.   remotes/origin/android-cts-2.3_r12
  128.   remotes/origin/android-cts-4.0.3_r1
  129.   remotes/origin/android-cts-4.0.3_r2
  130.   remotes/origin/android-cts-4.0_r1
  131.   remotes/origin/android-cts-4.1_r1
  132.   remotes/origin/android-cts-4.1_r2
  133.   remotes/origin/android-cts-4.1_r4
  134.   remotes/origin/android-cts-4.2_r2
  135.   remotes/origin/android-cts-5.0_r2
  136.   remotes/origin/android-cts-verifier-4.0.3_r1
  137.   remotes/origin/android-cts-verifier-4.0_r1
  138.   remotes/origin/android-l-preview_r2
  139.   remotes/origin/android-sdk-4.0.3-tools_r1
  140.   remotes/origin/android-sdk-4.0.3_r1
  141.   remotes/origin/android-sdk-4.4.2_r1
  142.   remotes/origin/android-sdk-4.4.2_r1.0.1
  143.   remotes/origin/android-sdk-adt_r16.0.1
  144.   remotes/origin/android-sdk-adt_r20
  145.   remotes/origin/android-sdk-support_r11
  146.   remotes/origin/android-support-test
  147.   remotes/origin/android-wear-5.0.0_r1
  148.   remotes/origin/chromium-dev
  149.   remotes/origin/droiddriver-dev
  150.   remotes/origin/froyo
  151.   remotes/origin/gingerbread
  152.   remotes/origin/gingerbread-release
  153.   remotes/origin/gradle-dev
  154.   remotes/origin/gradle_0.12.2
  155.   remotes/origin/gradle_0.13.0
  156.   remotes/origin/gradle_0.13.1
  157.   remotes/origin/gradle_0.13.2
  158.   remotes/origin/gradle_0.13.3
  159.   remotes/origin/gradle_0.14.0
  160.   remotes/origin/gradle_0.14.1
  161.   remotes/origin/gradle_0.14.2
  162.   remotes/origin/gradle_0.14.3
  163.   remotes/origin/gradle_0.14.4
  164.   remotes/origin/gradle_1.0.0
  165.   remotes/origin/gradle_1.0.0-rc1
  166.   remotes/origin/gradle_1.0.0-rc2
  167.   remotes/origin/gradle_1.0.0-rc3
  168.   remotes/origin/gradle_1.0.0-rc4
  169.   remotes/origin/gradle_1.0.1
  170.   remotes/origin/gradle_1.1.0
  171.   remotes/origin/gradle_1.1.0-rc1
  172.   remotes/origin/gradle_1.1.0-rc2
  173.   remotes/origin/gradle_1.1.0-rc3
  174.   remotes/origin/gradle_1.1.1
  175.   remotes/origin/gradle_1.1.2
  176.   remotes/origin/gradle_1.1.3
  177.   remotes/origin/ics-mr0
  178.   remotes/origin/ics-mr1
  179.   remotes/origin/ics-plus-aosp
  180.   remotes/origin/idea133
  181.   remotes/origin/idea133-weekly-release
  182.   remotes/origin/jb-dev
  183.   remotes/origin/jb-mr1-dev
  184.   remotes/origin/jb-mr1-dev-plus-aosp
  185.   remotes/origin/jb-mr1.1-dev
  186.   remotes/origin/jb-mr1.1-dev-plus-aosp
  187.   remotes/origin/jb-mr2-dev
  188.   remotes/origin/jumper-stable
  189.   remotes/origin/kitkat-cts-dev
  190.   remotes/origin/kitkat-dev
  191.   remotes/origin/l-preview
  192.   remotes/origin/lollipop-dev
  193.   remotes/origin/lollipop-mr1-dev
  194.   remotes/origin/master
  195.   remotes/origin/master-art
  196.   remotes/origin/master-art-host
  197.   remotes/origin/master-dalvik
  198.   remotes/origin/master-dalvik-host
  199.   remotes/origin/master-soong
  200.   remotes/origin/ref/for/master
  201.   remotes/origin/studio-1.0-dev
  202.   remotes/origin/studio-1.0-release
  203.   remotes/origin/studio-1.1-dev
  204.   remotes/origin/studio-1.1-release
  205.   remotes/origin/studio-1.2-dev
  206.   remotes/origin/studio-1.2-release
  207.   remotes/origin/studio-1.3-dev
  208.   remotes/origin/studio-1.3-release
  209.   remotes/origin/studio-master-dev
  210.   remotes/origin/studio-master-release
  211.   remotes/origin/studio_0.8.6
  212.   remotes/origin/studio_1.0.0
  213.   remotes/origin/studio_1.0.1
  214.   remotes/origin/tools-canary-release
  215.   remotes/origin/tools_ndk_r9d
  216.   remotes/origin/tools_r20
  217.   remotes/origin/tools_r21
  218.   remotes/origin/tools_r21.1
  219.   remotes/origin/tools_r22
  220.   remotes/origin/tools_r22.2
  221.   remotes/origin/tools_r22.6
  222.   remotes/origin/tradefed
  223.   remotes/origin/ub-emulator-master
  224.   remotes/origin/ub-jack
  225.   remotes/origin/ub-jack-arzon
  226.   remotes/origin/ub-jack-arzon-mr2
  227.   remotes/origin/ub-tools-idea133
  228.   remotes/origin/ub-tools-idea133-milestone
  229.   remotes/origin/ub-tools-idea133-release
  230.   remotes/origin/ub-tools-master
  231.   remotes/origin/ub-webview-m40-release
  232.   remotes/origin/upstream-mirror-lldb
  233.   remotes/origin/webview-m40_r1
  234.   remotes/origin/webview-m40_r2
  235.   remotes/origin/webview-m40_r3
  236. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY/.repo/manifests$

同步代码遇到问题
在5.0上,想下个。4.4.2的,结果遇到问题,切回5.0也是这个问题。。。。
  1. Fetching projects:  99% (403/407)  Fetching project platform/external/marisa-trie
  2. Fetching projects: 100% (407/407), done. 
  3. Syncing work tree:   8% (33/407)  Traceback (most recent call last):
  4.   File "/home/senrsl/android/source/WORKING_DIRECTORY/.repo/repo/main.py", line 529, in <module>
  5.     _Main(sys.argv[1:])
  6.   File "/home/senrsl/android/source/WORKING_DIRECTORY/.repo/repo/main.py", line 505, in _Main
  7.     result = repo._Run(argv) or 0
  8.   File "/home/senrsl/android/source/WORKING_DIRECTORY/.repo/repo/main.py", line 161, in _Run
  9.     result = cmd.Execute(copts, cargs)
  10.   File "/home/senrsl/android/source/WORKING_DIRECTORY/.repo/repo/subcmds/sync.py", line 681, in Execute
  11.     project.Sync_LocalHalf(syncbuf)
  12.   File "/home/senrsl/android/source/WORKING_DIRECTORY/.repo/repo/project.py", line 1230, in Sync_LocalHalf
  13.     lost = self._revlist(not_rev(revid), HEAD)
  14.   File "/home/senrsl/android/source/WORKING_DIRECTORY/.repo/repo/project.py", line 2303, in _revlist
  15.     return self.work_git.rev_list(*a, **kw)
  16.   File "/home/senrsl/android/source/WORKING_DIRECTORY/.repo/repo/project.py", line 2497, in rev_list
  17.     p.stderr))
  18. error.GitError: device/lge/mako-kernel rev-list (u'^818a7b10c0f5c28cf2020a8dc811eff1619226ea', 'HEAD', '--'): error: Could not read 35c46b8ecfeed3946151075d660a1992561f259f
  19. fatal: revision walk setup failed
查看可切换分支
  1. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY$ cd .repo/manifests
  2. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY/.repo/manifests$ git branch -a | cut -d / -f 3
  3. * default
  4. android-4.4.2_r2 -> origin
  5. master -> origin
  6. adt_23.0.3
  7. android-1.6_r1
  8. android-1.6_r1.1
  9. android-1.6_r1.2
  10. android-1.6_r1.3
  11. android-1.6_r1.4
  12. android-1.6_r1.5
  13. android-1.6_r2
  14. android-2.0.1_r1
  15. android-2.0_r1
  16. android-2.1_r1
  17. android-2.1_r2
  18. android-2.1_r2.1p
  19. android-2.1_r2.1p2
  20. android-2.1_r2.1s
  21. android-2.2.1_r1
  22. android-2.2.1_r2
  23. android-2.2.2_r1
  24. android-2.2.3_r1
  25. android-2.2.3_r2
  26. android-2.2.3_r2.1
  27. android-2.2_r1
  28. android-2.2_r1.1
  29. android-2.2_r1.2
  30. android-2.2_r1.3
  31. android-2.3.1_r1
  32. android-2.3.2_r1
  33. android-2.3.3_r1
  34. android-2.3.3_r1.1
  35. android-2.3.4_r0.9
  36. android-2.3.4_r1
  37. android-2.3.5_r1
  38. android-2.3.6_r0.9
  39. android-2.3.6_r1
  40. android-2.3.7_r1
  41. android-2.3_r1
  42. android-4.0.1_r1
  43. android-4.0.1_r1.1
  44. android-4.0.1_r1.2
  45. android-4.0.2_r1
  46. android-4.0.3_r1
  47. android-4.0.3_r1.1
  48. android-4.0.4_r1
  49. android-4.0.4_r1.1
  50. android-4.0.4_r1.2
  51. android-4.0.4_r2
  52. android-4.0.4_r2.1
  53. android-4.1.1_r1
  54. android-4.1.1_r1.1
  55. android-4.1.1_r2
  56. android-4.1.1_r3
  57. android-4.1.1_r4
  58. android-4.1.1_r5
  59. android-4.1.1_r6
  60. android-4.1.1_r6.1
  61. android-4.1.2_r1
  62. android-4.1.2_r2
  63. android-4.1.2_r2.1
  64. android-4.2.1_r1
  65. android-4.2.1_r1.1
  66. android-4.2.1_r1.2
  67. android-4.2.2_r1
  68. android-4.2.2_r1.1
  69. android-4.2.2_r1.2
  70. android-4.2.2_r1.2b
  71. android-4.2_r1
  72. android-4.3.1_r1
  73. android-4.3_r0.9
  74. android-4.3_r0.9.1
  75. android-4.3_r1
  76. android-4.3_r1.1
  77. android-4.3_r2
  78. android-4.3_r2.1
  79. android-4.3_r2.2
  80. android-4.3_r2.2-cts
  81. android-4.3_r2.3
  82. android-4.3_r3
  83. android-4.3_r3.1
  84. android-4.4.1_r1
  85. android-4.4.1_r1.0.1
  86. android-4.4.2_r1
  87. android-4.4.2_r1.0.1
  88. android-4.4.2_r2
  89. android-4.4.2_r2.0.1
  90. android-4.4.3_r1
  91. android-4.4.3_r1.0.1
  92. android-4.4.3_r1.1
  93. android-4.4.3_r1.1.0.1
  94. android-4.4.4_r1
  95. android-4.4.4_r1.0.1
  96. android-4.4.4_r2
  97. android-4.4.4_r2.0.1
  98. android-4.4_r1
  99. android-4.4_r1.0.1
  100. android-4.4_r1.1
  101. android-4.4_r1.1.0.1
  102. android-4.4_r1.2
  103. android-4.4_r1.2.0.1
  104. android-4.4w_r1
  105. android-5.0.0_r1
  106. android-5.0.0_r1.0.1
  107. android-5.0.0_r2
  108. android-5.0.0_r2.0.1
  109. android-5.0.0_r3
  110. android-5.0.0_r3.0.1
  111. android-5.0.0_r4
  112. android-5.0.0_r4.0.1
  113. android-5.0.0_r5
  114. android-5.0.0_r5.0.1
  115. android-5.0.0_r5.1
  116. android-5.0.0_r5.1.0.1
  117. android-5.0.0_r6
  118. android-5.0.0_r6.0.1
  119. android-5.0.0_r7
  120. android-5.0.0_r7.0.1
  121. android-5.0.1_r1
  122. android-5.0.2_r1
  123. android-5.1.0_r1
  124. android-cts-2.2_r8
  125. android-cts-2.3_r10
  126. android-cts-2.3_r11
  127. android-cts-2.3_r12
  128. android-cts-4.0.3_r1
  129. android-cts-4.0.3_r2
  130. android-cts-4.0_r1
  131. android-cts-4.1_r1
  132. android-cts-4.1_r2
  133. android-cts-4.1_r4
  134. android-cts-4.2_r2
  135. android-cts-5.0_r2
  136. android-cts-verifier-4.0.3_r1
  137. android-cts-verifier-4.0_r1
  138. android-l-preview_r2
  139. android-sdk-4.0.3-tools_r1
  140. android-sdk-4.0.3_r1
  141. android-sdk-4.4.2_r1
  142. android-sdk-4.4.2_r1.0.1
  143. android-sdk-adt_r16.0.1
  144. android-sdk-adt_r20
  145. android-sdk-support_r11
  146. android-support-test
  147. android-wear-5.0.0_r1
  148. chromium-dev
  149. droiddriver-dev
  150. froyo
  151. gingerbread
  152. gingerbread-release
  153. gradle-dev
  154. gradle_0.12.2
  155. gradle_0.13.0
  156. gradle_0.13.1
  157. gradle_0.13.2
  158. gradle_0.13.3
  159. gradle_0.14.0
  160. gradle_0.14.1
  161. gradle_0.14.2
  162. gradle_0.14.3
  163. gradle_0.14.4
  164. gradle_1.0.0
  165. gradle_1.0.0-rc1
  166. gradle_1.0.0-rc2
  167. gradle_1.0.0-rc3
  168. gradle_1.0.0-rc4
  169. gradle_1.0.1
  170. gradle_1.1.0
  171. gradle_1.1.0-rc1
  172. gradle_1.1.0-rc2
  173. gradle_1.1.0-rc3
  174. gradle_1.1.1
  175. gradle_1.1.2
  176. gradle_1.1.3
  177. ics-mr0
  178. ics-mr1
  179. ics-plus-aosp
  180. idea133
  181. idea133-weekly-release
  182. jb-dev
  183. jb-mr1-dev
  184. jb-mr1-dev-plus-aosp
  185. jb-mr1.1-dev
  186. jb-mr1.1-dev-plus-aosp
  187. jb-mr2-dev
  188. jumper-stable
  189. kitkat-cts-dev
  190. kitkat-dev
  191. l-preview
  192. lollipop-dev
  193. lollipop-mr1-dev
  194. master
  195. master-art
  196. master-art-host
  197. master-dalvik
  198. master-dalvik-host
  199. master-soong
  200. ref
  201. studio-1.0-dev
  202. studio-1.0-release
  203. studio-1.1-dev
  204. studio-1.1-release
  205. studio-1.2-dev
  206. studio-1.2-release
  207. studio-1.3-dev
  208. studio-1.3-release
  209. studio-master-dev
  210. studio-master-release
  211. studio_0.8.6
  212. studio_1.0.0
  213. studio_1.0.1
  214. tools-canary-release
  215. tools_ndk_r9d
  216. tools_r20
  217. tools_r21
  218. tools_r21.1
  219. tools_r22
  220. tools_r22.2
  221. tools_r22.6
  222. tradefed
  223. ub-emulator-master
  224. ub-jack
  225. ub-jack-arzon
  226. ub-jack-arzon-mr2
  227. ub-tools-idea133
  228. ub-tools-idea133-milestone
  229. ub-tools-idea133-release
  230. ub-tools-master
  231. ub-webview-m40-release
  232. upstream-mirror-lldb
  233. webview-m40_r1
  234. webview-m40_r2
  235. webview-m40_r3
切换分支到4.4.2
  1. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY/.repo/manifests$ repo init -b android-4.4.2_r2
  2. Your identity is: senRsl DC <senRsl@163.com>
  3. If you want to change this, please re-run 'repo init' with --config-name
  4. repo has been initialized in /home/senrsl/android/source/WORKING_DIRECTORY
  5. If this is not the directory in which you want to initialize repo, please run:
  6.    rm -r /home/senrsl/android/source/WORKING_DIRECTORY/.repo
  7. and try again.
  8. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY/.repo/manifests$ repo sync #这个是同步,如果本地副本是最新的,就不需要
  9. #还是这个问题
  10. error.GitError: device/lge/mako-kernel rev-list (u'^818a7b10c0f5c28cf2020a8dc811eff1619226ea', 'HEAD', '--'): error: Could not read 35c46b8ecfeed3946151075d660a1992561f259f
  11. fatal: revision walk setup failed
  12. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY/.repo/manifests$ repo start  android-4.4.2_r2 --all
  13. Starting android-4.4.2_r2:   3% (14/460)  error: in `start android-4.4.2_r2 --all`: [Errno 2] No such file or directory: u'/home/senrsl/android/source/WORKING_DIRECTORY/device/asus/fugu/.git/HEAD' #跑到本地目录看看,发现这个fugu目录不见了
  14. error: manifest missing or unreadable -- please run init
  15. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY/.repo/manifests$
这样试试
  1. senrsl@senrsl-ubuntu:~$ cd android/source/WORKING_DIRECTORY/device/asus/
  2. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY/device/asus$ git clone https://android.googlesource.com/device/asus/fugu
  3. 正克隆到 'fugu'...
  4. remote: Counting objects: 12, done
  5. remote: Finding sources: 100% (12/12)
  6. remote: Total 1618 (delta 815), reused 1618 (delta 815)
  7. 接收对象中: 100% (1618/1618), 1.94 MiB | 587.00 KiB/s, done.
  8. 处理 delta 中: 100% (815/815), done.
  9. 检查连接... 完成。
  10. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY/device/asus$
然后再次执行,跑了好久之后
  1. Syncing work tree:  97% (395/407)  Traceback (most recent call last):
  2.   File "/home/senrsl/android/source/WORKING_DIRECTORY/.repo/repo/main.py", line 529, in <module>
  3.     _Main(sys.argv[1:])
  4.   File "/home/senrsl/android/source/WORKING_DIRECTORY/.repo/repo/main.py", line 505, in _Main
  5.     result = repo._Run(argv) or 0
  6.   File "/home/senrsl/android/source/WORKING_DIRECTORY/.repo/repo/main.py", line 161, in _Run
  7.     result = cmd.Execute(copts, cargs)
  8.   File "/home/senrsl/android/source/WORKING_DIRECTORY/.repo/repo/subcmds/sync.py", line 681, in Execute
  9.     project.Sync_LocalHalf(syncbuf)
  10.   File "/home/senrsl/android/source/WORKING_DIRECTORY/.repo/repo/project.py", line 1230, in Sync_LocalHalf
  11.     lost = self._revlist(not_rev(revid), HEAD)
  12.   File "/home/senrsl/android/source/WORKING_DIRECTORY/.repo/repo/project.py", line 2303, in _revlist
  13.     return self.work_git.rev_list(*a, **kw)
  14.   File "/home/senrsl/android/source/WORKING_DIRECTORY/.repo/repo/project.py", line 2497, in rev_list
  15.     p.stderr))
  16. error.GitError: platform/prebuilts/qemu-kernel rev-list (u'^90f628313c294e265cf3fdf4dc642ebf46874685', 'HEAD', '--'): error: Could not read c79e428af12b09bc8a8306cd9c8598625d2763dd
  17. fatal: revision walk setup failed
提示这个文件不可读,
往前看日志
  1. Fetching projects: 100% (407/407), done. 
  2. Syncing work tree:  56% (228/407)  error: Your local changes to the following files would be overwritten by checkout:
  3.     cmds/bootanimation/BootAnimation.cpp
  4.     core/res/assets/images/android-logo-mask.png
  5.     packages/SettingsProvider/res/values/defaults.xml
  6.     packages/SystemUI/AndroidManifest.xml
  7.     packages/SystemUI/res/values-zh-rCN/strings.xml
  8.     packages/SystemUI/res/values/styles.xml
  9.     packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java
  10. Please, commit your changes or stash them before you can switch branches.
  11. Aborting
  12. Syncing work tree:  97% (395/407)  Traceback (most recent call last):
  13.   File "/home/senrsl/android/source/WORKING_DIRECTORY/.repo/repo/main.py", line 529, in <module>
  14.     _Main(sys.argv[1:])
  15.   File "/home/senrsl/android/source/WORKING_DIRECTORY/.repo/repo/main.py", line 505, in _Main
  16.     result = repo._Run(argv) or 0
  17.   File "/home/senrsl/android/source/WORKING_DIRECTORY/.repo/repo/main.py", line 161, in _Run
  18.     result = cmd.Execute(copts, cargs)
  19.   File "/home/senrsl/android/source/WORKING_DIRECTORY/.repo/repo/subcmds/sync.py", line 681, in Execute
  20.     project.Sync_LocalHalf(syncbuf)
  21.   File "/home/senrsl/android/source/WORKING_DIRECTORY/.repo/repo/project.py", line 1230, in Sync_LocalHalf
  22.     lost = self._revlist(not_rev(revid), HEAD)
  23.   File "/home/senrsl/android/source/WORKING_DIRECTORY/.repo/repo/project.py", line 2303, in _revlist
  24.     return self.work_git.rev_list(*a, **kw)
  25.   File "/home/senrsl/android/source/WORKING_DIRECTORY/.repo/repo/project.py", line 2497, in rev_list
  26.     p.stderr))
  27. error.GitError: platform/prebuilts/qemu-kernel rev-list (u'^90f628313c294e265cf3fdf4dc642ebf46874685', 'HEAD', '--'): error: Could not read c79e428af12b09bc8a8306cd9c8598625d2763dd
  28. fatal: revision walk setup failed
本地文件变更之后没有提交,好吧,那就复位代码试试。
  1. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY$ repo forall -c 'git reset --hard'
  2. HEAD 现在位于 18f1b5e Merge "Remove the need to copy & paste boilerplate."
  3. HEAD 现在位于 21b2216 Add NOTICE and MODULE_LICENSE_APACHE2 for art
  4. HEAD 现在位于 5ab8d33 Upgrade to tzdata2013h.
  5. HEAD 现在位于 3c491d6 delete bootable/bootloader/legacy
  6. HEAD 现在位于 60d078a Merge "Fix $(INSTALLED_ANDROID_IMAGE_DATA_TARGET) dependency"
  7. HEAD 现在位于 c64e76c Merge "Enable incremental builder to find files that moved, and try to process them via patch + rename, instead of delete + add." into klp-dev
  8. HEAD 现在位于 54004d1 "KVT49L"
  9. HEAD 现在位于 496a7a5 Add Android 4.4.1 version to the EXPECTED_RELEASES list
  10. HEAD 现在位于 6e21232 merge in klp-release (no-op)
  11. HEAD 现在位于 f49bfc3 Samples Build: Update build-tools to v19
  12. HEAD 现在位于 a725454 Initial empty repository
  13. HEAD 现在位于 c0b835d Initial empty repository
  14. HEAD 现在位于 8eadf92 Rename remainder of ActionBarCompat Samples
  15. HEAD 现在位于 b4b28f8 Only enable VaultProvider on KitKat devices.
  16. HEAD 现在位于 76428ec Merge "Update proprietary blobs for deb" into klp-dev
  17. HEAD 现在位于 3200b07 flo: update WCNSS_qcom_cfg.ini to optimize TDLS
  18. HEAD 现在位于 b964b85 Snapshot to 23ffdd5d1bb1b4e680ab11fec4b98f495901276d
  19. HEAD 现在位于 88ab1e5 Snapshot to 0bb982b594752ac7302459740cb2337e9f1779b1
  20. HEAD 现在位于 84e5d07 Add config_restartRadioAfterProvisioning to AT&T mcc/mnc's
  21. HEAD 现在位于 6a29956 Update default -j argument for generate-blob-lists
  22. HEAD 现在位于 0923313 Adding Teleservice to PDK
  23. HEAD 现在位于 11c092a Add support for per device bluetooth configuration.
  24. HEAD 现在位于 2524d39 Update emulator to FUSE-wrap its SD card.
  25. HEAD 现在位于 77bb98e Enable richer SD card permissions.
  26. HEAD 现在位于 2ff06dd switch to ext4
  27. HEAD 现在位于 a2f05b8 switch to ext4
  28. HEAD 现在位于 cba3dda use mini_common.mk as common baseline for mini
  29. HEAD 现在位于 8933282 use mini_common.mk as common baseline for mini
  30. HEAD 现在位于 abc5159 Fixing ADK version 1.0 libraries to work with Arduino SDK 1.0
  31. HEAD 现在位于 7dfe7f8 Updating ADK 1.0 demokit code to work with Arduino 1.0
  32. HEAD 现在位于 0ad5707 BoardConfig: Define TARGET_TOUCHBOOST_FREQUENCY to 1.2GHz
  33. HEAD 现在位于 8b392a3 Snapshot to fc777b6d3b2b20ba7270059dd2df284c94844abf
  34. HEAD 现在位于 e0deb64 mako: update WCNSS_qcom_cfg.ini to optimize TDLS
  35. HEAD 现在位于 f0fc741 Snapshot to 60c776a5e50361fc23f83bbf1dfe00f0e2b6d155
  36. HEAD 现在位于 c162f2c [sample] change apn-full-conf.xml from operator's requests
  37. HEAD 现在位于 fe435b8 prebuilt kernel (TCPMSS support to fix vpn mtu) DO NOT MERGE
  38. HEAD 现在位于 48fb042 Merge "Docs: Adding links for 4.3 R2 CTS downloads. Staging location: http://claym.mtv.corp.google.com:8102/compatibility/downloads.html" into klp-dev
  39. HEAD 现在位于 fa3eba1 Encoder 7.1 support
  40. HEAD 现在位于 4d18605 am 3b0d387b: (-s ours) Reconcile with jb-mr2-release - do not merge
  41. HEAD 现在位于 1922306 Merge "host modules don't need LOCAL_MODULE_TAGS"
  42. HEAD 现在位于 0f18940 Merge "Original upload of the glob library"
  43. HEAD 现在位于 4799726 Add gradle project for the antlr runtime for Doclava.
  44. HEAD 现在位于 12bb45a Move SHA1PRNG_SecureRandomTest to libcore
  45. HEAD 现在位于 95c6f1b am f6f431c2: (-s ours) Reconcile with jb-mr2-release - do not merge
  46. HEAD 现在位于 64ea622 Initial empty repository
  47. HEAD 现在位于 2aee886 Merge "Simplify makefile."
  48. HEAD 现在位于 d06daf9 Fix round() macro conflict between math.h and wiring.h
  49. HEAD 现在位于 c2418b8 am 73e72295: Merge "Fix bison build with MacOSX SDK 10.6"
  50. HEAD 现在位于 d345431 Remove obsolete ThirdPartyProject.prop file.
  51. HEAD 现在位于 46ebeb1 Merge "LE: Increase number of simultaneous connections" into klp-dev
  52. HEAD 现在位于 b1e4d28 am 711ae8b4: am e8fdb9d5: Merge "Add to suggested BouncyCastle upgrade regression tests"
  53. HEAD 现在位于 23e322a Merge "host modules don't need LOCAL_MODULE_TAGS"
  54. HEAD 现在位于 1cb636b am 8a81a414: Retire LOCAL_NDK_VERSION.
  55. HEAD 现在位于 399f7d0 Update Ceres to the latest version
  56. HEAD 现在位于 0d73ef7 Free allocated memory when clean up / exit.
  57. HEAD 现在位于 d8d0d5c chromium: remove whole static libraries from libchromium_net
  58. HEAD 现在位于 f34af54 Port chromium PAC unit tests to libpac
  59. HEAD 现在位于 8252ae6 am ad0c59f8: (-s ours) am 874f33ce: Extract prefix and suffix html blocks to separate files DO NOT MERGE
  60. HEAD 现在位于 e31b312 Cherry-pick: [Android WebView] Fix in-line video part 1
  61. HEAD 现在位于 e485ff1 Merge from Chromium at DEPS revision r167172
  62. HEAD 现在位于 3b92be9 Merge from Chromium at DEPS revision r190564
  63. HEAD 现在位于 1aaaebb Merge "Fix badcast in event::isGestureEvent" into klp-dev
  64. HEAD 现在位于 5e667cc merge in KQS81M
  65. HEAD 现在位于 bb4c72f Merge from Chromium at DEPS revision r190564
  66. HEAD 现在位于 1a12871 Merge from Chromium at DEPS revision 30.0.1599.31
  67. HEAD 现在位于 349a962 merge in KQS81M
  68. HEAD 现在位于 f8f93bd Merge from Chromium at DEPS revision r207203
  69. HEAD 现在位于 06a093c Merge from Chromium at DEPS revision r217147
  70. HEAD 现在位于 dbba409 Merge from Chromium at DEPS revision r210036
  71. HEAD 现在位于 f676e94 Merge from Chromium at DEPS revision r210036
  72. HEAD 现在位于 d7621cb Merge from Chromium at DEPS revision r212014
  73. HEAD 现在位于 40619e7 merge in KQS81M
  74. HEAD 现在位于 85681bc Merge from Chromium at DEPS revision r190564
  75. HEAD 现在位于 b0fc86c merge in KQS81M
  76. HEAD 现在位于 d194b71 Merge from Chromium at DEPS revision 30.0.1599.85
  77. HEAD 现在位于 4250178 Merge from Chromium at DEPS revision 30.0.1599.39
  78. HEAD 现在位于 53a521c Merge from Chromium at DEPS revision 30.0.1599.101
  79. HEAD 现在位于 262a4a0 Merge from Chromium at DEPS revision r200144
  80. HEAD 现在位于 c580f3c Merge from Chromium at DEPS revision r190564
  81. HEAD 现在位于 646f47f Merge from Chromium at DEPS revision r212014
  82. HEAD 现在位于 1cf7b53 Merge from Chromium at DEPS revision r217092
  83. HEAD 现在位于 5d91fcb Merged r17711 into 3.20 branch.
  84. HEAD 现在位于 a902511 Update Clang for merge to r187914.
  85. HEAD 现在位于 7cba5f1 Update compiler-rt for merge to r187889.
  86. HEAD 现在位于 7b6b3f7 Do not assert that InvocationHandler.invoke args should be non-null
  87. HEAD 现在位于 84b7252 Add interface_mtu processing
  88. HEAD 现在位于 41d3564 Add liblog
  89. HEAD 现在位于 d9f572f change link for each category in sample side nav
  90. HEAD 现在位于 21a0001 clear internal data while refreshing root
  91. HEAD 现在位于 a34ddbe Merge remote-tracking branch 'goog/ics-aah-exp' into master
  92. HEAD 现在位于 47478a2 Fix blkid time diff bug, build binary.
  93. HEAD 现在位于 c9a2340 am 0b862235: Unbundle easymock.
  94. HEAD 现在位于 6134da6 Merge "Remove p2 download cache from repo"
  95. HEAD 现在位于 a5f3ee1 Merge "Add workaround for the Eclipse+Mountain Lion bug"
  96. HEAD 现在位于 b015e75 Merge 'goog/jb-mr1.1-dev' into platform/external/eigen.
  97. HEAD 现在位于 b23b2df am 1721abdb: Merge "Use Bionic getline implementation."
  98. HEAD 现在位于 336b7c6 Add missing NOTICE files.
  99. HEAD 现在位于 77c73b8 am 47e0cef8: am 77b9074f: Backport from master.
  100. HEAD 现在位于 224a67f Add an empty CleanSpec.mk
  101. HEAD 现在位于 0af0cb3 am 6f4fce48: am 911ae80e: Merge "Add import_expat.sh"
  102. HEAD 现在位于 16bd4c7 Include a local manifest to define an entry point.
  103. HEAD 现在位于 0da5f68 Merge "[MIPS] Build fdlibm in forced IEEE mode"
  104. HEAD 现在位于 ab37b62 Add signed integer overflow checking to flac.
  105. HEAD 现在位于 899c67b Enable FT_CONFIG_OPTION_USE_PNG, build shared lib
  106. HEAD 现在位于 17a1471 am b94f2b61: Merge "Detect exFAT filesystems and abort if found"
  107. HEAD 现在位于 d3724da Merge remote-tracking branch 'goog/ics-aah-exp'
  108. HEAD 现在位于 9241386 Merge "Add new build rules for target libraries."
  109. HEAD 现在位于 e11a9c7 Merge "genext2fs: update fs_config calls for capabilities change."
  110. HEAD 现在位于 9aef3ea Update GIFLIB to 5.0.4
  111. HEAD 现在位于 cecbe12 Added the makefile.
  112. HEAD 现在位于 5c3bee7 Merge "gcc 4.6: don't reorder functions"
  113. HEAD 现在位于 0f1ce3d am 8c212ebe: Merge "Only use  if it exists and is writable."
  114. HEAD 现在位于 87ffc45 Adding a gradle build file.
  115. HEAD 现在位于 69985f9 Merge "Only build hamcrest-hostdex if WITH_HOST_DALVIK is true."
  116. HEAD 现在位于 858f2d2 Use shared libft2 with new libpng/zlib deps.
  117. HEAD 现在位于 3309edc Support U+061C ARABIC LETTER MARK by making it invisible when rendering text.
  118. HEAD 现在位于 bfa8483 Add NOTICE and MODULE_LICENSE_LGPL files.
  119. HEAD 现在位于 0a61a36 Update ICU with patch to fix Japanese alphabetic index.
  120. HEAD 现在位于 157d428 am 5c3eb4d7: am 2462513a: Merge "We no longer need our own icmp6.h --- bionic\'s is good enough."
  121. HEAD 现在位于 f4cb1ee Add liblog
  122. HEAD 现在位于 8ecfc61 am 42ea6673: ignore SIGPIPES
  123. HEAD 现在位于 acadef7 Merge "Remove the debug tag from the ping6 build target"
  124. HEAD 现在位于 5ceb202 Initial empty repository
  125. HEAD 现在位于 3b4db88 remove JNIHelp.h from sqlite_jni.c
  126. HEAD 现在位于 9566207 Merge "host modules don't need LOCAL_MODULE_TAGS"
  127. HEAD 现在位于 e469430 Remove files that we do not use during compilation.
  128. HEAD 现在位于 31b17e6 Support extracting of thumbnail offsets.
  129. HEAD 现在位于 f4eb746 Merge remote-tracking branch 'goog/ics-aah-exp'
  130. HEAD 现在位于 a6b4465 New drop of the jmonkeyengine library
  131. HEAD 现在位于 135f5dc am f7e17efa: am 80519db0: am 40dfc1d1: am 8fe7969d: am dc20ac98: improve the handling of images with duplicate component IDs
  132. HEAD 现在位于 601ffd7 Adding a gradle build file.
  133. HEAD 现在位于 a828688 Adding a gradle build file.
  134. HEAD 现在位于 0f6a098 am 5dade2c0: Collect annotations for JUnit3 tests.
  135. HEAD 现在位于 908d3fd Merge "Changed kexec header file to 3.10 version"
  136. HEAD 现在位于 1d1011a Initial checkin: libcap-ng-0.7
  137. HEAD 现在位于 bcb9a59 Merge "Remove Android-added linux-sh support (not upstream)."
  138. HEAD 现在位于 50761ab Compile libgsm with MS-GSM support
  139. HEAD 现在位于 6946aa5 Add NOTICE file for BSD license
  140. HEAD 现在位于 7075348 am 294ecd05: Merge "Added the Samsung Galaxy family VID and PID."
  141. HEAD 现在位于 1ba9dcc Fix memory leak.
  142. HEAD 现在位于 9e987cc Fix crash in reader mode.
  143. HEAD 现在位于 6ccf734 Move libnl headers to their own project
  144. HEAD 现在位于 ec0b24f Add make file for libogg library.
  145. HEAD 现在位于 3a7bce5 Add an empty CleanSpec.mk
  146. HEAD 现在位于 485e6d5 Update external/libphonenumber to v5.4
  147. HEAD 现在位于 b5e7fb4 Provide a shared library version of libpng for on-device linking.
  148. HEAD 现在位于 706e567 libppp: import user space PPP implementation from FreeBSD 7.4-RELEASE.
  149. HEAD 现在位于 1e2cf2c am cb92504c: Fix logging of sepolicy pathname on policy load.
  150. HEAD 现在位于 8fd7c65 Update to libsepol 2.2.
  151. HEAD 现在位于 2801917 Moved the symbol generation in the main build script.
  152. HEAD 现在位于 94867ba Moved the symbol generation in the main build script.
  153. HEAD 现在位于 de55961 Add make file for libvorbis library
  154. HEAD 现在位于 9b35249 Roll latest libvpx to fix scalling bug.
  155. HEAD 现在位于 a2bb4a2 Remove obsolete ThirdPartyProject.prop file.
  156. HEAD 现在位于 98f5140 Add NOTICE and MODULE_LICENSE_BSD_LIKE files
  157. HEAD 现在位于 482a582 am b55f69c3: Enable neon-optimized functions
  158. HEAD 现在位于 2db19c7 am 8a2282d1: Merge "Add on-device symbol demangle support."
  159. HEAD 现在位于 328b01e Patch LittleMock for change in internal methods
  160. HEAD 现在位于 5d63c52 Mac only has ::futimes() and not ::futimens().
  161. HEAD 现在位于 baa3858 Lightly modified commit of lzma sdk version 9.20.
  162. HEAD 现在位于 629ed05 Remove emacs backup files
  163. HEAD 现在位于 6f2e355 Merge "Remove backup file."
  164. HEAD 现在位于 c46f53f Add liblog
  165. HEAD 现在位于 b9ba3f4 Merge upstream-mesa-9.0.3
  166. HEAD 现在位于 f8c396c Merge "mksh: use /data/local instead of /data/local/tmp"
  167. HEAD 现在位于 34f80a9 Add a CleanSpec for mockito.
  168. HEAD 现在位于 e44762f Add new socket mode DISCONNECT_AFTER_READING_REQUEST
  169. HEAD 现在位于 16051e9 Clean up dist files.
  170. HEAD 现在位于 141f77c Add liblog
  171. HEAD 现在位于 9238a39 Makefiles for NanumGothic font.
  172. HEAD 现在位于 444644c Temporarily disable ld --fatal-warnings.
  173. HEAD 现在位于 58ecd3b Get rid of warnings when compiled with -Wformat-security
  174. HEAD 现在位于 a800c66 Add liblog
  175. HEAD 现在位于 ad3f12e am befae3aa: Merge "nist-pkix-tests should only depend on core and core-junit, not frameworks"
  176. HEAD 现在位于 b23dbfc Wrap RuntimeException into ParseException when parsing SIP URLs.
  177. HEAD 现在位于 90372d8 add U+261D to NotoColorEmoji.ttf
  178. HEAD 现在位于 bc170f5 Switch platform to 8, to allow unbundling/backporting of GoogleAuthenticator
  179. HEAD 现在位于 e8740d2 Build and run the Objenesis TCK on Android
  180. HEAD 现在位于 49d9ce3 Make scheme & realm comparisons case insensitive.
  181. HEAD 现在位于 6d29f2f Add Android.mk + License file to open-vcdiff
  182. HEAD 现在位于 1691b57 Fix gcc-4.6 warning.  This is a also fixed in upstream.
  183. HEAD 现在位于 5bf56ba Merge remote-tracking branch 'goog/ics-ub-google-tts' into jb-mr2-dev
  184. HEAD 现在位于 47da330 Merge "openssh: use correct header file."
  185. HEAD 现在位于 bb8428f Fix leak in setting certificate chain patch
  186. HEAD 现在位于 4886329 Merge "Add oprofile host tool support for mips."
  187. HEAD 现在位于 70005f9 Tweaks for NDK build
  188. HEAD 现在位于 6c569d2 use stable NDK android/log.h header instead of cutils/logd.h
  189. HEAD 现在位于 54f59ac Update Retrace Default Regex to Latest Version
  190. HEAD 现在位于 48ee66d am ece98e5f: Merge "Fix checkbuild targets, remove unittest_enum_mulitplejava_nano.proto."
  191. HEAD 现在位于 cff7bfa Merge "memcheck: fix guest pc <-> host pc mapping on 64 bit arch"
  192. HEAD 现在位于 20349da Merge "Change the MP table to support >16 IRQ number"
  193. HEAD 现在位于 0d4c523 Updaiting re2 to the re2-20130115.
  194. HEAD 现在位于 99e2e54 APKs part of CTS should have LOCAL_DEX_PREOPT := false (2 of 2)
  195. HEAD 现在位于 6bf395c Merge "Fix Wallet robolectric tests, Part 1"
  196. HEAD 现在位于 aa0725f Remove obsolete ThirdPartyProject.prop file.
  197. HEAD 现在位于 eb05b73 Merge "Exclude NEON files for ARMs that do not have it"
  198. HEAD 现在位于 35e8dcc Merge "Let vold mount OBB files on external storage." into klp-dev
  199. HEAD 现在位于 30d4e1f Adding Sfntly library for printing support
  200. HEAD 现在位于 795a2f4 add README file containing source information
  201. HEAD 现在位于 02cbf10 Override drawRRect in fake SkBitmapDevices.
  202. HEAD 现在位于 d7955ce Add android smack source.
  203. HEAD 现在位于 f3d921d Fix up the Android.mk and scripts for the current version
  204. HEAD 现在位于 2dbbd3b remove include of utils/Log.h
  205. HEAD 现在位于 fb7db58 Remove obsolete ThirdPartyProject.prop file.
  206. HEAD 现在位于 ac0e0d5 Don't call malloc_usable_size() for host builds.
  207. HEAD 现在位于 2706e1c AudioRecord must be used as sp<> only
  208. HEAD 现在位于 c9e44e6 am b7cb8944: Retire LOCAL_NDK_VERSION.
  209. HEAD 现在位于 628e14d Fixed build errors originated from stlport
  210. HEAD 现在位于 1a4e05d Merge "Remove another external/strace build hack."
  211. HEAD 现在位于 0956427 Simplify STRESSAPPTEST_TIMESTAMP to remove useless information.
  212. HEAD 现在位于 838228c Import translations. DO NOT MERGE
  213. HEAD 现在位于 68c2ec9 Add an empty CleanSpec.mk
  214. HEAD 现在位于 532b8f3 Add an empty CleanSpec.mk
  215. HEAD 现在位于 99e91a7 Move tz files from framework/opt/timezonepicker
  216. HEAD 现在位于 c98da79 add support for mmap read
  217. HEAD 现在位于 a85e245 Update to latest tinycompress
  218. HEAD 现在位于 494e448 Update shared library dependencies for device target
  219. HEAD 现在位于 c74b546 Initial checkin of tinyxml2, needed by Bluedroid stack
  220. HEAD 现在位于 f368828 am 97fe197d: Fix memory leak
  221. HEAD 现在位于 f53dc20 Merge upstream V8 change to fix HasRealIndexedProperty.
  222. HEAD 现在位于 99cfba5 am 65ddab7c: am 3711df3c: Merge "Fix full_x86-eng build."
  223. HEAD 现在位于 513e97b Fix memleak in WebPIDelete (change#Id4faef1b).
  224. HEAD 现在位于 446452f The NDK doesn't have libutils.
  225. HEAD 现在位于 f62167e TDLS: Provide external control to specify the peers for setup (DO NOT MERGE)
  226. HEAD 现在位于 e95d922 Add an empty CleanSpec.mk
  227. HEAD 现在位于 42ea4dc We need the license files to be next to the module's Android.mk.
  228. HEAD 现在位于 a2cff22 Merge "yaffs2: update fs_config calls for capabilities change."
  229. HEAD 现在位于 a5c7131 Revert "Add signed integer overflow checking to zlib"
  230. HEAD 现在位于 7620644 Import zxing-core 1.7 and qr_scanner
  231. HEAD 现在位于 126a630 WA: Queue extra buffers on output port during reconfig if input EOS-ed
  232. HEAD 现在位于 8371f2e Merge "Check for OOM in BitmapFactory's getMimeTypeString()."
  233. HEAD 现在位于 9acb348 merge in KQS81M
  234. HEAD 现在位于 89a5648 Temporarily disable mclinker (since nothing depends on it).
  235. HEAD 现在位于 8070683 Fix initializers and add vector reflection support.
  236. HEAD 现在位于 3e8176d Don't show the alternates dialog for GAL contacts
  237. HEAD 现在位于 b9669b8 Initial empty repository
  238. HEAD 现在位于 5072d50 Add liblog
  239. HEAD 现在位于 14e8b01 Don't change the framebuffer target until we render a new one
  240. HEAD 现在位于 03b1857 am 8d85c6c7: Split EXDATE with a Newline Delimiter
  241. HEAD 现在位于 f08aa2d Initial empty repository
  242. HEAD 现在位于 70d2a22 Import translations. DO NOT MERGE
  243. HEAD 现在位于 59426e7 Import translations. DO NOT MERGE
  244. HEAD 现在位于 dbbe673 Add liblog
  245. HEAD 现在位于 df9dd39 Compile inputmethodcommon against ICS SDK
  246. HEAD 现在位于 15ecba0 Import translations. DO NOT MERGE
  247. HEAD 现在位于 ee25d0e am 848b54ae: Merge "Support MMS with empty subject"
  248. HEAD 现在位于 b51ed34 AudioRecord must be used as sp<> only
  249. HEAD 现在位于 38a4f0e am b1cd1b76: (-s ours) Import translations. DO NOT MERGE
  250. HEAD 现在位于 9e17e21 Fix OOBE crash/DoS after receiving 0-byte WAP push.
  251. HEAD 现在位于 ee81734 Import translations. DO NOT MERGE
  252. HEAD 现在位于 5f55ee2 am 7a2ac040: Store encoding in upper case.
  253. HEAD 现在位于 af79a59 Fix histogram intrinsic.
  254. HEAD 现在位于 6e20936 Make action bar media router icons blue again.
  255. HEAD 现在位于 eba0081 Fix argument parsing in uiautomator shell script.
  256. HEAD 现在位于 ee94db3 Merge "Removed unnecessary synchronized block in findAccessibilityNodeInfo(..)"
  257. HEAD 现在位于 bd04632 am 9c36bfe7: am e7ee8bf8: am ba7d701b: Merge "Remote executable bit from ImageLoader"
  258. HEAD 现在位于 5fc2b7c Import translations. DO NOT MERGE
  259. HEAD 现在位于 f0c3b4e Merge "Always request fast track for recording"
  260. HEAD 现在位于 6d3be41 fix build. new sensor hal header.
  261. HEAD 现在位于 1a25e8c merge in KQS81M
  262. HEAD 现在位于 f0315c9 bcm4339: update firmware to 6.37.32.23.34.8
  263. HEAD 现在位于 e6d9ab2 Remove unused GPL'd files (simple_apps, mpu.h)
  264. HEAD 现在位于 7ccf148 Update HWC documentation for virtual displays
  265. HEAD 现在位于 18fc094 Define and use DRC-specific volume curves when applicable
  266. HEAD 现在位于 8bba9e9 hal: Fix the audio loss issue on codec back end
  267. HEAD 现在位于 cf314a4 am 5faa2a52: New call-in/-back functions for Controller to do vendor-specific shutdown
  268. HEAD 现在位于 197b2d6 Merge "Camera: Increase MAX_EXIF_TABLE_ENTRIES to 17" into klp-dev
  269. HEAD 现在位于 2cacc35 Copy virtual display FB to outbuf even with no app layers
  270. HEAD 现在位于 27e66b7 keymaster: Enable compilation for msm8226 based platforms
  271. HEAD 现在位于 cf84081 mm-video: vidc: venc: add set ctrl to request sequence header
  272. HEAD 现在位于 88aabcd merge in KFS78N (no-op)
  273. HEAD 现在位于 7a4be6d msm8x74: update videodev2 kernel headers
  274. HEAD 现在位于 ff9f453 power: Toggle encoder boost for camera preview
  275. HEAD 现在位于 07c5bcd Initial empty repository
  276. HEAD 现在位于 24357ea qcwcn: Add interface_mtu request
  277. HEAD 现在位于 865ce3b Fix documenation IMS registration state.
  278. HEAD 现在位于 a3bcc37 libcamera2: Video Stabilization Killswitch
  279. HEAD 现在位于 3bbaa29 Add liblog
  280. HEAD 现在位于 2bfd180 camera: Handle capture request in AF run
  281. HEAD 现在位于 4959145 ti: Add interface_mtu request
  282. HEAD 现在位于 9fc2766 Fix compile error with FORTIFY_SOURCE
  283. HEAD 现在位于 8629cea am 5ff3bc94: am 4c7d72a6: am fe1f3d77: am 11708986: am b00f46fc: am 23b3ea3a: am e496d90d: am cef32f3b: Merge "SSLEngine: Test that server params are verified" into jb-dev
  284. HEAD 现在位于 feeb36c Fallback to a known good runtime if requested one is not available
  285. HEAD 现在位于 e58ef00 Merge "Use python libraries that NDK provides instead of host system's."
  286. HEAD 现在位于 89b5151 Import translations. DO NOT MERGE
  287. HEAD 现在位于 025c8ec Merge "remove a read lock to work around a platform deadlock problem." into klp-dev
  288. HEAD 现在位于 0d49e16 Fix exception in Browser Settings
  289. HEAD 现在位于 9a0bf7a Import translations. DO NOT MERGE
  290. HEAD 现在位于 25d8c5c Merge 'goog/ics-ub-calendar-fuchsia' into klp-dev
  291. HEAD 现在位于 1ec0f22 Import translations. DO NOT MERGE
  292. HEAD 现在位于 47651bf Reduce logging of flattened Preferences
  293. HEAD 现在位于 031abe3 Enable Cell Broadcast channels 919-928 for Israel.
  294. HEAD 现在位于 88064dd Import translations. DO NOT MERGE
  295. HEAD 现在位于 830e070 Import translations. DO NOT MERGE
  296. HEAD 现在位于 de4adc8 Merge "Import translations. DO NOT MERGE" into klp-dev
  297. HEAD 现在位于 00c596f Add buffer check to fix TIME_SET marking an alarm missed.
  298. HEAD 现在位于 6f9a86b Fix possible NPE in DialerDatabaseHelper
  299. HEAD 现在位于 fbc34a7 Null check service info
  300. HEAD 现在位于 55ab45a Don't ping or sync if we're on security hold.
  301. HEAD 现在位于 e336ebc Import translations. DO NOT MERGE
  302. HEAD 现在位于 a7a26d1 Fix the thumbnail generation.
  303. HEAD 现在位于 9715e7c Enable zoom controls in HTMLViewer
  304. HEAD 现在位于 d7effd3 Decrease the timeout for unknown endcall screen from 5 to 2 sec.
  305. HEAD 现在位于 ae2704a Merge "Import translations. DO NOT MERGE" into klp-dev
  306. HEAD 现在位于 47f7530 Change AllApps tab assets from blue to white
  307. HEAD 现在位于 322554a Import translations. DO NOT MERGE
  308. HEAD 现在位于 b818e8e Reconcile with jb-release
  309. HEAD 现在位于 7b46e24 Android denial of service attack using class 0 SMS messages
  310. HEAD 现在位于 f9d4153 Import translations. DO NOT MERGE
  311. HEAD 现在位于 11bdc21 MusicFX needs to be able to enable/disable packages
  312. HEAD 现在位于 8d9375e Increase NFC-A guard time to work around B5 issue.
  313. HEAD 现在位于 01e429c OneTimeInitializer needs privileged permissions
  314. HEAD 现在位于 e3e6b8b Import translations. DO NOT MERGE
  315. HEAD 现在位于 6741f03 merge in KQS81M
  316. HEAD 现在位于 16f62c5 Removes dependency on framework constants.
  317. HEAD 现在位于 e953b2f Import translations. DO NOT MERGE
  318. HEAD 现在位于 78ca0db Merge "Complete provisioning, and complete provisioning again."
  319. HEAD 现在位于 b9f6019 Import translations. DO NOT MERGE
  320. HEAD 现在位于 5ffcae3 Put fragment in specific activity's whitelist
  321. HEAD 现在位于 29eae32
  322. HEAD 现在位于 fe909a6 Import translations. DO NOT MERGE
  323. HEAD 现在位于 4db9978 Migrate more System and Secure settings to Global.
  324. HEAD 现在位于 536aa74 Merge "SpeechRecorder: Added Dutch translations"
  325. HEAD 现在位于 3058148 Import translations. DO NOT MERGE
  326. HEAD 现在位于 9824f21 Import translations. DO NOT MERGE
  327. HEAD 现在位于 45c2397 am 56faf220: (-s ours) Import translations. DO NOT MERGE
  328. HEAD 现在位于 205e569 Import translations. DO NOT MERGE
  329. HEAD 现在位于 fcd3869 Import translations. DO NOT MERGE
  330. HEAD 现在位于 ecbf323 Update the sample print service with advanced print options activity.
  331. HEAD 现在位于 184e4d1 Import translations. DO NOT MERGE
  332. HEAD 现在位于 59aefa2 Update OpenWnn based on ICS.
  333. HEAD 现在位于 40056ae Fix build.
  334. HEAD 现在位于 3347f31 Delete all ApplicationsProvider code.
  335. HEAD 现在位于 abb848b Ignore Wakelock Under-Locked Exception
  336. HEAD 现在位于 25441f5 Merge "Fix broadcast of CONTACTS_DATABASE_CREATED intent." into klp-dev
  337. HEAD 现在位于 34f6f70 Import translations. DO NOT MERGE
  338. HEAD 现在位于 3fa4c1f Fix argument references
  339. HEAD 现在位于 96d0a80 Fixes for the PartnerBookmarksProvider test.
  340. HEAD 现在位于 deb745d Fix AppOps exception for SMS quick reply feature.
  341. HEAD 现在位于 361f35b Close stream after writing backup data.
  342. HEAD 现在位于 6117c11 Import translations. DO NOT MERGE
  343. HEAD 现在位于 3e39166 am 17bd2d15: fix race condition in photo dreams settings activity
  344. HEAD 现在位于 6e0a80f Really keep up with new Dreams API.
  345. HEAD 现在位于 bd917bd Merge "Add USSD code running dialog to TeleService" into klp-dev
  346. HEAD 现在位于 4c900d8 Import translations. DO NOT MERGE
  347. HEAD 现在位于 ca92fdc Update for API 18
  348. HEAD 现在位于 98d2446 Import translations. DO NOT MERGE
  349. HEAD 现在位于 d2d7f60 Import translations. DO NOT MERGE
  350. HEAD 现在位于 5fb1017 Import translations. DO NOT MERGE
  351. HEAD 现在位于 25ee68e Import translations. DO NOT MERGE
  352. HEAD 现在位于 53db91c Import translations. DO NOT MERGE
  353. HEAD 现在位于 d820f29 Import translations. DO NOT MERGE
  354. HEAD 现在位于 4902d71 CameraITS: Cleaned up object structure.
  355. HEAD 现在位于 4262334 Initial empty repository
  356. HEAD 现在位于 af856d7 Initial empty repository
  357. HEAD 现在位于 54acc51 Initial empty repository
  358. HEAD 现在位于 682de6b Initial empty repository
  359. HEAD 现在位于 da3dad9 Initial empty repository
  360. HEAD 现在位于 f67a83f Initial empty repository
  361. HEAD 现在位于 e95b4ce Clang version 3.1.
  362. HEAD 现在位于 471afab Initial empty repository
  363. HEAD 现在位于 2f6d2db Initial empty repository
  364. HEAD 现在位于 bba7eb9 Initial empty repository
  365. HEAD 现在位于 51f8e27 Initial empty repository
  366. HEAD 现在位于 017a8a6 Initial empty repository
  367. HEAD 现在位于 dfcc84d am feec3461: Merge "Update sdkuilib prebuilt after changing SparseArray import path"
  368. HEAD 现在位于 76f99d6 Merge "Update deltapack to 4.2.2"
  369. HEAD 现在位于 21b2cba Commit 64bit darwin hosted arm-eabi toolchain for kernel use.
  370. HEAD 现在位于 26cb186 Merge "[ARM] Refresh darwin-x86 eabi toolchain with v7/thumb2 multilib support."
  371. HEAD 现在位于 0f74cbc Need $(CLEAR_VARS) at the beginning to define modules.
  372. HEAD 现在位于 9a80d8a am 3e7f8f4b: Merge "[darwin-x86] Rebuilt libgcc.a with unwinding info in __aeabi_idiv0."
  373. HEAD 现在位于 4ac4f7c Initial empty repository
  374. HEAD 现在位于 21ae5b0 am c3d49ddd: Merge from AOSP
  375. HEAD 现在位于 837cdd9 Merge "Update mips toolchain mipsel-linux-android-4.6 (darwin-x86)"
  376. HEAD 现在位于 23b86b6 Need $(CLEAR_VARS) at the beginning to define modules.
  377. HEAD 现在位于 042d613 Merge "Update x86 toolchain i686-linux-android-4.6 (darwin-x86)"
  378. HEAD 现在位于 b8d6b5d Merge "Refresh X86 GCC 4.7 toolchain (darwin)"
  379. HEAD 现在位于 4ddebe0 Initial empty repository
  380. HEAD 现在位于 d73a051 Upgrade to host 64bit arm-eabi toolchain.
  381. HEAD 现在位于 8b88080 Merge "[ARM] Refresh linux-x86 eabi toolchain with v7/thumb2 multilib support."
  382. HEAD 现在位于 71c99ec Need $(CLEAR_VARS) at the beginning to define modules.
  383. HEAD 现在位于 a1e239a am 9f3fe91f: Merge "[linux-x86] Rebuilt libgcc.a with unwinding info in __aeabi_idiv0."
  384. HEAD 现在位于 10191e2 Point to new location for source files
  385. HEAD 现在位于 95bb5b6 am f99fb925: add sys/capability.h
  386. HEAD 现在位于 ebdad82 Remove *.la not in sysroot
  387. HEAD 现在位于 90fc0bd Merge "Update mips toolchain mipsel-linux-android-4.6"
  388. HEAD 现在位于 e5c0976 Need $(CLEAR_VARS) at the beginning to define modules.
  389. HEAD 现在位于 b9ebba0 Merge "Update x86 toolchain i686-linux-android-4.6"
  390. HEAD 现在位于 c793176 Merge "Use memalign instead of posix_memalign in GCC x86 mm_malloc.h"
  391. HEAD 现在位于 bbe08f8 Initial empty repository
  392. HEAD 现在位于 87aad85 Update ddmlib and tradefed prebuilt for CTS failure
  393. HEAD 现在位于 c792f0b am 3806fb27: Add symlink for x86/mips platform version 8.
  394. HEAD 现在位于 2bdd4fd am 907c2ccd: Merge "Add python 2.7.5"
  395. HEAD 现在位于 826b238 am 1b6c68fa: Merge "Add python 2.7.5"
  396. HEAD 现在位于 1dffc58 Merge "Upgrade qemu kernels to support multinetwork."
  397. skipping prebuilts/runtime/
  398. HEAD 现在位于 8700575 Merge "Update LLVM-related Mac prebuilts for rebase to r222494."
  399. HEAD 现在位于 bf9c635 Merge "Added spantable library"
  400. HEAD 现在位于 4881d02 Merge "Update ADT with ASM 5.0.3" into studio-1.1-dev automerge: 540d62b
  401. HEAD 现在位于 fdb3da5 Merge "Use getmntent when accessing /proc/mounts."
  402. HEAD 现在位于 3701548 Merge "ext4_utils: Support -L LABEL option on mkuserimg"
  403. HEAD 现在位于 c89548e Merge "Cleanup Obsolete LOCAL_PRELINK_MODULE."
  404. HEAD 现在位于 1a3c689 Merge "Fix missing errno.h includes after libc cleanup."
  405. HEAD 现在位于 6ab2fc8 Merge "system/security: sync with latest BoringSSL."
  406. HEAD 现在位于 f3b2637 Merge "Use getmntent when accessing /proc/mounts."
  407. HEAD 现在位于 3880776 Merge "Fix project setup." into idea133
  408. HEAD 现在位于 ca6f026 Merge "Gradle 2.2.1"
再次执行repo sync,没有提示之前那个修改后没有提交的问题了,但依旧
  1. error.GitError: platform/prebuilts/qemu-kernel rev-list (u'^90f628313c294e265cf3fdf4dc642ebf46874685', 'HEAD', '--'): error: Could not read c79e428af12b09bc8a8306cd9c8598625d2763dd
  2. fatal: revision walk setup failed
找了找,发现根本就没有platform/prebuildts/qu....这个目录,有prebuilts/qu..这个目录,应该是5.0 跟4.0的源码目录结构变化了。
然后,把WORKING_DIRECTORY下面的东西除了.repo跟Makefile其他的都删了,重新执行。
senrsl@senrsl-ubuntu:~$ cd android/source/WORKING_DIRECTORY/
senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY$  repo init -b android-4.4.2_r2

Your identity is: senRsl DC <senRsl@163.com>
If you want to change this, please re-run 'repo init' with --config-name

repo has been initialized in /home/senrsl/android/source/WORKING_DIRECTORY
senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY$ repo sync
。。。。
Syncing work tree: 100% (407/407), done.
我屮,竟然成功了!
然后查看分支
  1. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY$ repo branches
  2.    android-4.4.2_r2          | in:
  3.                                    abi/cpp
  4.                                    art
  5.                                    bionic
  6.                                    bootable/bootloader/legacy
  7.                                    bootable/diskinstaller
  8.                                    bootable/recovery
  9.                                    build
  10.                                    cts
  11.                                    dalvik
  12.                                    developers/build
  13.                                    developers/demos
  14.                                    developers/docs
  15.                                    developers/samples/android
  16.                                    development
  17.                                    device/asus/deb
  18.                                    device/asus/flo
  19.                                    device/asus/flo-kernel
  20.                                    device/asus/grouper
  21.                                    device/asus/tilapia
  22.                                    device/common
  23.                                    device/generic/armv7-a-neon
  24.                                    device/generic/common
  25.                                    device/generic/goldfish
  26.                                    device/generic/mini-emulator-armv7-a-neon
  27.                                    device/generic/mini-emulator-mips
  28.                                    device/generic/mini-emulator-x86
  29.                                    device/generic/mips
  30.                                    device/generic/x86
  31.                                    device/google/accessory/arduino
  32.                                    device/google/accessory/demokit
  33.                                    device/lge/hammerhead
  34.                                    device/lge/hammerhead-kernel
  35.                                    device/lge/mako
  36.                                    device/lge/mako-kernel
  37.                                    device/sample
  38.                                    device/samsung/manta
  39.                                    docs/source.android.com
  40.                                    external/aac
  41.                                    external/android-clat
  42.    master                    | in:
  43.                                    abi/cpp
  44.                                    art
  45.                                    bionic
  46.                                    bootable/recovery
  47.                                    build
  48.                                    cts
  49.                                    dalvik
  50.                                    developers/build
  51.                                    developers/demos
  52.                                    developers/docs
  53.                                    developers/samples/android
  54.                                    development
  55.                                    device/asus/deb
  56.                                    device/asus/flo
  57.                                    device/asus/flo-kernel
看起来像是切换成功了。

然后创建本地分支并切换
  1. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY$ repo start  android-4.4.2_r2 --all
  2. Starting android-4.4.2_r2: 100% (407/407), done. 
  3. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY$
再查看分支
  1. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY$ repo branches
  2. *  android-4.4.2_r2          | in all projects
  3.    master                    | in:
  4.                                    abi/cpp
  5.                                    art
  6.                                    bionic
  7.                                    bootable/recovery
  8.                                    build
  9.                                    cts
  10.                                    dalvik
  11.                                    developers/build
  12.                                    developers/demos
  13.                                    developers/docs
  14.                                    developers/samples/android
  15.                                    development
  16.                                    device/asus/deb
  17.                                    device/asus/flo
  18.                                    device/asus/flo-kernel
  19. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY$ git map-branches
这次是真切换过来了。
编译4.4.2
跟5.0一样,只有jdk不一样,5.0要openjdk7,4.4.2要oracle jdk1.6
  1. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY$ source ./build/envsetup.sh
  2. including device/samsung/manta/vendorsetup.sh
  3. including device/generic/armv7-a-neon/vendorsetup.sh
  4. including device/generic/mips/vendorsetup.sh
  5. including device/generic/x86/vendorsetup.sh
  6. including device/asus/tilapia/vendorsetup.sh
  7. including device/asus/grouper/vendorsetup.sh
  8. including device/asus/flo/vendorsetup.sh
  9. including device/asus/deb/vendorsetup.sh
  10. including device/lge/hammerhead/vendorsetup.sh
  11. including device/lge/mako/vendorsetup.sh
  12. including sdk/bash_completion/adb.bash
  13. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY$  lunch aosp_arm-eng
  14. ============================================
  15. PLATFORM_VERSION_CODENAME=REL
  16. PLATFORM_VERSION=4.4.2
  17. TARGET_PRODUCT=aosp_arm
  18. TARGET_BUILD_VARIANT=eng
  19. TARGET_BUILD_TYPE=release
  20. TARGET_BUILD_APPS=
  21. TARGET_ARCH=arm
  22. TARGET_ARCH_VARIANT=armv7-a
  23. TARGET_CPU_VARIANT=generic
  24. HOST_ARCH=x86
  25. HOST_OS=linux
  26. HOST_OS_EXTRA=Linux-3.13.0-37-generic-x86_64-with-Ubuntu-14.04-trusty
  27. HOST_BUILD_TYPE=release
  28. BUILD_ID=KVT49L
  29. OUT_DIR=out
  30. ============================================
  31. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY$  export USE_CCACHE=1
  32. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY$ export CCACHE_DIR=/home/senrsl/android/source/.ccache
  33. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY$ prebuilts/misc/linux-x86/ccache/ccache -M 50G
  34. Set cache size limit to 52428800k
  35. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY$ make -j16
  36. 。。。。
  37. Creating filesystem with parameters:
  38.     Size: 576716800
  39.     Block size: 4096
  40.     Blocks per group: 32768
  41.     Inodes per group: 7040
  42.     Inode size: 256
  43.     Journal blocks: 2200
  44.     Label:
  45.     Blocks: 140800
  46.     Block groups: 5
  47.     Reserved block group size: 39
  48. Created filesystem with 1271/35200 inodes and 82177/140800 blocks
  49. + '[' 0 -ne 0 ']'
  50. Install system fs image: out/target/product/generic/system.img
  51. out/target/product/generic/system.img+ maxsize=588791808 blocksize=2112 total=576716800 reserve=5947392
  52. #编译成功,启动模拟器
  53. senrsl@senrsl-ubuntu:~/android/source/WORKING_DIRECTORY$ emulator
  54. emulator: WARNING: system partition size adjusted to match image file (550 MB > 200 MB)


查看4.4.2用的内核,是3.4.0

OK,那就继续下一篇,编译3.4.0的kernel。
2015年03月20日14:56:58
--
senRsl
2015年03月18日16:00:22

没有评论 :

发表评论