From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next 00/14] sctp: remove typedefs from structures part 6 Date: Fri, 11 Aug 2017 10:03:49 -0700 (PDT) Message-ID: <20170811.100349.419260692188420889.davem@davemloft.net> References: Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, linux-sctp@vger.kernel.org, marcelo.leitner@gmail.com, nhorman@tuxdriver.com To: lucien.xin@gmail.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:55576 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752915AbdHKRD6 (ORCPT ); Fri, 11 Aug 2017 13:03:58 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: From: Xin Long Date: Fri, 11 Aug 2017 10:23:44 +0800 > As we know, typedef is suggested not to use in kernel, even checkpatch.pl > also gives warnings about it. Now sctp is using it for many structures. > > All this kind of typedef's using should be removed. This patchset is the > part 6 to remove all typedefs in include/net/sctp/structs.h, command.h > and sm.h. > > Just as the part 1-5, No any code's logic would be changed in these patches, > only cleaning up. > > Note that this is the last part for this typedef cleaning up. after this > patchset, no more inappropriate typedefs in sctp. It's also to tidy some > codes when removing them, like fixing many indents, reodering some local > params, especially in the last 2 patches. Series applied, thanks Xin.