Sandeep Patil 5da9f3fe49 ANDROID: staging: ion: Fix uninitialized variable warning
Warning:
   In file included from include/linux/bitops.h:19:0,
                    from include/linux/bitmap.h:8,
                    from drivers/staging/android/ion/ion.c:10:
   drivers/staging/android/ion/ion.c: In function '__ion_device_add_heap':
>> arch/m68k/include/asm/bitops.h:371:28: warning: 'end_bit' may be used uninitialized in this function [-Wmaybe-uninitialized]
    #define find_next_zero_bit find_next_zero_bit
                               ^~~~~~~~~~~~~~~~~~
   drivers/staging/android/ion/ion.c:228:17: note: 'end_bit' was declared here
     int start_bit, end_bit;
                    ^~~~~~~
   In file included from include/linux/bitops.h:19:0,
                    from include/linux/bitmap.h:8,
                    from drivers/staging/android/ion/ion.c:10:
>> arch/m68k/include/asm/bitops.h:354:10: warning: 'start_bit' may be used uninitialized in this function [-Wmaybe-uninitialized]
      offset -= bit;
      ~~~~~~~^~~~~~
   drivers/staging/android/ion/ion.c:228:6: note: 'start_bit' was declared here
     int start_bit, end_bit;
         ^~~~~~~~~

Change-Id: I2df4a5b36f457aca5f19c03976ae7229c35ecdb3
Reported-by: kbuild test robot <lkp@intel.com>
Fixes: acbfdf321a ("ANDROID: staging: ion: add support for consistent heap ids")
Signed-off-by: Sandeep Patil <sspatil@google.com>
2019-09-03 10:36:20 -07:00
2019-09-02 20:29:11 +02:00
2019-08-15 11:09:16 -06:00
2019-09-02 20:29:11 +02:00
2019-07-23 16:21:59 -07:00
2019-09-02 20:29:11 +02:00
2019-09-02 20:29:11 +02:00
2019-07-19 12:22:04 -07:00
2019-09-02 20:29:11 +02:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
No description provided
Readme 7.9 GiB
Languages
C 97.7%
Assembly 1.6%
Makefile 0.3%
Perl 0.1%