openela/kernel-lts

Compilation error

chiteroman opened this issue · 2 comments

This commit: 49d8396 gives me this error:

../fs/ext4/ioctl.c:541:7: error: incompatible pointer to integer conversion assigning to 'int' from 'struct super_block *' [-Wint-conversion]
  541 |                 ret = freeze_bdev(sb->s_bdev);
      |                     ^ ~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[3]: *** [../scripts/Makefile.build:364: fs/ext4/ioctl.o] Error 1
make[2]: *** [../scripts/Makefile.build:678: fs/ext4] Error 2
make[2]: *** Waiting for unfinished jobs....

I think this function isn't the same as "bdev_freeze" which return an integer. Should I skip this commit ?

Thanks for reporting this issue, we will fix this in the next release.