Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'hsi-for-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi

Pull HSI update from Sebastian Reichel:

- avoid returning free'd object in hsi_new_client error path

* tag 'hsi-for-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi:
HSI: core: Fix return freed object in hsi_new_client

+1
+1
drivers/hsi/hsi_core.c
··· 102 102 if (device_register(&cl->device) < 0) { 103 103 pr_err("hsi: failed to register client: %s\n", info->name); 104 104 put_device(&cl->device); 105 + goto err; 105 106 } 106 107 107 108 return cl;