RE: [PATCH v2] tools/hv: Add memory allocation check in hv_fcopy_start

2024-08-30 Thread Dexuan Cui
> From: Zhu Jun > Sent: Wednesday, August 28, 2024 7:45 PM > @@ -296,6 +296,18 @@ static int hv_fcopy_start(struct hv_start_fcopy > *smsg_in) > file_name = (char *)malloc(file_size * sizeof(char)); > path_name = (char *)malloc(path_size * sizeof(char)); > > +if (!file_name) {

RE: [PATCH V3 net] net: mana: Fix error handling in mana_create_txq/rxq's NAPI cleanup

2024-08-30 Thread Haiyang Zhang
> -Original Message- > From: Shradha Gupta > Sent: Friday, August 30, 2024 2:14 AM > To: Souradeep Chakrabarti > Cc: KY Srinivasan ; Haiyang Zhang > ; wei@kernel.org; Dexuan Cui > ; da...@davemloft.net; Long Li > ; ssen...@linux.microsoft.com; linux- > hyp...@vger.kernel.org; net...@v