In for loops use same type for counter variable
as has the limiting variable.
drivers/misc/mei/bus-fixup.c:489:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/misc/mei/hw-txe.c:725:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/misc/mei/hw-txe.c:744:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 {
        struct mei_fixup *f;
        const uuid_le *uuid = mei_me_cl_uuid(cldev->me_cl);
-       int i;
+       size_t i;
 
        for (i = 0; i < ARRAY_SIZE(mei_fixups); i++) {
 
 
 {
        unsigned long rem;
        unsigned long length = header->length;
+       unsigned long i;
        u32 *reg_buf = (u32 *)buf;
        u32 dw_cnt;
-       int i;
        int empty_slots;
 
        dev_dbg(dev->dev, MEI_HDR_FMT, MEI_HDR_PRM(header));
 
        struct mei_txe_hw *hw = to_txe_hw(dev);
        unsigned long rem;
        unsigned long length;
+       unsigned long i;
        u32 slots = dev->hbuf_depth;
        u32 *reg_buf = (u32 *)buf;
        u32 dw_cnt;
-       int i;
 
        if (WARN_ON(!header || !buf))
                return -EINVAL;