Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp983126lqa; Sun, 28 Apr 2024 12:44:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWgpnRjSSzQuBKDdXfVPGH1AEAxYnCCSVxT43DwPVkTYa+DEBSrOC+FU+NhtkessaKoLoC53nldLPX9DX3L9Iwk1C621J6Bcrzusk+lpg== X-Google-Smtp-Source: AGHT+IHDiVMbw0LQmXzcMyiiLHR4PZ1TxW2CHh2H9N3EZRuodvtv29sg+Wbnrm57SKGZmJ1sxidr X-Received: by 2002:a05:6a00:1942:b0:6f0:c828:87ef with SMTP id s2-20020a056a00194200b006f0c82887efmr6108646pfk.3.1714333475368; Sun, 28 Apr 2024 12:44:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714333475; cv=pass; d=google.com; s=arc-20160816; b=X1Kweqjt+ZjHHBCULGKngEoko8RmikoDINfKZElLP7rdtlw4KUZndGKJ/t4fC3iW6l pyoArr+6yM6hUiTSKH9FPJTAKCP3XEfDKeV/kjn3OziY6mI6q4WZOLxiP9oczfBFLvJs 62OMgYNhGJd+9w2ttixXSMk9BfwbH06B/eHLVK+SUsy0MR7ZdTPlExTeXsHJQp5MS7lS z6uXtl413wfjqc/VQDndu0AoZKhi1GCjXIjxRhWYSMqvP7TVIGD/OwjKwrms+wdkbH+y b0ATtj8e+qr/okN4b4YUtxhcYI8P74NUCJKJ5v3v1Onp38CGMPJ9spHJRAvb2WQjScQ7 tkTQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=95Ext5T8XeQ4NwII5w6xxgHcQxHIGHc3RjuE+Z3fol0=; fh=3+GeaNzucxbrElNitpu/ZinRJrBXNuTEKW2ydJ6OO5Q=; b=XtmnbXXnK30HxFGiuRcu+378gHyemQb6ZO+XC6tR9ca2n2nP6Ibc6qoIvS2qG4lQ44 6ySmPAp2oj7Ui0Whe4sn975DtweEtKTh+EeV3uwXmFChgy6VthtM+cSTqf+8HV/BonNp jA8gX1RdKyrvJnbh0As8kmew7DBwx71KVrXrdVLDr8jfhSmP+EEALbQl4fP67EAMizx9 FFXRyj9qfaln6B9DLn1XCFloffJ7zNICjqMij9q4s57vRZ9a8Dp0okL7s9NPU+c/UhUq eafPRFiCbYZ10c/b0s2Y/R4C/S4aIgltwJfBDLf7eSAfF55+V21bc+ol8FRRCT0xDj6L 3M3Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@usp.br header.s=usp-google header.b=REZZLWVJ; arc=pass (i=1 spf=pass spfdomain=usp.br dkim=pass dkdomain=usp.br dmarc=pass fromdomain=usp.br); spf=pass (google.com: domain of linux-kernel+bounces-161558-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161558-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=usp.br Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id j5-20020aa78dc5000000b006e6b1833736si18476386pfr.215.2024.04.28.12.44.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Apr 2024 12:44:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-161558-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@usp.br header.s=usp-google header.b=REZZLWVJ; arc=pass (i=1 spf=pass spfdomain=usp.br dkim=pass dkdomain=usp.br dmarc=pass fromdomain=usp.br); spf=pass (google.com: domain of linux-kernel+bounces-161558-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161558-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=usp.br Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 05FEE28163C for ; Sun, 28 Apr 2024 19:44:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C505074BE1; Sun, 28 Apr 2024 19:44:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=usp.br header.i=@usp.br header.b="REZZLWVJ" Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DA268745ED for ; Sun, 28 Apr 2024 19:44:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714333458; cv=none; b=HjWR6llvzhkLQIHeh8zbPvcnwLohdyJz+OxGuFASxm3hJyU5qk7NWJxsiruLRrkDIiN//OOJzlhqLT3DGYcRGzYynhaubOgtlzkuQJfvGgEp9hhqzvhzdbyY9rl8TuM0PZugZLysn7bkNbmoIYxUf9TDyPxSvd4cxD46iLDcmLY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714333458; c=relaxed/simple; bh=811te4jalqhlAcpMRzxMNmHHpuACJOxE+5yG5CZ5VKw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=RbGJJF8c9XvBA01qsV0IDIK8WQbdOtnK0lH3RCIjyn2PeNFvTt0lJTDenh2VFY2Qz+dqplKrCjMwo4rQfMWtRrIrBoEk+L0gLxBh00uhB0BtxUyV9klrr9U40RWisZW+TbpdOTgArellsNrbJ8d3emocJZVrQkHM7iYo/UgU6hg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=usp.br; spf=pass smtp.mailfrom=usp.br; dkim=pass (2048-bit key) header.d=usp.br header.i=@usp.br header.b=REZZLWVJ; arc=none smtp.client-ip=209.85.214.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=usp.br Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=usp.br Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-1e5715a9ebdso31844705ad.2 for ; Sun, 28 Apr 2024 12:44:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=usp.br; s=usp-google; t=1714333455; x=1714938255; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=95Ext5T8XeQ4NwII5w6xxgHcQxHIGHc3RjuE+Z3fol0=; b=REZZLWVJ/iNIr8HJhPc4KfxnGu+nNcsdkxi9mi4UIINDYwbrQwm8X5f+goo6pXCM3X vLfk6eFG4m5/qfpkQbuP+/pxKOvFhdIw1O/IMH0NSbbg34CDwx7JGqFVQ2P3hwzRdpkP +ppsArfi5YM+C1v7Hur2Vfq6vqzkFvE46SXxIF517NklY/THTPfPXSH0tKStjPP3Im3F ogfdWloq7rSiaPSLouO53/eZaVgFGN/we3cpycedCozVoH4t3OP5rXJIY5b/iZAJbayi NwvZbOCcqZbl5NXlnR+H1MS3Vw5wt3FkzdSbde8JRC3o+JLS8mkmCTD0F0a2hDRQFr5U OKfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714333455; x=1714938255; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=95Ext5T8XeQ4NwII5w6xxgHcQxHIGHc3RjuE+Z3fol0=; b=gnFE5j1jpareQc6SX2bQJ2Y+F9jVLjPB/vt+FbhAPYzfHgykU0HHV64F1mN4l8qXXt U9fvOkmj02WbLJekrWjXoStqj03F+8mAuI9NWHMWqtSS3FIOOsvY4IsQTbhzPDJMSoG/ fJrMKoBgg9PB/C3+1l1mzx+1kmt0R6JHSh+XgHm1DqiyLcORQwgzWqS038oJXca0uC83 JEZw38evPB22pFtkyhzDrN4H7ANoAYCr1EKIHEWTw2s/XGC/RHlsgwKp2raUkpnBHzyb zbyJ5pL8nLJMpTC9NW+uutLZayMcLv2pKvS9VlztDB6JgO/vWrq6bt68HC8AQRRpCdms xkZA== X-Forwarded-Encrypted: i=1; AJvYcCUyEdxeDcr6YUINh3FvyT9ojMWRnGkriRaeNL9Ptbs0ZlVjG+usG0YWoKiqF7ZXK+e5flEVl0aP7Q0sc4JIV5WXaFHx+3s9JMVsFZZ3 X-Gm-Message-State: AOJu0Yyd/PiUXUkUSE4CSsfT6K71KM3y19YChECt//kp6QpCXA23Iio+ NHjkG5oM5or84np4djPNnmt4MTa/w1JwAfv3CZ0NX36CSOBO84egHJQvpl2c1/s= X-Received: by 2002:a17:902:684d:b0:1eb:3d24:3fc3 with SMTP id f13-20020a170902684d00b001eb3d243fc3mr5074584pln.47.1714333455216; Sun, 28 Apr 2024 12:44:15 -0700 (PDT) Received: from ASUSLaptop-X513EAN.. ([2804:14c:81:903a:a3f3:f05c:11d1:1d76]) by smtp.gmail.com with ESMTPSA id l15-20020a170903120f00b001e45b3539dbsm18826374plh.41.2024.04.28.12.44.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Apr 2024 12:44:14 -0700 (PDT) From: ogustavo@usp.br To: lars@metafoo.de, Michael.Hennerich@analog.com, jic23@kernel.org Cc: Gustavo Rodrigues , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Bruna Lopes Subject: [PATCH 2/3] iio: adc: ad799x: add blank line to avoid warning messages Date: Sun, 28 Apr 2024 16:43:25 -0300 Message-Id: <20240428194326.2836387-3-ogustavo@usp.br> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240428194326.2836387-1-ogustavo@usp.br> References: <20240428194326.2836387-1-ogustavo@usp.br> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Gustavo Rodrigues Add a blank line before if statement to avoid warning messages pointed by checkpatch. Co-developed-by: Bruna Lopes Signed-off-by: Bruna Lopes Signed-off-by: Gustavo Rodrigues --- drivers/iio/adc/ad799x.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/adc/ad799x.c b/drivers/iio/adc/ad799x.c index 3040575793a2..9a12e562c259 100644 --- a/drivers/iio/adc/ad799x.c +++ b/drivers/iio/adc/ad799x.c @@ -335,6 +335,7 @@ static ssize_t ad799x_read_frequency(struct device *dev, struct ad799x_state *st = iio_priv(indio_dev); int ret = i2c_smbus_read_byte_data(st->client, AD7998_CYCLE_TMR_REG); + if (ret < 0) return ret; -- 2.34.1