From patchwork Wed Mar 3 12:20:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 392057 Delivered-To: patches@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp5078073jap; Wed, 3 Mar 2021 04:20:53 -0800 (PST) X-Received: by 2002:a2e:9b90:: with SMTP id z16mr14807261lji.71.1614774053013; Wed, 03 Mar 2021 04:20:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614774053; cv=none; d=google.com; s=arc-20160816; b=OVqJoXZSLBICvqe91Zx25I0QSRfBreDvCFgZXRbq+MyPA5MqJLj7oeVRnwLBVuv2Pg 0Cg0p6qTZkF7L0tJI63LEtC7UM0Dtl//rq2qRHS0fM+6bZnjsORLah7JHS3lcMQ1VihD qU43hMfARUmGaCdENLi95TOJHzjoFmPOSJNSqML8awmaI2w5zqc5kzh0ESkiqQFnr0hm 12iqv4Trg3fDVNP8AHYX8Lyc6YTQLFZcr7wZL5IXc7z6jWapJg5z8QHpPlW8AFhr6Aph 7er7CIu/2WZOS5OiR787emtPEKVFV95dXfZJZ4aNKX8oV+bk8VQVz0SKdc/Y+j2D8k3q pDcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=hA5MnWnH4b98jsrotQXDzoePbCFhv2AxGnot/fu2+EE=; b=mp0QeVxd5gn2fNb17eBHVMWMowfvD0/P5yw4aOy4y+G6Lc61WFGe++5upROx9FOrOZ hKSGXm+scFzo5ULzA9AYwZnPcMj3vUw7zNPGF4zv37cokXUyzMoK8anN+cQM/QNMknko 8tbm5WjkXmebDox1ZwxPK1ubs4sTv36ofK0TVGk/mgnnjnQ7oBxdGZi/sVwgQ1IV5vFA pUW0tFt0a+9eJ83w0DeG2TpsnIvE7OkQKeWSce/8tfdIK65eCllvdArJE8BuFK0WNMaG s8UwbJztMSAvqYCIAQSF6e21c+JPPRyBq4bbng67iDZimRSJ2NX7RlwxUKbhzCjaGCUu NOaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DLlkMoi1; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.41 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id i11sor4565080lfe.32.2021.03.03.04.20.52 for (Google Transport Security); Wed, 03 Mar 2021 04:20:52 -0800 (PST) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DLlkMoi1; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.41 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=hA5MnWnH4b98jsrotQXDzoePbCFhv2AxGnot/fu2+EE=; b=DLlkMoi1+ZjRGJoWSN/yLilCPcqaxU21fi+/pyC8IcGigkQFRPgOgHmHopwpRolB5G ZnwXsVCsy4abkc8JEg+jOJXY7OBy2qaBFAwa8xRYIvW+3rBK7Qi7Kfh9M+h8B/WgiIlv 76wOYf9NAOJAKSP1DmE1nxWL6FgT4dvwTRTK8/KHLEMZAGmnbBxYKmbO4WTX5xLL/lVk MOclwmp8259qTHietYbJ/oBgvdgJ7oFtdPmJ3Zq4BiUozx/Dnm1TwSFk4hSYuOUfgT0S Cwmj4CbfeBGzgqGa6boik1fbhY9WB6GZTXaQl4EyYoyzmowj1mYXbY1jIPOohoPeVlGL iF5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=hA5MnWnH4b98jsrotQXDzoePbCFhv2AxGnot/fu2+EE=; b=W/3d3AZVT4l46vn+hyAnVabK3/d3poRh9Wog5jEPntK5h4BiBi/WUWUQjpk+0Jc/pB L6HJY6W6F5VRUBs9ZjMaZOVnJ6u6B0LoKiLEZSBZNu3uL5Sk9HbSsTT/I1ncOg77rIO4 QxtnbbUQoqzudcnaUkYAi+V6ORh/9SN6WZ2FIbwczoHuJ9x1gTLablXmSVQNt0o1uM2x qW5yZxpTZeajbW9SrwAvnVsEsJ4s8/iWXFFi83IiAKmlGA3CLbP9a9i07z2sx6WfHrQk kfiUlgJ8AKwcM7FE6prih6hcpy+GGg/pKDJCYh2/0TRR/QbSFAWJ/xdaplSCHTrMHDDj cl8A== X-Gm-Message-State: AOAM532+fTOBumQ0q+XHuCD746MM9RMQXMPeNWLJ+gvdPvy9QOOrO9kO 02Sp6UsU6z+glRzjqo9gBBSX611RRikIu4gt X-Google-Smtp-Source: ABdhPJyC8DmkA2DFtAwigbc46smsN7jy7jbnqc1TpM0VC+8BqYa6SmI9pmBOUwovZMnl9Zlt5Tc4pQ== X-Received: by 2002:ac2:5149:: with SMTP id q9mr13810577lfd.619.1614774052598; Wed, 03 Mar 2021 04:20:52 -0800 (PST) Return-Path: Received: from localhost.localdomain (h-155-4-129-234.NA.cust.bahnhof.se. [155.4.129.234]) by smtp.gmail.com with ESMTPSA id d3sm811519lfq.249.2021.03.03.04.20.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 04:20:51 -0800 (PST) From: Ulf Hansson To: linux-mmc@vger.kernel.org, Ulf Hansson Cc: Adrian Hunter , linux-kernel@vger.kernel.org Subject: [PATCH 0/3] mmc: block: Cleanup mmc_blk_probe() path Date: Wed, 3 Mar 2021 13:20:46 +0100 Message-Id: <20210303122049.151986-1-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 While working on fixing KASAN splats for the mmc block device driver, I stumbled over a couple of annoying things in the mmc_blk_probe() path. This series takes care of them. Ulf Hansson (3): mmc: block: Drop use of unlikely() in mmc_blk_probe() mmc: block: Simplify logging during probe about added partitions mmc: block: Fix error path in mmc_blk_probe() drivers/mmc/core/block.c | 49 ++++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 24 deletions(-) -- 2.25.1