From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f48.google.com (mail-qv1-f48.google.com [209.85.219.48]) (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 47025423A7E for ; Wed, 10 Jun 2026 15:06:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781103992; cv=none; b=K377TF7qSf96GXMD/gEUULhwQukXXnoQX5Ig249IZhwYkP9lR3vVKzc1f5ULT0atOxCLGKI4pYwZHdrWoBNaCcYGwUeEJ8addn524gpoeDjfyEJ0rPiwcrCjrQoCeML++TviLTwf3amy655madxBR+NsrbI/yeJ0PKRF0DcMCGY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781103992; c=relaxed/simple; bh=n5KY2viCF9d620hXPKRwyH3alTyKCHTYGOkodRCIfnQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=h6QzieQ6KcgyIBvtP0oIDqROwcCersbbjX2az76yUQp4XQm3rL+JIihTtEgJaywyTwm9io79+Dtv0dJ6tlKN9EBv3b0Ssnt7eZ/sg2hdmGNZiID8qaYE2PBJSMlmW17MCEnMhgZFK7xZ3r+xhNYdc5gUwDzo8QX07yyda2JyXz8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=hsZBTJRm; arc=none smtp.client-ip=209.85.219.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="hsZBTJRm" Received: by mail-qv1-f48.google.com with SMTP id 6a1803df08f44-8ce65629acaso77917796d6.3 for ; Wed, 10 Jun 2026 08:06:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781103988; x=1781708788; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=BhXukM9QUkGA+gfv8mb8Arvflyg1/Xv+rebhJGLwPM0=; b=hsZBTJRm4D3zFchuJ4wz+jIufJtI8RUqshiDHyQWlrP4MbSY7QEcE+7p7sFQzrh0ff Rz13+qCF0mhS13CHfQ9nV3BtugwbpGzeaa0vEhTtB+2WJsJ4flHQzzFLVAq+RB4PlEY0 CSHjtLuDSP2i5beSdSBi1q5JJaQ7tiDEy4VmvWLDNfpGgsKxAFdr5S8RS3W1yMaRFw8o TojabuRB4vVP1LOhogGmwwe5gMydD4IbZiPwwT0yVyHEzY35aD3ZyKTmCyhcmtrGPh1x XciqDLjX8lD5Z0owg2t+qrDX4io6zPdY2E+6pCSQff13ZS9RBbFz+6HCDbFCS7Q5gIzA PoRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781103988; x=1781708788; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=BhXukM9QUkGA+gfv8mb8Arvflyg1/Xv+rebhJGLwPM0=; b=Zl3aLqBY/pfUG/uUxQWIAo5belkJ3vbwAgc8qiYdYXFBKq+tH+ZDtOfT8caiikLc/H c6kvZO0BthrpSpxgrJSbQzmS9GEkUFCCf0o0JtAbLA2kIeoVlN78VaK4Ri4lJ5prgu5y PzTSP4NLSPdm50ksGyuntjH27Xz0cbtNtOtzi/rMn+3U01ZxK7vUi6AlwPlQKU/p79rS pVRSSKBO75ryNB3zSi5DAo7MiBp99Fv29Zxs2LkkF0CJjllt4DuRztAUs+IwylHHO3wz G4ROWrC0AewzU9P0UdxN01pLdbyZvceh0MIWC8JMNp4cSmLDGanxAxHNxlcdw4H4haec adAw== X-Forwarded-Encrypted: i=1; AFNElJ89I0oz/hx3TmgmwAyEAe7B2NHTvS4syRYTFyU2vXSQntt0daLWM79ke4I7ObxvHTjlHjRahg2RoyXc@vger.kernel.org X-Gm-Message-State: AOJu0Yx3vGntvgl9nLOTxlxLWyR7rL6LjWA7DqN5BiGvI5v9FUtYTYLy tP04LXGNng2/dxUzywAY1J8zvKyzuxe368aHbhZDBi6Ceww3wRtKSCHK X-Gm-Gg: Acq92OETxIcVa799/CyFVYRYYuPWPJGrPFfq9iuFA/o0UXfgh9kNaJ/8wooQVtZOpBF zwNPp8Mifp8Sg2zqu/kQCXi2rF3NYfDwsFtWAkaD86FQHOU/XTVowIzFIbuqmZsJb0W9N8HADDY JmfAkGlMSx6V/Xcwa/61SIy1WJl3jbhvnrqyDxCUMq/WMN7Mujn3pnpX8t/2ZOgN+YpzvpUVD/x ip9ISzSuTFv4L3qAbijpB8B+9hOLVxzCt7I4CSo6EPrDUSEB71U1konO4G4wKTPoF/DidEgQU/u Ra5++gTozG1mgGjr65vmiPps9d7QXiaLZa2WGWbtDwTvyXgBbkqxaFDO4W7HUVA0t/58DuTNjKC SFrViPHGYjgjgDd2VRpX3xY4ShBnBjK2THqY0gHbaCL+UOEdwtWNzYOEpSry7+B/1mAN2n+dZDh aplVZJKkCiEErTF7IJoB1JFCkD1a7f4IJDwYVTMoQ= X-Received: by 2002:a05:620a:2b4a:b0:912:1:b41c with SMTP id af79cd13be357-915a9a43532mr4135578285a.0.1781103987828; Wed, 10 Jun 2026 08:06:27 -0700 (PDT) Received: from localhost ([43.225.189.119]) by smtp.gmail.com with ESMTPSA id af79cd13be357-9158a3d2384sm2460658185a.39.2026.06.10.08.06.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jun 2026 08:06:26 -0700 (PDT) Date: Wed, 10 Jun 2026 18:06:20 +0300 From: Dan Carpenter To: Niklas =?iso-8859-1?Q?S=F6derlund?= Cc: dumitru.ceclan@analog.com, Tomi Valkeinen , Mauro Carvalho Chehab , Sakari Ailus , Laurent Pinchart , Julien Massot , Rob Herring , Greg Kroah-Hartman , mitrutzceclan@gmail.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-staging@lists.linux.dev, linux-gpio@vger.kernel.org, Martin Hecht , Cosmin Tanislav , Cory Keitz Subject: Re: [PATCH v13 17/22] media: i2c: maxim-serdes: add MAX96724 driver Message-ID: References: <20260604-gmsl2-3_serdes-v13-0-9d8a4919983b@analog.com> <20260604-gmsl2-3_serdes-v13-17-9d8a4919983b@analog.com> <20260610144242.GF2948@ragnatech.se> Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20260610144242.GF2948@ragnatech.se> On Wed, Jun 10, 2026 at 04:42:42PM +0200, Niklas Söderlund wrote: > Hi, > > Thanks for your work. > > This patch gives me new compiler warnings, can they be avoided? > > .../max96724.c:402 max96724_log_phy_status() warn: subtract is higher precedence than shift > .../max96724.c:409 max96724_log_phy_status() warn: subtract is higher precedence than shift > .../max96724.c:588 max96724_init_phy() warn: subtract is higher precedence than shift > .../max96724.c:756 max96724_set_pipe_remap() warn: subtract is higher precedence than shift > .../max96724.c:796 max96724_set_pipe_phy() warn: subtract is higher precedence than shift > .../max96724.c:818 max96724_set_pipe_stream_id() warn: subtract is higher precedence than shift > .../max96724.c:830 max96724_set_pipe_link() warn: subtract is higher precedence than shift > .../max96724.c:942 max96724_set_link_version() warn: subtract is higher precedence than shift > These are Smatch warnings. I appologize for them. I know about them but I haven't looked at them. I'll fix them by the end of the week. regards, dan carpenter