From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6E83C632 for ; Mon, 23 Dec 2024 15:19:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734967155; cv=none; b=PUMomHNpp8hUxALWLThAGrYlRExnOP+Z0PuBLlpI/57D4aQxsDteuhfBbFNMlgVEEaDTKqklRTAKvAbM1lvlS5ZhjrP8W8BCGgChLc+/2h6iASwtUpwXBDLa5BD+K7dqgbTZXl8l95e/VakatVmJr/TOaoArIOlFrZl0imZ2m8I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734967155; c=relaxed/simple; bh=TMVZC28FI2NsnNClyfO0H42iK8woK36iXqfYvQMoK6Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LZtzOIrHpjpD/yD2U1oInH7XEW120+2TS+WaaiYtihMsqACYiehgWUVeKSMxoyUq/pzB7DkAzFu0QqoREnLCLui39BlS2U5+8XnzXGJliUBLiA7ynIpOQZ0uwhluG0Lw/P8dgYILq7XwQXt7OYWu2zVn4PWrLnXLwJl3n3Tq3sU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=R4T0tXNP; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="R4T0tXNP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E1924C4CED3; Mon, 23 Dec 2024 15:19:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1734967154; bh=TMVZC28FI2NsnNClyfO0H42iK8woK36iXqfYvQMoK6Y=; h=From:To:Cc:Subject:Date:From; b=R4T0tXNPf+hf3pXvHNq7X2RGtpKEENIPGS5miEZjIE1yXlhG1zGVEdWPQUPdXxJCs uhj4r/BapFxm99OQdH6fM6SeJqowAtwcCgSCmCXHSEe8WiJpxIVoHeLbEpKGrHzzRe 4DYeOKBUu4RAR/QZc1NFrhGpaIpK8jqoDuA5mWV3gwolgCKebGYbJ7wpZEigyp2r0k Sx+3aoQYpqPp6niLVBldHh30TXdUicRfBbj7yeu32eDlIc84iGs4N37yj6PuIz9qxj SYrPrAHwsr3YNINsye1RCVsCPuQajnCKeDD5AWOMjNxSQoN9yb44IjPvi3Av7QkVJk acRIkg8UBV1dw== From: Lee Jones To: Arnd Bergmann , Greg Kroah-Hartman , linux-kernel@vger.kernel.org Cc: Lee Jones Subject: [PATCH 1/1] misc: trivial: Remove undesired double space from struct definition Date: Mon, 23 Dec 2024 15:18:37 +0000 Message-ID: <20241223151843.472645-1-lee@kernel.org> X-Mailer: git-send-email 2.47.1.613.gc27f4b7a9f-goog Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit When one is too lazy to use an LSP to conduct look-ups on struct definitions, one might use the ever useful `struct {` search string. However this doesn't work with `struct miscdevice {` because of a stray double space. Assuming that this wasn't intentional, let's simply remove it. Signed-off-by: Lee Jones --- include/linux/miscdevice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h index c0fea6ca5076..69e110c2b86a 100644 --- a/include/linux/miscdevice.h +++ b/include/linux/miscdevice.h @@ -76,7 +76,7 @@ struct device; struct attribute_group; -struct miscdevice { +struct miscdevice { int minor; const char *name; const struct file_operations *fops; -- 2.47.1.613.gc27f4b7a9f-goog