--- zzzz-none-000/linux-3.10.107/drivers/pcmcia/rsrc_mgr.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/pcmcia/rsrc_mgr.c 2021-02-04 17:41:59.000000000 +0000 @@ -30,8 +30,9 @@ return 0; } -struct resource *pcmcia_make_resource(unsigned long start, unsigned long end, - int flags, const char *name) +struct resource *pcmcia_make_resource(resource_size_t start, + resource_size_t end, + unsigned long flags, const char *name) { struct resource *res = kzalloc(sizeof(*res), GFP_KERNEL);