- 06 3月, 2017 40 次提交
-
-
由 Michael Zoran 提交于
The bcm2835-audio driver is part of v04_services, so it makes sense for it to be located under vc04_services to make configuration clearer. Signed-off-by: NMichael Zoran <mzoran@crowfest.net> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Varsha Rao 提交于
Removed unnecessary blank lines after open brace and before closed braces, to fix the check patch issue. Also removed braces which were not required. Signed-off-by: NVarsha Rao <rvarsha016@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Varsha Rao 提交于
Replaced NULL comparison with pCurrentDviCtrl->pfnInit. This patch fixes the following checkpatch issue: CHECK: Comparison to NULL could be written "pCurrentDviCtrl->pfnInit" Signed-off-by: NVarsha Rao <rvarsha016@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Varsha Rao 提交于
Added spaces around arithmetic operators (/, *), to fix the checkpatch issue. Signed-off-by: NVarsha Rao <rvarsha016@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Varsha Rao 提交于
Removed multiple blank lines, which are not required. This patch fixes the following check patch issues: CHECK: Please don't use multiple blank lines Signed-off-by: NVarsha Rao <rvarsha016@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Varsha Rao 提交于
Added pinit_param as the identifier to function definition argument struct initchip_param and this patch fixes the checkpatch issue. Signed-off-by: NVarsha Rao <rvarsha016@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Varsha Rao 提交于
Line over 80 characters are split to fix the following checkpatch issue: WARNING: line over 80 characters Signed-off-by: NVarsha Rao <rvarsha016@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Varsha Rao 提交于
Added braces around if statement. This patch fixes the following checkpatch issue: CHECK: braces {} should be used on all arms of this statement Signed-off-by: NVarsha Rao <rvarsha016@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Tobin C. Harding 提交于
Function call parameters are split over more lines than necessary. Also assignment statements are split after the '=' sign. This adds extra lines to the function and may also reduces readability. Refactor function call parameters and reduce the number of lines used. Put assignment statements onto single line. Signed-off-by: NTobin C. Harding <me@tobin.cc> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Tobin C. Harding 提交于
Switch statement uses one [trivial] case and a default case holding bulk of code. We can swap the switch statement with an if/return statement as replacement for the original switch. This can be done without changing the program logic. Remove switch statement. Use original switch parameter as conditional and return if conditional evaluates to true. Reduce level of indentation. Do not change the program logic. Signed-off-by: NTobin C. Harding <me@tobin.cc> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Tobin C. Harding 提交于
Logic operator (&&) is place at the start of the line. Kernel standards suggest that logical operators should be placed at the end of the line. Move logical operator to the end of the previous line. Signed-off-by: NTobin C. Harding <me@tobin.cc> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Tobin C. Harding 提交于
Checkpatch emits WARNING: Avoid multiple line dereference. Move dereference onto single line. Signed-off-by: NTobin C. Harding <me@tobin.cc> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Tobin C. Harding 提交于
Function _ks_wlan_hw_power_save has 5 levels of indentation. Reducing the amount of indentation may make code clearer to read. Also a number of other checkpatch warnings may be removed if we first reduce the level of indentation in this function. Invert conditional and return from function if new conditional evaluates to true. Repeat on subsequent conditional. Reduce indentation without changing the program logic. Signed-off-by: NTobin C. Harding <me@tobin.cc> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Tahia Khan 提交于
Change name of str_rssi to rssi_history within the network_info struct for clarity. Signed-off-by: NTahia Khan <tahia.khan@gmail.com> Acked-by: NJulia Lawall <julia.lawall@lip6.fr> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Tahia Khan 提交于
Remove Hungarian notation and camel casing from all tstrRSSI members' names. Additionally, change type of u8Full to bool since it only takes values 1 or 0. Signed-off-by: NTahia Khan <tahia.khan@gmail.com> Acked-by: NJulia Lawall <julia.lawall@lip6.fr> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Tahia Khan 提交于
Rename struct tstrRSSI to rssi_history_buffer for clarity and to remove camel casing. Signed-off-by: NTahia Khan <tahia.khan@gmail.com> Acked-by: NJulia Lawall <julia.lawall@lip6.fr> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Varsha Rao 提交于
BUG_ON() is replaced with WARN_ON() and EINVAL is returned, when WARN_ON() is true. This fixes the following checkpatch issue: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON(). Signed-off-by: NVarsha Rao <rvarsha016@gmail.com> Reviewed-by: NSamuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 James Simmons 提交于
Kill off lnet_kiov_t and use struct bio_vec directly. Signed-off-by: NJames Simmons <uja.ornl@yahoo.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 James Simmons 提交于
The typedef lnet_md_iovec_t is never used so kill it off. Signed-off-by: NJames Simmons <uja.ornl@yahoo.com> Reviewed-on: https://review.whamcloud.com/20831Reviewed-by: NOlaf Weber <olaf@sgi.com> Reviewed-by: NDoug Oucharek <doug.s.oucharek@intel.com> Reviewed-by: NDmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: NOleg Drokin <oleg.drokin@intel.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 James Simmons 提交于
The lnet_seq_t is a simple unsigned long so lets simplify it. Signed-off-by: NJames Simmons <uja.ornl@yahoo.com> Reviewed-on: https://review.whamcloud.com/20831Reviewed-by: NOlaf Weber <olaf@sgi.com> Reviewed-by: NDoug Oucharek <doug.s.oucharek@intel.com> Reviewed-by: NDmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: NOleg Drokin <oleg.drokin@intel.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 James Simmons 提交于
Change lnet_ack_req_t from typedef to proper enum. Signed-off-by: NJames Simmons <uja.ornl@yahoo.com> Reviewed-on: https://review.whamcloud.com/20831Reviewed-by: NOlaf Weber <olaf@sgi.com> Reviewed-by: NDoug Oucharek <doug.s.oucharek@intel.com> Reviewed-by: NDmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: NOleg Drokin <oleg.drokin@intel.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 James Simmons 提交于
Change lnet_event_kind_t from typedef to proper enum. Signed-off-by: NJames Simmons <uja.ornl@yahoo.com> Reviewed-on: https://review.whamcloud.com/20831Reviewed-by: NOlaf Weber <olaf@sgi.com> Reviewed-by: NDoug Oucharek <doug.s.oucharek@intel.com> Reviewed-by: NDmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: NOleg Drokin <oleg.drokin@intel.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 James Simmons 提交于
Change lnet_ins_pos_t from typedef to proper enum. Signed-off-by: NJames Simmons <uja.ornl@yahoo.com> Reviewed-on: https://review.whamcloud.com/20831Reviewed-by: NOlaf Weber <olaf@sgi.com> Reviewed-by: NDoug Oucharek <doug.s.oucharek@intel.com> Reviewed-by: NDmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: NOleg Drokin <oleg.drokin@intel.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 James Simmons 提交于
Change lnet_unlink_t from typedef to proper enum. Signed-off-by: NJames Simmons <uja.ornl@yahoo.com> Reviewed-on: https://review.whamcloud.com/20831Reviewed-by: NOlaf Weber <olaf@sgi.com> Reviewed-by: NDoug Oucharek <doug.s.oucharek@intel.com> Reviewed-by: NDmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: NOleg Drokin <oleg.drokin@intel.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 James Simmons 提交于
Change lnet_msg_type_t from typedef to proper enum. Signed-off-by: NJames Simmons <uja.ornl@yahoo.com> Reviewed-on: https://review.whamcloud.com/20831Reviewed-by: NOlaf Weber <olaf@sgi.com> Reviewed-by: NDoug Oucharek <doug.s.oucharek@intel.com> Reviewed-by: NDmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: NOleg Drokin <oleg.drokin@intel.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 James Simmons 提交于
Change lnet_process_id_t from typedef to proper structure. Signed-off-by: NJames Simmons <uja.ornl@yahoo.com> Reviewed-on: https://review.whamcloud.com/20831Reviewed-by: NOlaf Weber <olaf@sgi.com> Reviewed-by: NDoug Oucharek <doug.s.oucharek@intel.com> Reviewed-by: NDmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: NOleg Drokin <oleg.drokin@intel.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 James Simmons 提交于
Change lnet_event_t from typedef to proper structure. Signed-off-by: NJames Simmons <uja.ornl@yahoo.com> Reviewed-on: https://review.whamcloud.com/20831Reviewed-by: NOlaf Weber <olaf@sgi.com> Reviewed-by: NDoug Oucharek <doug.s.oucharek@intel.com> Reviewed-by: NDmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: NOleg Drokin <oleg.drokin@intel.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 James Simmons 提交于
Change lnet_md_t from typedef to proper structure. Signed-off-by: NJames Simmons <uja.ornl@yahoo.com> Reviewed-on: https://review.whamcloud.com/20831Reviewed-by: NOlaf Weber <olaf@sgi.com> Reviewed-by: NDoug Oucharek <doug.s.oucharek@intel.com> Reviewed-by: NDmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: NOleg Drokin <oleg.drokin@intel.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 James Simmons 提交于
Change lnet_counter_t from typedef to proper structure. Signed-off-by: NJames Simmons <uja.ornl@yahoo.com> Reviewed-on: https://review.whamcloud.com/20831Reviewed-by: NOlaf Weber <olaf@sgi.com> Reviewed-by: NDoug Oucharek <doug.s.oucharek@intel.com> Reviewed-by: NDmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: NOleg Drokin <oleg.drokin@intel.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 James Simmons 提交于
The LNET_MATCH* flags are an enum without a name. Lets label that enum. Signed-off-by: NJames Simmons <uja.ornl@yahoo.com> Reviewed-on: https://review.whamcloud.com/20831Reviewed-by: NOlaf Weber <olaf@sgi.com> Reviewed-by: NDoug Oucharek <doug.s.oucharek@intel.com> Reviewed-by: NDmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: NOleg Drokin <oleg.drokin@intel.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 James Simmons 提交于
Change lnet_t from typedef to proper structure. Signed-off-by: NJames Simmons <uja.ornl@yahoo.com> Reviewed-on: https://review.whamcloud.com/20831Reviewed-by: NOlaf Weber <olaf@sgi.com> Reviewed-by: NDoug Oucharek <doug.s.oucharek@intel.com> Reviewed-by: NDmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: NOleg Drokin <oleg.drokin@intel.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 James Simmons 提交于
Change lnet_portal_t from typedef to proper structure. Signed-off-by: NJames Simmons <uja.ornl@yahoo.com> Reviewed-on: https://review.whamcloud.com/20831Reviewed-by: NOlaf Weber <olaf@sgi.com> Reviewed-by: NDoug Oucharek <doug.s.oucharek@intel.com> Reviewed-by: NDmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: NOleg Drokin <oleg.drokin@intel.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 James Simmons 提交于
Change lnet_rtrbuf_t from typedef to proper structure. Signed-off-by: NJames Simmons <uja.ornl@yahoo.com> Reviewed-on: https://review.whamcloud.com/20831Reviewed-by: NOlaf Weber <olaf@sgi.com> Reviewed-by: NDoug Oucharek <doug.s.oucharek@intel.com> Reviewed-by: NDmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: NOleg Drokin <oleg.drokin@intel.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 James Simmons 提交于
Change lnet_rtrbufpool_t from typedef to proper structure. Signed-off-by: NJames Simmons <uja.ornl@yahoo.com> Reviewed-on: https://review.whamcloud.com/20831Reviewed-by: NOlaf Weber <olaf@sgi.com> Reviewed-by: NDoug Oucharek <doug.s.oucharek@intel.com> Reviewed-by: NDmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: NOleg Drokin <oleg.drokin@intel.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 James Simmons 提交于
Change lnet_remotenet_t from typedef to proper structure. Signed-off-by: NJames Simmons <uja.ornl@yahoo.com> Reviewed-on: https://review.whamcloud.com/20831Reviewed-by: NOlaf Weber <olaf@sgi.com> Reviewed-by: NDoug Oucharek <doug.s.oucharek@intel.com> Reviewed-by: NDmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: NOleg Drokin <oleg.drokin@intel.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 James Simmons 提交于
Change lnet_route_t from typedef to proper structure. Signed-off-by: NJames Simmons <uja.ornl@yahoo.com> Reviewed-on: https://review.whamcloud.com/20831Reviewed-by: NOlaf Weber <olaf@sgi.com> Reviewed-by: NDoug Oucharek <doug.s.oucharek@intel.com> Reviewed-by: NDmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: NOleg Drokin <oleg.drokin@intel.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 James Simmons 提交于
Change lnet_peer_t from typedef to proper structure. Signed-off-by: NJames Simmons <uja.ornl@yahoo.com> Reviewed-on: https://review.whamcloud.com/20831Reviewed-by: NOlaf Weber <olaf@sgi.com> Reviewed-by: NDoug Oucharek <doug.s.oucharek@intel.com> Reviewed-by: NDmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: NOleg Drokin <oleg.drokin@intel.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 James Simmons 提交于
Change lnet_rc_data_t from typedef to proper structure. Signed-off-by: NJames Simmons <uja.ornl@yahoo.com> Reviewed-on: https://review.whamcloud.com/20831Reviewed-by: NOlaf Weber <olaf@sgi.com> Reviewed-by: NDoug Oucharek <doug.s.oucharek@intel.com> Reviewed-by: NDmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: NOleg Drokin <oleg.drokin@intel.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 James Simmons 提交于
Change lnet_ni_t from typedef to proper structure. Signed-off-by: NJames Simmons <uja.ornl@yahoo.com> Reviewed-on: https://review.whamcloud.com/20831Reviewed-by: NOlaf Weber <olaf@sgi.com> Reviewed-by: NDoug Oucharek <doug.s.oucharek@intel.com> Reviewed-by: NDmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: NOleg Drokin <oleg.drokin@intel.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 James Simmons 提交于
Change lnd_t from typedef to proper structure. Signed-off-by: NJames Simmons <uja.ornl@yahoo.com> Reviewed-on: https://review.whamcloud.com/20831Reviewed-by: NOlaf Weber <olaf@sgi.com> Reviewed-by: NDoug Oucharek <doug.s.oucharek@intel.com> Reviewed-by: NDmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: NOleg Drokin <oleg.drokin@intel.com> Signed-off-by: NJames Simmons <jsimmons@infradead.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-