From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oa1-f50.google.com (mail-oa1-f50.google.com [209.85.160.50]) (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 E5E5233F58E for ; Sat, 18 Jul 2026 11:55:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784375706; cv=none; b=nRrRjVnQTVHaXtcTlWmHAp/mwJ/5rh5ionvI4n4h5Gu8NDVMJNEOMdCyCX66BmH5irLiEErsA1P8jED6FZBxY5K3fmsuyjTw/lLuObDv6oCoejkbaeABNUeSjYJKs5zFV2a+DF6e26IvoxATellzCUAnlvtmwknmUM+TYxPTMw0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784375706; c=relaxed/simple; bh=uL1h+zcBYTdhfJh+Pjb1mkpqWBcpEGzZ2496SPN7xBA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=SqQ9/KwcbDlBa+x1E1w1txBHbzOG7mMayO7f+IMKIM4YvZ8YHxPmfYAvJgtR7jDQ+iKHMmJKqLi/h0KRO5A1TMtbbXGiDxkmeknrEHJcpts5FmXIcL5wGql1yfW6TH/H21/pqagyFxdhUL/e3CwBIsl3oy+MbaRub0KD5B/hWvc= 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=p+IJizRu; arc=none smtp.client-ip=209.85.160.50 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="p+IJizRu" Received: by mail-oa1-f50.google.com with SMTP id 586e51a60fabf-44cedfaab6bso3450958fac.3 for ; Sat, 18 Jul 2026 04:55:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784375704; x=1784980504; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=L0tz/h43xnvUpRXIsTHo/6Kg9VzM1jb7Ry9KU5PShuk=; b=p+IJizRuT+wlIzgsHokbYWeF7YvgZwyyx8sAdzt2lUHe2aGzit+hm0HDRNtaojvEs7 BR9jqHlOYRKFtIuMpIydE5jkBVpQ7fiImiKlNgazr9dmYrkbH3S3Hcpv0ZlLQIVV9/Nm vcZn0U6bpKusVyDqjrgvuZ6gay7vnyUSyVe5S1gIoajHhctGEVeFo5EsuTWQRzB+wNUK q1ZAdBGlL0sezDkA45qHdx6BYPr5ayN5eX0lDWA3uWPNbLQ3KOeugM3Qe9V87T74UQt2 oMuVd5WAerLs8s833RcUbWDFTRC5dNlGR6dy3hV2hv6fGrxd9CLtA1RWIbnmUTM96pdi DAyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784375704; x=1784980504; h=in-reply-to:content-disposition:content-type: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 :content-type; bh=L0tz/h43xnvUpRXIsTHo/6Kg9VzM1jb7Ry9KU5PShuk=; b=oUcPR7rGw+e5o2MUYVS0pkmIg/k2evmA/GAKq3GU80H5d5DXaKm7lUywobDwgJi3SI Ikg73Ry2h4CDkziSgh+RAidgMFKW9t0lkoqNc34TtHFcUCKTfFCWe7t0c6GStokK07m+ Zj5XgFaqLJLTaGRE4QxHe2v7/YDde0SIBVfI9y2QQuVd1pApQwScvp7/QPbRg9t37nRP +ArLnv8RIyz9MRaftC9h2gjCKJjiFLFoCQNzVZaK9qhsuZ6T43qP0bpQfcknWKlJt2ZZ 9J/qfxgdJWi2vVwDickDNq7ge4cM5Gz6FVqm547j4FHm/7khrsSJfqCXJU0emHaJel5g DzxQ== X-Forwarded-Encrypted: i=1; AHgh+RoLXNNovrHm1W6wJjzTJ7SHaXWK/I6PLu9s3ELBNSl8b98xX72ESzGV7Ol5ZdGP47CyAt0QLU6WZHv1DXU=@vger.kernel.org X-Gm-Message-State: AOJu0YzaOyphY8EOA+yNxCV4XvvBmkWtFYYZP6DDXSuFfvBtXwD5ZmBx EVYVZZYdvshHhOkdRjhVtk2TquirxX1H8zN3E4B4/pD7EWcKzTH1B00QjFznyPYOt5k= X-Gm-Gg: AfdE7cmTxSttMcG/fuuI+jQUivT5l77amUnGXz7W7r9T8szsoiex3DMgy6QEBUugYqX Sw0xYWPvxfFUKhVNt5QwgfBHVPl0Dz9IiWx3S+KM9BfB3Yx1GYWWdjF+KsnV+avLtdF1mwdg9Ej D/eQiFm0Y4IGTa3HAL9zLb07WekXtV5rU1M8ow6d39RzJJ02m1ERzCJZjfEoXpnbsxBiRKCUYEM lTaQKLSCvynJjjqvkMTdcTZfYwFsM7NtDFm73TZt8NvG0FNvg+Se21fWxsEAvZiiKZTd2G16Z6K ugNNskd7yQXwbgAf97mt/0lufrQblMuYpHIdnGO3e9Al3SulEFxzA4R1JECXQEv4adSbrMSqGDX iYOtjLgRg+OOV6YUiixZU8hkk0y6APHccJapYE6rTQW5ANo19KcWSpY2FXw4Kl7LG9eMeVQ== X-Received: by 2002:a05:6870:1b83:b0:448:558c:d83e with SMTP id 586e51a60fabf-45690620df5mr3110708fac.35.1784375703743; Sat, 18 Jul 2026 04:55:03 -0700 (PDT) Received: from localhost ([74.80.182.90]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-4568e6a92f5sm3425488fac.15.2026.07.18.04.54.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Jul 2026 04:55:01 -0700 (PDT) Date: Sat, 18 Jul 2026 14:54:55 +0300 From: Dan Carpenter To: Muhammad Bilal Cc: Sudip Mukherjee , Teddy Wang , Greg Kroah-Hartman , linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: sm750fb: fix mono image source stride mismatch in lynxfb_ops_imageblit() Message-ID: References: <20260718045641.468640-1-meatuni001@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Sat, Jul 18, 2026 at 03:38:52PM +0500, Muhammad Bilal wrote: > On Sat, Jul 18, 2026, Dan Carpenter wrote: > > Looks reasonable. Add a Fixes tag. > > > > You have this hardware and are finding these with testing? > > > > It would be better to move the source delta calculation into > > the the sm750_hw_imageblit() since it's just width rounded up > > (or rounded down if you want to be wrong I suppose). > > Thanks for the review. Sending v2 as a separate message since it > came out as a fuller rework rather than a small diff on v1: > > - Added Fixes: 81dee67e215b2 ("staging: sm750fb: add sm750 to > staging"), traced via git blame. The bug has been there, > unchanged, since the original 2015 staging import. > > - No, I don't have this hardware. This was found by auditing > sm750_hw_imageblit()'s internal stride calculation against what > its caller was passing in, and confirmed with a clean "-Werror" > build. No runtime testing on real sm750 silicon. You really need to put this into the commit message. regards, dan carpenter