net/mlx5e: Fix memory leak if refreshing TIRs fails
[deliverable/linux.git] / drivers / mtd / bcm47xxpart.c
index 845dd27d9f417a07cb6a55000f44504e55b3451c..377947580203d295553029097607964ec850551c 100644 (file)
@@ -122,7 +122,7 @@ static int bcm47xxpart_parse(struct mtd_info *master,
        for (offset = 0; offset <= master->size - blocksize;
             offset += blocksize) {
                /* Nothing more in higher memory on BCM47XX (MIPS) */
-               if (config_enabled(CONFIG_BCM47XX) && offset >= 0x2000000)
+               if (IS_ENABLED(CONFIG_BCM47XX) && offset >= 0x2000000)
                        break;
 
                if (curr_part >= BCM47XXPART_MAX_PARTS) {
This page took 0.036274 seconds and 5 git commands to generate.