From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AE5CE304972; Fri, 24 Apr 2026 09:49:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777024161; cv=none; b=Vzga40yz6BQGzOTwcVnmrnKcxXO0bIf/5yCe9cMKu/F7hW8H9miSPw+UojBrabFrA4Fghp/LZ6Aq+VRlB5N3omyov/ZZkh6V1YGR5D1A0ihoAcueTfE0XAmmOnAbUNdym7EWpnFJlnynt4pTiOzOldazwl+VwXzFHQYsGJ6tHhY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777024161; c=relaxed/simple; bh=bCmMLd7TT625UC3cRQD0EElDDVxXsrbMw+gPrcqFMLQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Wn6zm98/b/LIKInhD30Px1Zvr0cY+Jqtqib+ggZ1zxRfn4wvJqBpbq0Ux4KM+Hn5PL/Zh7+rxzjLDwVTSwg5QcFdKueagVOLHmaC+v9ZijdjHcTQg68xPB79s+rO98U6imnV0ei+NET6l74x5ykkcuxfAvzlWbwuyfCkn1xoSDA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WZ+KVMEk; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="WZ+KVMEk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 16482C2BCB4; Fri, 24 Apr 2026 09:49:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777024161; bh=bCmMLd7TT625UC3cRQD0EElDDVxXsrbMw+gPrcqFMLQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WZ+KVMEkBBHUpNlYmU5IIWtbtyf5QXsuQgX+/QHw0x7cJVo3iVTPDkQXxixA+EQap 5fqnQ2S+GdO+sKzfQwN/40mcbooHmjK4P2TQyEAAVLtASArBnHm62P0MirKywSsvW6 68xNHyXhihYSVy9ZQKT6UXp1EpM5OWQokJyYBIiY= Date: Fri, 24 Apr 2026 11:49:19 +0200 From: Greg KH To: Alexandru Hossu Cc: Andy Shevchenko , andy@kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: fbtft: fbtft-bus: replace function-defining macro with concrete functions Message-ID: <2026042402-dictation-curtly-8267@gregkh> References: <20260424092818.3322248-1-hossu.alexandru@gmail.com> <69eb3b01.5d0a0220.3c3ebd.f35b@mx.google.com> Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <69eb3b01.5d0a0220.3c3ebd.f35b@mx.google.com> On Fri, Apr 24, 2026 at 09:40:48AM -0000, Alexandru Hossu wrote: > On Fri, Apr 24, 2026 at 12:38:45PM +0300, Andy Shevchenko wrote: > > I'm not sure this patch improves the code. What I see it's harder to follow. > > NAK. > > Fair point. Three near-identical functions hide the pattern the macro > makes explicit. I'll drop this approach. > > If there's appetite for a minimal fix, I can send a v2 that moves > EXPORT_SYMBOL() outside the macro body only, leaving the function > definition untouched. Otherwise I'll leave it as-is and wait for > Greg's take. Please leave as-is, there's nothing wrong with the existing code here. thanks, greg k-h