From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B5AAC33CB1 for ; Tue, 14 Jan 2020 15:10:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0BED224680 for ; Tue, 14 Jan 2020 15:10:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579014602; bh=5A8s18n5TTB7Q56nykLnKXFsEQVAbBeijgOYO3qJcVw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=zEywOKxYFAE/qiFvBoRMNsTZsZiYLQzsU1bdu62umzID8Y6KvaiGQDR4vzFZI6m06 lpv5fwPpkuzjuWRTXQ8IgX+OGChXEKUn1btuJW4qTt4VvGTpKeREmSdkUU6GgVBL9x AKDlloxU6/dbAfjGkhxizkC1FKGEH0bqQYB53rfY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729187AbgANPKB (ORCPT ); Tue, 14 Jan 2020 10:10:01 -0500 Received: from mail.kernel.org ([198.145.29.99]:52408 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726297AbgANPKA (ORCPT ); Tue, 14 Jan 2020 10:10:00 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 307D12467D; Tue, 14 Jan 2020 15:09:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579014599; bh=5A8s18n5TTB7Q56nykLnKXFsEQVAbBeijgOYO3qJcVw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ld+2kef90NSp9PSe7NiX8A+1kvEnV8dxIAOiJBsIT1rR1vkx4NhqKDJ9vLXoCJXxZ Rw0kF1Q6YvBoDoGw2rPTJ3s6HJDrFuYtTiLxfkmpbuUqesjksgZRY1zkwOy7UFgKsm x9kTU4rZcfGBHsO02DqnUd/hMdHsOwMOiN4DlAmc= Date: Tue, 14 Jan 2020 16:09:56 +0100 From: Greg Kroah-Hartman To: Arnaud Pouliquen Cc: "Rafael J . Wysocki" , linux-kernel@vger.kernel.org Subject: Re: [PATCH] component: fix debugfs. Message-ID: <20200114150956.GA1977145@kroah.com> References: <20191218141207.23156-1-arnaud.pouliquen@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191218141207.23156-1-arnaud.pouliquen@st.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 18, 2019 at 03:12:07PM +0100, Arnaud Pouliquen wrote: > In component_devices_show function, the data field > of the component_match_array structure can not match with the > device structure type. As mentioned in component_match_add_release > description, data field type is undefined. This can result to an > unexpected print or can generate an overflow. > Seems no generic way to get the component name, so this patch > prints the component device name only if registered. > > Signed-off-by: Arnaud Pouliquen Good catch, someone else fixed this right before you did, so I'll queue up that patch, thanks. greg k-h