On Tue, Oct 24 2017 at 5:50pm -0400, Ross Zwisler <ross.zwisler@xxxxxxxxxxxxxxx> wrote: > So I think this just needs to be > > pg_datalen = min((int)datalen, PAGE_SIZE); > > since the resulting pg_datalen is also an int. > > Mike can you fix up, or would you like an updated patch (or follow-on patch) > from me? I went with: pg_datalen = min_t(int, datalen, PAGE_SIZE); I've fixed it up and pushed it out to linux-next. Mike -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel