This is the 5.4.171 stable release

-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmHdkukACgkQONu9yGCS
 aT603g//ccLC+vkVzgTbUMwzqUU8uPIU5lynV2sXJZ/M5erf207vLVMn1XCFkfB3
 oMQHFWaWO1HjSA4LGYi+046t7SXlpuuDMwnAqyTl5AogOp7UE4ke5bi6NlX08vJp
 a4tpKNHhUEvlF5eUfGG89raTmPt9PchBN0+T4d7PYOQH0BzHMNOUmRcbBljJEtTp
 LNKUqMPEQin1v22PQ6H1fw7Obmsgd8MP/UFF/LJwXZxr11kusSXc9/GNXeUpQhkk
 5quP+73tCXzXvaeffbYP0sdO2hZ1g5tveUX/9eJFFRb0YU53LG5pQvoMn76+vbXj
 C5/ai5p7nqLB0pnEv52VCIKIHUGX383SSNVReeQX2co3A4OEAHCHFCboi//T8vUj
 nT+wpEaftQmDTjcYPmjS66gZbWf0tMKP2eYkiBkWp8fs3nodTvjYN5XZQY/6xuQM
 QRDSjiXLjUJGAGRjyu82djYFJoHMLPIaOQwoB6s1/tMBwhydHO4J/ZyT9GMih9qf
 A7RykxlbBIRXlM4EOm7s8NRej4vSZEnvr/IMBFBaVY0Sy+oTzo2zUzZdGhDiY2ur
 pl48XTSqT+Fy2rASe7faTnbLHjs5bF0hixr7Q6InJXK3VNWq4ABO34LRpybaHVJf
 kuioB8zDBqIu4cZdqYaLaLLGV4cZyQmE2QSQx1wCcg0j428pBCg=
 =tusw
 -----END PGP SIGNATURE-----

Merge 5.4.171 into android11-5.4-lts

Changes in 5.4.171
	f2fs: quota: fix potential deadlock
	Input: touchscreen - Fix backport of a02dcde595f7cbd240ccd64de96034ad91cffc40
	selftests: x86: fix [-Wstringop-overread] warn in test_process_vm_readv()
	tracing: Fix check for trace_percpu_buffer validity in get_trace_buf()
	tracing: Tag trace_percpu_buffer as a percpu pointer
	ieee802154: atusb: fix uninit value in atusb_set_extended_addr
	iavf: Fix limit of total number of queues to active queues of VF
	RDMA/core: Don't infoleak GRH fields
	RDMA/uverbs: Check for null return of kmalloc_array
	mac80211: initialize variable have_higher_than_11mbit
	i40e: fix use-after-free in i40e_sync_filters_subtask()
	i40e: Fix for displaying message regarding NVM version
	i40e: Fix incorrect netdev's real number of RX/TX queues
	ipv4: Check attribute length for RTA_GATEWAY in multipath route
	ipv4: Check attribute length for RTA_FLOW in multipath route
	ipv6: Check attribute length for RTA_GATEWAY in multipath route
	ipv6: Check attribute length for RTA_GATEWAY when deleting multipath route
	lwtunnel: Validate RTA_ENCAP_TYPE attribute length
	batman-adv: mcast: don't send link-local multicast to mcast routers
	sch_qfq: prevent shift-out-of-bounds in qfq_init_qdisc
	net: phy: micrel: set soft_reset callback to genphy_soft_reset for KSZ8081
	xfs: map unwritten blocks in XFS_IOC_{ALLOC,FREE}SP just like fallocate
	power: supply: core: Break capacity loop
	power: reset: ltc2952: Fix use of floating point literals
	rndis_host: support Hytera digital radios
	phonet: refcount leak in pep_sock_accep
	ipv6: Continue processing multipath route even if gateway attribute is invalid
	ipv6: Do cleanup if attribute validation fails in multipath route
	usb: mtu3: fix interval value for intr and isoc
	scsi: libiscsi: Fix UAF in iscsi_conn_get_param()/iscsi_conn_teardown()
	ip6_vti: initialize __ip6_tnl_parm struct in vti6_siocdevprivate
	net: udp: fix alignment problem in udp4_seq_show()
	atlantic: Fix buff_ring OOB in aq_ring_rx_clean
	mISDN: change function names to avoid conflicts
	Linux 5.4.171

Signed-off-by: Greg Kroah-Hartman <[email protected]>
Change-Id: I365c9b88d2ba4746b4477d5a47ca5604cd1ea156
This commit is contained in:
Greg Kroah-Hartman 2022-01-11 15:44:37 +01:00
commit 22411ee1ad
32 changed files with 216 additions and 64 deletions

View file

@ -160,8 +160,8 @@ static void ltc2952_poweroff_kill(void)
static void ltc2952_poweroff_default(struct ltc2952_poweroff *data)
{
data->wde_interval = 300L * 1E6L;
data->trigger_delay = ktime_set(2, 500L*1E6L);
data->wde_interval = 300L * NSEC_PER_MSEC;
data->trigger_delay = ktime_set(2, 500L * NSEC_PER_MSEC);
hrtimer_init(&data->timer_trigger, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
data->timer_trigger.function = ltc2952_poweroff_timer_trigger;

View file

@ -807,6 +807,10 @@ power_supply_find_ocv2cap_table(struct power_supply_battery_info *info,
return NULL;
for (i = 0; i < POWER_SUPPLY_OCV_TEMP_MAX; i++) {
/* Out of capacity tables */
if (!info->ocv_table[i])
break;
temp_diff = abs(info->ocv_temp[i] - temp);
if (temp_diff < best_temp_diff) {