From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (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 B6C7670 for ; Thu, 3 Jun 2021 09:17:03 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id ADE3B60231; Thu, 3 Jun 2021 09:17:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1622711823; bh=KCav+JvpFdv8yvqK8orQkoPhphzYanj9JUINXnx67VQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qm/neZbEPgQSRQBkppuQW4HUSpT7h8BXO2ioYpgMLaUW2/VK6BXkZWylwC3gHl0bW oMhaK42e6bPn+IS7Zfz10KYedfo49vln3sTk2MdK9SdjpyLTgPFnldpbyMpr4qNG5y /D9HgqCh2qdwWo4qlH2XkcJ4Ii5g3YZRRk219fNw= Date: Thu, 3 Jun 2021 11:17:00 +0200 From: Greg Kroah-Hartman To: Jiabing Wan Cc: Fabio Aiuto , Ross Schmidt , Qiang Ma , Marco Cesati , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: rtl8723bs: core: fix some incorrect type warnings Message-ID: References: <1622708703-8561-1-git-send-email-wanjiabing@vivo.com> 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: On Thu, Jun 03, 2021 at 04:36:55PM +0800, Jiabing Wan wrote: > > > Hi,all > > I fix these warnings by refering other patches. > > Actually, I don't understand clearly what I did. > > But there are no warnings after this fix. > > So if this fix were totally wrong, please told me and > gave me some suggestions. > > It is important for me to fix a sparse bug. Do not fix sparse bugs just for the sake of fixing sparse bugs. Fix things you know are needed to be fixed. Please look closer at this to ensure that you really are fixing this correctly and understand what you are doing before sending it out. thanks, greg k-h