Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1590216pxy; Fri, 23 Apr 2021 11:41:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTHTqRKxvzkZZguLCKAMHMwVBPz7Jut0nu1/07veanRbw0/klc90pAe+xK89sA2EjSUw4W X-Received: by 2002:a50:aad9:: with SMTP id r25mr6092105edc.125.1619203315815; Fri, 23 Apr 2021 11:41:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619203315; cv=none; d=google.com; s=arc-20160816; b=pySgp3lt6s1O4zo72nBgbRuOxTwMRDYls6dSehfS7XiBFc1LQ8XeaHpK1ESKSZXGtD nEDfu4dIoumv/ysidVA9663HKFhMM/2kB/AlMR0wyervxoybcpYKMgLO7wEDuYVrXo5F iIVRTv7QcPmY+43i0s+JHuxeFxCiUKfWQDd3r/vXtu0HABonkhxJMfeoCDx+kEtNLoSm ivZkXNI+ABv0eS7pQfctwp0JE2Im5lQhSn1YAJYWys6XFqJyNNN4UrMicvKQ2u7LG2Oe GouxrC6myugkt5pSZos/61WhN/3PW0GRyOaNT/Db59zH4Q0TGigBT6AnQLxgBMwMzum3 3SlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=kp0AZqB2LZLp9+dbyTc+UjKsqQvvjs0+ttZldFA/ieM=; b=Xu4Qm74KWOplhBEoh7F9Ej2Yf4FbtyU66bsL3xEHYvB3syVe+TaxBnG4QOte/Gmylw 1XlskcKgqGZ2wYrL6dh2mRFKDua63DzecjCBX+HhHdsnlcuRAbe5MqDUrnm46VV0znYv pv+d3Aa9d8UzpcTTPpCFHZSFqJet6QultiDP2HCN5wdiX4VHPPrqaPOBp5Gjp0JEwDDr ZffM54dDHp5uscmNmgHp8tgHSdJFHLEg0boyFtWM5IGn98PVCE0BQ5cYQ+dMjNvPu6PR 8jCcVNGJ2NaOa4zZPVK83GeQXEgr3tYwcoJP9YJVfiYDDgh4l6j8KgYGHQN87F7MPTnE y7RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=j3Ads+Kr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h10si5926392edr.114.2021.04.23.11.41.31; Fri, 23 Apr 2021 11:41:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=j3Ads+Kr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243573AbhDWSlL (ORCPT + 99 others); Fri, 23 Apr 2021 14:41:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231400AbhDWSlK (ORCPT ); Fri, 23 Apr 2021 14:41:10 -0400 Received: from mail-qv1-xf29.google.com (mail-qv1-xf29.google.com [IPv6:2607:f8b0:4864:20::f29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE24FC061574; Fri, 23 Apr 2021 11:40:31 -0700 (PDT) Received: by mail-qv1-xf29.google.com with SMTP id gv2so14966149qvb.8; Fri, 23 Apr 2021 11:40:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=kp0AZqB2LZLp9+dbyTc+UjKsqQvvjs0+ttZldFA/ieM=; b=j3Ads+KrGvuDd/qqKKYb+7QN+VZ/Rc9VfNKSe3Al2iJeziQcm98f++TcFnCDq2l4/O 0hrqTPgwqvXs87RleLZpyTNzomL1Gn9StpF3Oh6TZr+IHOV2rPzpv+QIXBuUIoxw65LG nLluB/1pqlNZ4J3y0q735ouSUgesOhA7nNF56bVAguQzefADJZkho5YzWSW2NzooAVyU wx6V3MgkSm3PEPZUEKW29XfPiOJ1aHmcIDV47de46351tRUqW0R3prxY8aklbr2Tijj/ QQLFZqJwB+50ZKhunu4S69PPex1R8A0iiXvq3VV/FGCx5NOZAirstUWOJo61itXRTk4H xsQA== 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=kp0AZqB2LZLp9+dbyTc+UjKsqQvvjs0+ttZldFA/ieM=; b=UpUEG7NzC4ybr2aI7yIWQ03r7bu9iryKb4AhBqckZy1yGVonpQToLbFPjfnIm0ikSl R/Rl2iLrfleO7YMuUDQUOrcsCi4iVvKzn3reiOLfY0v0LWcwzirrbA/0qxFhXNZQbgKe Fp+BAkjcP9ogRbkLUCYhPG5FhMiWoxh8ceBgDtvRGf5mdBVHN5u2oLQ5sOghaatzHgkj U97G4kJgSKT2Art7cy7JP7KJlDXmbhr8hvMqyOAJ7bvgsTDAfvkhoBCL9u2v7B6LbrFz Utyz39f1jvC39CMVqjmq79fKTxpeKIcSwpa8Uyn31qHdmZk+vleRtUDVk8a/CNwukHrC X9ZA== X-Gm-Message-State: AOAM531LBY7CFUB2jfTuz4gmsiqRHMfRSCWHx+164QbPVSn3F+fek2nm JIU3fZBDshgZAoescEP/udlwjDZ59IM= X-Received: by 2002:a05:6214:1467:: with SMTP id c7mr5691134qvy.7.1619203230822; Fri, 23 Apr 2021 11:40:30 -0700 (PDT) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id h65sm4832715qkc.128.2021.04.23.11.40.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Apr 2021 11:40:30 -0700 (PDT) From: Trevor Woerner To: linux-kernel@vger.kernel.org Cc: Jonathan Corbet , Jiri Kosina , Joe Perches , Shuah Khan , Matthias Brugger , Miguel Ojeda , Geert Uytterhoeven , "Alexander A. Klimov" , Yorick de Wid , Dan Williams , linux-doc@vger.kernel.org (open list:DOCUMENTATION) Subject: [PATCH] coding-style.rst: trivial: fix location of driver model macros Date: Fri, 23 Apr 2021 14:40:10 -0400 Message-Id: <20210423184012.39300-1-twoerner@gmail.com> X-Mailer: git-send-email 2.30.0.rc0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The dev_printk()-like functions moved to include/linux/dev_print.h in commit af628aae8640 ("device.h: move dev_printk()-like functions to dev_printk.h"). Signed-off-by: Trevor Woerner --- Documentation/process/coding-style.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/process/coding-style.rst b/Documentation/process/coding-style.rst index 42969ab37b34..44f796ba52c4 100644 --- a/Documentation/process/coding-style.rst +++ b/Documentation/process/coding-style.rst @@ -855,7 +855,7 @@ Kernel messages do not have to be terminated with a period. Printing numbers in parentheses (%d) adds no value and should be avoided. -There are a number of driver model diagnostic macros in +There are a number of driver model diagnostic macros in which you should use to make sure messages are matched to the right device and driver, and are tagged with the right level: dev_err(), dev_warn(), dev_info(), and so forth. For messages that aren't associated with a -- 2.30.0.rc0