1. 16 Dec, 2008 1 commit
  2. 15 Dec, 2008 1 commit
  3. 10 Dec, 2008 1 commit
  4. 09 Dec, 2008 1 commit
  5. 05 Dec, 2008 4 commits
  6. 03 Dec, 2008 1 commit
    • Artem Bityutskiy's avatar
      UBI: fix warnings when debugging is enabled · ed45819f
      Artem Bityutskiy authored
      The 'ubi_io_read_vid_hdr()' and 'ubi_io_read_ec_hdr()' function
      have the 'verbose' argument which controls whether they should
      print a warning if the VID/EC header was not found or was corrupted.
      Some callers require the headers to be OK, and pass 1. Some allow
      a corrupted/not present header, and pass 0.
      
             if (UBI_IO_DEBUG)
                     verbose = 1;
      
      And UBI_IO_DEBUG is 1 if CONFIG_MTD_UBI_DEBUG_MSG_BLD is true. So in
      this case the warning is printed all the time. This confuses people.
      
      Thus, do not print the messages as warnings if UBI_IO_DEBUG is true,
      but print them as debugging messages instead.
      Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      ed45819f
  7. 02 Dec, 2008 31 commits