]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/gameport.h
mm: fix fault vs invalidate race for linear mappings
[karo-tx-linux.git] / include / linux / gameport.h
index 2cdba0c2395707184544ee755e9a5f9ddefbe9a1..afad95272841827445d8258043351ba0d23fcf4c 100644 (file)
@@ -105,7 +105,7 @@ static inline void gameport_set_phys(struct gameport *gameport,
 
 static inline struct gameport *gameport_allocate_port(void)
 {
-       struct gameport *gameport = kcalloc(1, sizeof(struct gameport), GFP_KERNEL);
+       struct gameport *gameport = kzalloc(sizeof(struct gameport), GFP_KERNEL);
 
        return gameport;
 }