Received: by 2002:ab2:f03:0:b0:1ef:ffd0:ce49 with SMTP id i3csp29296lqf; Tue, 26 Mar 2024 13:15:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV7HLbaxSJGrp4m4q0/r8JvoD7jqRfXGMSLUfGxvtTCjzPmgZQdjmnWJJ7YNX3OoCIjF+O7vJnijDPfau+FqHPUCKb14QhnVo4PgsmyeA== X-Google-Smtp-Source: AGHT+IHBPADj0MFuwibSmRl1m1b6gZ2oAJ2LqYipEMGOKPJrgFHIgMCg4OgGsUT9dq3gsnUsBy9F X-Received: by 2002:a05:6a20:3950:b0:1a3:c505:7bf with SMTP id r16-20020a056a20395000b001a3c50507bfmr837238pzg.37.1711484121409; Tue, 26 Mar 2024 13:15:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711484121; cv=pass; d=google.com; s=arc-20160816; b=UWLTi4HCLs5Hznh1ggPva/Fj9H240N8rk4sjy9m8l6OQrcp3V37CYbgaq1HQKt/QHE Z+ZsyV3PKpxG9HHI9GXlvRplsflPDl279b227fO5bFkpYIGa0SkMAkQSCxKTzU/FCFdt w6IvkjZE/qe1gRAO+EAvsjcDHpY+6WJ7lRAUDmNp37Khu6nWFnWztN0s0+o2raCavINS aFPTxwRjflD2yPgFu77NdMw4qEMmshN89x+YLnXiwGW76tSpaJKCtSz+bpC7trLOLmPH LtO8/Zuhmvs2u+XRrvgRP2GtvhGcrDv/l9jOJbMT3ULIi9Z1OD9z25ILo69G62nXQNVh DQFw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=FmPgefE26rhr79NqXAgIqb/l9m7Ev6xlwT5t75HGYd8=; fh=lQkyg4rkPgj//XWkiQSe1ZmsYVCQDbij9VmJn+aPVSI=; b=vc0qGK6Sbq/Nu8C392njIlhb5HVZz9rEo+gtEwfR2+lrsKVdpOc6PHEqUowUwD8oMw vf2WRN55TQsRPmwXJLnaFqIfaEY2DHighrOkux4M5FsufB/TvZUiP+XzU8kOENaQc2xD Fj7EIb0MUmFpcE/d7gHIskxjc4gJwdbpzzCmbjc+v5InGMJ0X/Xu3A86znN8cf3gAIrC NNBWmi8AJCfsXilxLQlSqegTxrx3XjFaocqcbCuU0Kwp1ZvdEtZ0Ss+OMkHTQuhP9tBh ebGpYOr8Y50LqGTZ9kGV3OqYJSIdFouqfOqIcP9zThdp6te2HTCidKxfpSFOI6arXHO6 NmPA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xOqibT+o; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-119876-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119876-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id ca34-20020a056a0206a200b005dc918631dfsi11203730pgb.122.2024.03.26.13.15.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 13:15:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-119876-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xOqibT+o; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-119876-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119876-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 A92B2325BF8 for ; Tue, 26 Mar 2024 20:15:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4AFC913D602; Tue, 26 Mar 2024 20:14:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="xOqibT+o" Received: from mail-yb1-f180.google.com (mail-yb1-f180.google.com [209.85.219.180]) (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 E7EDE13D2B4 for ; Tue, 26 Mar 2024 20:14:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711484097; cv=none; b=qMkIPH2xgtidlNXE8YDtusMMiQORAdMJEDwCFI4WbTgN1X/uWnosqibpoDNhuZDK2MOj86PRhItWJl/NQQ+s+Ox9FrZUcwF8LOBUB/qYAP0D1883yB9iyM3Aar3ObcalbmWUFSkoDlkxO39mS+/Wgx7Ar25YJ0+hgQ4ncPkXfAI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711484097; c=relaxed/simple; bh=yjbveC3/sVvc0YuwNullMml87tRF1pHPon8KDzUdJq0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=edxveVy+yYM1lb7H5fcNsk5woCWlXE/WF8tFVvVyyNcy9puBVUw3h2hif+4q5XZXhuoYh68Syhm2/R4I1qnbe+YaAb/AyVLpeoAdyzzLKqE/dVyuPOoYNDOIWVkQWSDYkBu0k2SrcB2o4iUAKuEvIYtIHObT2A1z9HFPBR9VPmY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=xOqibT+o; arc=none smtp.client-ip=209.85.219.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yb1-f180.google.com with SMTP id 3f1490d57ef6-dcbf82cdf05so5419647276.2 for ; Tue, 26 Mar 2024 13:14:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711484094; x=1712088894; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=FmPgefE26rhr79NqXAgIqb/l9m7Ev6xlwT5t75HGYd8=; b=xOqibT+o+0KGb+IHjBavY+bFV2qymYgZPOt/0BZ5Akk90DsTPY953v6LH/Db37J06K E+jvbKNfMh0YtydRaDGDkVr0XtpZZojiyb73JgKe5Ubw08bKFAm0N8PGPgpvnsHJleCk cGLsNPEzMxPbC7QStH03NQ37t2nwD+Y8Snj+JLuekgYB44uqWzMjW3IkEQJ9kJh67HW3 dXOHxpVxZYwZ6nSqFqX7XXmWb6769EEsaCJEZ3FCADEsPrBQANnEj/le0yS+A7pl1v9q t/T0xoChks1YKNKQdC/SprfhGcygZcdDw80L3udAF40YkQXLUdTjC4XF/h1jI+HAQwov J3uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711484094; x=1712088894; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FmPgefE26rhr79NqXAgIqb/l9m7Ev6xlwT5t75HGYd8=; b=h1lmewywlatk8rbceMGZ7CCEdlkVsc4aIZmPCMK98bfHLzWw42WZnIURFAmkn9GaL5 VX5iBWtVYxuGuSSgeDf1n/D85pm8E8rDzPo3VnLiEfQy05nqHnpw1JexSSFPImD+a9HC 33L2e6RUGikp8mnauj8KNwg2riHvdZ7YNJ0YXlhlnmXvR4w/JHcmpmSmXLQR7edTroQU aAqfgGVYfECiFkONluUS3iVPg6bwHrFp7drp9JXfL3Jeqwy2fhrnnitlOzahFlyJ8BFR DWeZjn7PKm6WDWIi7xk2HI5Aq27icoDNMNFQlSqoyn81Q8h2AM+RpR5KUudK+kCyYN7r /Yfw== X-Forwarded-Encrypted: i=1; AJvYcCWpY3r5Rar3QNBy1hBWuBf1AeH/+LeCVIJziCtdvGAEBJGcrxjAsR2TN1P/jDn1Ce2jzPBRkB27cq0jaCTmiNRBPLuPhSqNDcgMU2xO X-Gm-Message-State: AOJu0Yx1/HmY3JDCddlO5sOb+tzxxvjU/vJCjb9vkPxNGgNxUKi0FJGC mVixhqCIC1OS2kzC18XpdYfGSoexmpE+Dbj3cO7CfoqfEi5IM9DFOFlJcBAXe3fn1ZZGyjz78WY log1NGl4+ztQ12TQANzIeocdEu/SpxM0rTdt6Fg== X-Received: by 2002:a25:ef52:0:b0:dcc:eb38:199c with SMTP id w18-20020a25ef52000000b00dcceb38199cmr790117ybm.56.1711484093804; Tue, 26 Mar 2024 13:14:53 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240326-topic-rpm_icc_qos_cleanup-v1-0-357e736792be@linaro.org> <20240326-topic-rpm_icc_qos_cleanup-v1-3-357e736792be@linaro.org> In-Reply-To: <20240326-topic-rpm_icc_qos_cleanup-v1-3-357e736792be@linaro.org> From: Dmitry Baryshkov Date: Tue, 26 Mar 2024 22:14:43 +0200 Message-ID: Subject: Re: [PATCH 3/4] interconnect: qcom: icc-rpm: Make simple functions return void To: Konrad Dybcio Cc: Bjorn Andersson , Georgi Djakov , Shawn Guo , Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Stephan Gerhold Content-Type: text/plain; charset="UTF-8" On Tue, 26 Mar 2024 at 21:43, Konrad Dybcio wrote: > > Register accesses can't just randomly fail. Change the return type of > functions that only do that to void. > > Signed-off-by: Konrad Dybcio > --- > drivers/interconnect/qcom/icc-rpm.c | 110 +++++++++++++++--------------------- > 1 file changed, 47 insertions(+), 63 deletions(-) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry