From patchwork Fri Nov 13 13:49:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324321 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1214379ils; Fri, 13 Nov 2020 05:52:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJyPKJSxCQ1UauipniNf6+NcDRzVeyiXhKHL7T//WWqu3Uz7oMu52V6zAUqBAHwnMgN4OF92 X-Received: by 2002:a17:90b:f0c:: with SMTP id br12mr2996726pjb.26.1605275452713; Fri, 13 Nov 2020 05:50:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275452; cv=none; d=google.com; s=arc-20160816; b=qrz2H1R7A3O2r68Dak/aj4aeI1SZc7OxqGN1XMep02LMGGY4jnHERoXPSWvC2pMihO s8QOEZOWkibLSK7gV7ZnVWbUo2N9NSjI7G2CJArxC1vuMi+w9I8RPyklR6MJD+zz4CeO NUOdyTn8LT9WqaC4RNqvWAX8BB6GAgvQ8jcvRS+h428CouSqMA4t/3zzKJQncGpyQYXx ucwSXlhO09U7L6r2xhpYuiQzTEAmaF24TtnsvTjomptabVCUHXmoTKOt0xlfRHIR4fd4 kAXztiShgsmHFq31WO6Vq1vXxIsY85jlFz1XO20r4PnqVpZHgN4KQ1il5F8HSg5cgRqf wwKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=8egqLSUgMaZ9enODM3MTTMJIOw1tHdNP8NdiUFQU/s8=; b=BZNntthLtzmQ2DK1APlKTXSR3N1GhiyvWvDrDw0f8ECKl05VajJpblnP9CprjwlK5s V8R2o/pDaHHWK6kNWXdMV/iPIBaFNMAfCl0dJAw99UhRW4ZcmaKwp3L6KqGkH5T5bxOG Hf6TsiQjaHstBo6uZR4IJb5oWnLmgauK83SsNZgKICR5NdIvo6J8jeL4ZAnPcirNFPei 7WQX5GqDRKjh0/NbYO6Mmd1tDbZufnffX72yCt0fG+CgkUQqRbKL6/VwmkdiaJoDiaNI 5UeGZ3bzhfiS+jVdNkboo+2EWSQdQl7CDKhF2oeKbkhT8gvjAhWvpeh6zXGJX4xcoGuJ zOlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=xbhv4k28; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id i5si7844923pfc.332.2020.11.13.05.50.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=xbhv4k28; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5DF2E6E56A; Fri, 13 Nov 2020 13:50:36 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2751E6E528 for ; Fri, 13 Nov 2020 13:50:29 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id o15so9988970wru.6 for ; Fri, 13 Nov 2020 05:50:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QYNTgRMVpRNL/FiK5ZAGdhQROE1FVRdCXLrN0ldkq14=; b=xbhv4k28x+rz7JYkl2nx+QIT1GO56rWtWgOVjpknc5Ye22Krl6lwzpW/2pOF1sCTy9 2qJdTAnkUlFwEnmBo4XLt7h5rcQSg9vIHupq1v00bkPrICVU2Nr0U0BUPPaLocEBpsQ+ 4nJJonTvzNCGOCheLsfA5+uAxLmCTzjye3iipYGSA+dpTipVS2MBA3TbYfBnAYXuuiFb pvcq/v7eAhIXepTQQf+HvsBULlp1ndJZxlNDzogMtJ53kGXnKUTAWbOBLYHD+k7lbsPd m8NDRWDuvyKir3o6os4/s+FRDX3Zo5vPJeT9AFmJbroj6Km9vFfc3gxcMjvhND8EDXCl 23tA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=QYNTgRMVpRNL/FiK5ZAGdhQROE1FVRdCXLrN0ldkq14=; b=T5fF8gGnAViDxiiCr5sKMB+TSwveW8sQKWDPeKrQbLqF2tXtuR7kpXpm282IxwImeh 68TZTMhtsiUWAfNxRv4JI2Fmh4Zg9x4X2jJLbhevbNL3OSeF3fKuyLIyh/PpKbvPwuTp 3/OhjNjvaS6Fj/kFm1YGNZ3VF+Uq+RiTkd4alyWitcFv9dVm16YIv/HBCjMtp6T2IiJq OFoIPQrOr+v6a9zKY4eUL4729/HvG88CMXZOb+oS+t5WjOHgnitB8iPOt3gh02jJbEUc p6j6JTGpVkBA6qHop5Kflis4nXvCQdB475rjUcgL8lPM2dMraQv+zvIraP9+lP/X54vR i/fw== X-Gm-Message-State: AOAM533IMDwC0+3hrsbhvZNvObcRpiu0KooaG7c00Cd+Jdlg/Wp2QqHV IyAmEvXEtRPaQV7xEfiPCGjZt+f8ln+BWTk6 X-Received: by 2002:a5d:5752:: with SMTP id q18mr3532493wrw.176.1605275427821; Fri, 13 Nov 2020 05:50:27 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:27 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 37/40] drm/amd/amdgpu/smu_v11_0_i2c: Provide descriptions for 'control' and 'data' params Date: Fri, 13 Nov 2020 13:49:35 +0000 Message-Id: <20201113134938.4004947-38-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c:225: warning: Function parameter or member 'control' not described in 'smu_v11_0_i2c_transmit' drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c:325: warning: Function parameter or member 'control' not described in 'smu_v11_0_i2c_receive' drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c:325: warning: Function parameter or member 'data' not described in 'smu_v11_0_i2c_receive' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c b/drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c index 7fb240c4990ca..5c7d769aee3fb 100644 --- a/drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c +++ b/drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c @@ -212,6 +212,7 @@ static uint32_t smu_v11_0_i2c_poll_rx_status(struct i2c_adapter *control) /** * smu_v11_0_i2c_transmit - Send a block of data over the I2C bus to a slave device. * + * @control: I2C adapter reference * @address: The I2C address of the slave device. * @data: The data to transmit over the bus. * @numbytes: The amount of data to transmit. @@ -313,7 +314,9 @@ static uint32_t smu_v11_0_i2c_transmit(struct i2c_adapter *control, /** * smu_v11_0_i2c_receive - Receive a block of data over the I2C bus from a slave device. * + * @control: I2C adapter reference * @address: The I2C address of the slave device. + * @data: Placeholder to store received data. * @numbytes: The amount of data to transmit. * @i2c_flag: Flags for transmission *